Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.001733/0.001733, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.002295/0.002295, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.425/1.425, allocations: 230.6 MB / 257.5 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.221/0.221, allocations: 46.94 MB / 360.9 MB, free: 4.301 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 63.89 kB / 0.4962 GB, free: 7.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3569, allocations: 66.04 MB / 0.5607 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1907/0.5476, allocations: 151.1 MB / 0.7083 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008485/0.5561, allocations: 5.642 MB / 0.7138 GB, free: 7.09 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000728/0.5569, allocations: 27.75 kB / 0.7138 GB, free: 7.062 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001307/0.5582, allocations: 341.9 kB / 0.7141 GB, free: 6.727 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003102/0.5613, allocations: 0.8902 MB / 0.715 GB, free: 5.832 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003014/0.5643, allocations: 1.059 MB / 0.716 GB, free: 4.781 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002658/0.5669, allocations: 1.821 MB / 0.7178 GB, free: 2.953 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008547/0.5678, allocations: 401.5 kB / 0.7182 GB, free: 2.559 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001747/0.5695, allocations: 0.7825 MB / 0.719 GB, free: 1.773 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001668/0.5712, allocations: 0.7514 MB / 0.7197 GB, free: 1.02 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002822/0.5715, allocations: 60 kB / 0.7198 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001777/0.5733, allocations: 0.5927 MB / 0.7203 GB, free: 376 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005097/0.5738, allocations: 275.1 kB / 0.7206 GB, free: 100 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007952/0.5746, allocations: 398.3 kB / 0.721 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002046/0.5766, allocations: 1.175 MB / 0.7221 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.5766, allocations: 0 / 0.7221 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.133e-06/0.5766, allocations: 0 / 0.7221 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.723e-05/0.5767, allocations: 0 / 0.7221 GB, free: 14.53 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002873/0.5795, allocations: 0.9989 MB / 0.7231 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.5796, allocations: 8.031 kB / 0.7231 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000205/0.5798, allocations: 102.7 kB / 0.7232 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004123/0.5802, allocations: 100.4 kB / 0.7233 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.5812, allocations: 478.8 kB / 0.7238 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001547/0.5814, allocations: 152.4 kB / 0.7239 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.5815, allocations: 52.12 kB / 0.724 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.5829, allocations: 0.8176 MB / 0.7248 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/0.5829, allocations: 7.875 kB / 0.7248 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.759e-05/0.583, allocations: 27.98 kB / 0.7248 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.934e-05/0.5831, allocations: 36.97 kB / 0.7248 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.5843, allocations: 0.6479 MB / 0.7255 GB, free: 10.96 MB / 0.5606 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.005436/0.5897, allocations: 3.912 MB / 0.7293 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008742/0.5906, allocations: 412.2 kB / 0.7297 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003479/0.5909, allocations: 189.4 kB / 0.7298 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003038/0.5912, allocations: 72.2 kB / 0.7299 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/0.5913, allocations: 34.89 kB / 0.73 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=40): time 2.184e-06/0.5913, allocations: 0 / 0.73 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45): time 0.003443/0.5947, allocations: 1.402 MB / 0.7313 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.5948, allocations: 136.5 kB / 0.7314 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007652/0.5956, allocations: 0.5655 MB / 0.732 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.452e-05/0.5956, allocations: 37.7 kB / 0.732 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003209/0.596, allocations: 363.8 kB / 0.7324 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001687/0.5961, allocations: 166.6 kB / 0.7325 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002207/0.5963, allocations: 150.6 kB / 0.7327 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002014/0.5965, allocations: 370.8 kB / 0.733 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003979/0.5969, allocations: 217.9 kB / 0.7332 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007301/0.5977, allocations: 0.5123 MB / 0.7337 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/0.5988, allocations: 0.7601 MB / 0.7345 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/0.5988, allocations: 4 kB / 0.7345 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001787/0.6006, allocations: 0.9104 MB / 0.7354 GB, free: 120 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.6006, allocations: 8.188 kB / 0.7354 GB, free: 112 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.819e-05/0.6006, allocations: 12 kB / 0.7354 GB, free: 100 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2734/0.874, allocations: 283.4 kB / 0.7357 GB, free: 175 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005354/0.8746, allocations: 121.3 kB / 0.7358 GB, free: 175 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001157/0.8757, allocations: 0.8902 MB / 0.7367 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005275/0.8762, allocations: 24.84 kB / 0.7367 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.602e-05/0.8763, allocations: 38.62 kB / 0.7367 GB, free: 174.4 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * 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 {(2,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003701/0.8767, allocations: 252.5 kB / 0.737 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/0.8768, allocations: 69.59 kB / 0.737 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001418/0.8783, allocations: 0.6939 MB / 0.7377 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/0.8783, allocations: 13.78 kB / 0.7377 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.8783, allocations: 4.812 kB / 0.7377 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.8783, allocations: 2.891 kB / 0.7377 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001897/0.8802, allocations: 1.309 MB / 0.739 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.8802, allocations: 4.484 kB / 0.739 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009488/0.8811, allocations: 206.5 kB / 0.7392 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.782e-05/0.8812, allocations: 23.05 kB / 0.7392 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.227e-05/0.8812, allocations: 17.55 kB / 0.7392 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001444/0.8827, allocations: 2.669 MB / 0.7418 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.8827, allocations: 7.875 kB / 0.7419 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.8838, allocations: 0.9384 MB / 0.7428 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002445/0.884, allocations: 131.5 kB / 0.7429 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.001e-05/0.8841, allocations: 15.88 kB / 0.7429 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000353/0.8845, allocations: 14.91 kB / 0.7429 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.561e-05/0.8845, allocations: 38.2 kB / 0.743 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.984e-05/0.8846, allocations: 23.41 kB / 0.743 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003909/0.885, allocations: 432.1 kB / 0.7434 GB, free: 170 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.885, allocations: 0 / 0.7434 GB, free: 170 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007578/0.8857, allocations: 223.5 kB / 0.7436 GB, free: 170 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.001477/0.8872, allocations: 1.63 MB / 0.7452 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009988/0.8882, allocations: 0.5838 MB / 0.7458 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.8882, allocations: 4 kB / 0.7458 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008351/0.8891, allocations: 435.5 kB / 0.7462 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/0.8904, allocations: 378.5 kB / 0.7466 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007015/0.8974, allocations: 6.487 MB / 0.7529 GB, free: 161 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.8977, allocations: 0.9454 MB / 0.7538 GB, free: 160 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005437/0.8983, allocations: 208.8 kB / 0.754 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002458/0.8985, allocations: 239.4 kB / 0.7542 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of SimCode: time 5.71e-07/0.8985, allocations: 0 / 0.7542 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05246/0.951, allocations: 23.19 MB / 0.7769 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.93/14.88, allocations: 7.188 kB / 0.7769 GB, free: 136.7 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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: 17.985015230020508]