Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 122.2 kB / 18.5 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 215.1 kB / 21.45 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.667/1.667, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2237/0.2237, allocations: 44.9 MB / 355.8 MB, free: 12.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002679/0.002679, allocations: 67.89 kB / 0.4885 GB, free: 11.72 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1485, allocations: 65.42 MB / 0.5524 GB, free: 10.18 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4788/0.6273, allocations: 152.9 MB / 0.7017 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002222/0.6295, allocations: 1.602 MB / 0.7033 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.877e-05/0.6296, allocations: 0 / 0.7033 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004394/0.6301, allocations: 55.72 kB / 0.7034 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001231/0.6313, allocations: 413.7 kB / 0.7038 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006238/0.6319, allocations: 167.5 kB / 0.7039 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003379/0.6322, allocations: 179.3 kB / 0.7041 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.036e-05/0.6323, allocations: 8 kB / 0.7041 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001925/0.6325, allocations: 79.62 kB / 0.7042 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.6327, allocations: 59.81 kB / 0.7042 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.6327, allocations: 9.953 kB / 0.7042 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001246/0.6339, allocations: 0.6236 MB / 0.7048 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.137e-05/0.634, allocations: 31.91 kB / 0.7049 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.318e-05/0.6341, allocations: 55.72 kB / 0.7049 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006704/0.6348, allocations: 401.2 kB / 0.7053 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.6348, allocations: 0 / 0.7053 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.954e-06/0.6348, allocations: 0 / 0.7053 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.812e-06/0.6348, allocations: 0 / 0.7053 GB, free: 10.77 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0007324/0.6355, allocations: 438.9 kB / 0.7057 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.6355, allocations: 12.03 kB / 0.7057 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.084e-05/0.6356, allocations: 4.375 kB / 0.7057 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.234e-05/0.6356, allocations: 50.67 kB / 0.7058 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002387/0.638, allocations: 197.1 kB / 0.706 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000323/0.6383, allocations: 207.6 kB / 0.7062 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.6383, allocations: 4 kB / 0.7062 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.405e-05/0.6384, allocations: 19.94 kB / 0.7062 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005241/0.6389, allocations: 198.8 kB / 0.7064 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.6389, allocations: 0 / 0.7064 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.793e-05/0.639, allocations: 7.938 kB / 0.7064 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.639, allocations: 4 kB / 0.7064 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006303/0.6396, allocations: 227.9 kB / 0.7066 GB, free: 9.328 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001907/0.6415, allocations: 0.6758 MB / 0.7073 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004783/0.642, allocations: 182.4 kB / 0.7075 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002425/0.6422, allocations: 96.8 kB / 0.7075 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001941/0.6424, allocations: 93.09 kB / 0.7076 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.629e-05/0.6425, allocations: 30.56 kB / 0.7077 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 2.415e-06/0.6425, allocations: 0 / 0.7077 GB, free: 8.168 MB / 0.5137 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.006648/0.6491, allocations: 1.544 MB / 0.7092 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.6492, allocations: 51.41 kB / 0.7092 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.6493, allocations: 113.8 kB / 0.7093 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.924e-05/0.6493, allocations: 29.7 kB / 0.7094 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.474e-05/0.6494, allocations: 100.3 kB / 0.7095 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.895e-05/0.6495, allocations: 75.42 kB / 0.7095 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.6496, allocations: 45.64 kB / 0.7096 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.6497, allocations: 318.8 kB / 0.7099 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002385/0.65, allocations: 87.95 kB / 0.71 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002711/0.6502, allocations: 123.4 kB / 0.7101 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005143/0.6508, allocations: 230.2 kB / 0.7103 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.6508, allocations: 0 / 0.7103 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007594/0.6515, allocations: 282.3 kB / 0.7106 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.6515, allocations: 10.19 kB / 0.7106 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.6515, allocations: 0 / 0.7106 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001894/0.6517, allocations: 28.83 kB / 0.7106 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005339/0.6523, allocations: 55.91 kB / 0.7107 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004608/0.6527, allocations: 0.5368 MB / 0.7112 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000314/0.653, allocations: 11.94 kB / 0.7112 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.644e-05/0.6531, allocations: 19.86 kB / 0.7112 GB, free: 4.332 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001645/0.6532, allocations: 124 kB / 0.7113 GB, free: 4.203 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.682e-05/0.6533, allocations: 7.953 kB / 0.7113 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000826/0.6542, allocations: 324.8 kB / 0.7116 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.6542, allocations: 0 / 0.7116 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.6542, allocations: 0 / 0.7116 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.6542, allocations: 4 kB / 0.7116 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/0.6554, allocations: 0.6758 MB / 0.7123 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.6554, allocations: 0 / 0.7123 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004705/0.6559, allocations: 47.95 kB / 0.7124 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.241e-05/0.656, allocations: 24.88 kB / 0.7124 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/0.656, allocations: 8 kB / 0.7124 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001165/0.6572, allocations: 1.371 MB / 0.7137 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6572, allocations: 3.938 kB / 0.7137 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009433/0.6581, allocations: 447.9 kB / 0.7142 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.783e-05/0.6582, allocations: 85.06 kB / 0.7142 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.552e-05/0.6582, allocations: 11.98 kB / 0.7142 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003457/0.6586, allocations: 8 kB / 0.7143 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.731e-05/0.6586, allocations: 19.91 kB / 0.7143 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.213e-05/0.6587, allocations: 12 kB / 0.7143 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.789e-05/0.6587, allocations: 91.64 kB / 0.7144 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6587, allocations: 0 / 0.7144 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005939/0.6593, allocations: 135.7 kB / 0.7145 GB, free: 0.6758 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001885/0.6612, allocations: 1.141 MB / 0.7156 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006802/0.6619, allocations: 225.8 kB / 0.7158 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.6619, allocations: 0 / 0.7158 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004612/0.6624, allocations: 233.4 kB / 0.7161 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004891/0.6628, allocations: 46.12 kB / 0.7161 GB, free: 15 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0034/0.6662, allocations: 2.141 MB / 0.7182 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.6666, allocations: 0.7124 MB / 0.7189 GB, free: 12 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002942/0.6669, allocations: 53.39 kB / 0.7189 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.6671, allocations: 43.41 kB / 0.719 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of SimCode: time 5.81e-07/0.6671, allocations: 0 / 0.719 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03202/0.6991, allocations: 8.031 MB / 0.7268 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/13.12, allocations: 8.047 kB / 0.7268 GB, free: 4.004 MB / 0.5294 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.51380102499388]