Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.001037/0.001037, allocations: 88.2 kB / 20.94 MB, free: 3.605 MB / 18.57 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.00165/0.00165, allocations: 169 kB / 24.24 MB, free: 312 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9378/0.9378, allocations: 158.6 MB / 186 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1669/0.1669, allocations: 32.38 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 347.7 MB, free: 9.766 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.306e-05/3.509e-05, allocations: 9.344 kB / 347.7 MB, free: 9.758 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.3672/0.3672, allocations: 190.1 MB / 0.5252 GB, free: 6.109 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01005/0.3772, allocations: 10.37 MB / 0.5353 GB, free: 11.71 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007251/0.378, allocations: 27.75 kB / 0.5354 GB, free: 11.68 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001132/0.3791, allocations: 429.3 kB / 0.5358 GB, free: 11.26 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005882/0.385, allocations: 2.666 MB / 0.5384 GB, free: 8.582 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00528/0.3903, allocations: 2.747 MB / 0.5411 GB, free: 5.824 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001981/0.3922, allocations: 2.235 MB / 0.5432 GB, free: 3.578 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005932/0.3928, allocations: 0.5449 MB / 0.5438 GB, free: 3.023 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003725/0.3966, allocations: 2.286 MB / 0.546 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008862/0.3974, allocations: 0.8339 MB / 0.5468 GB, free: 15.89 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.3976, allocations: 100 kB / 0.5469 GB, free: 15.8 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006325/0.4039, allocations: 4.783 MB / 0.5516 GB, free: 11 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003718/0.4042, allocations: 474.8 kB / 0.552 GB, free: 10.54 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005276/0.4048, allocations: 403.2 kB / 0.5524 GB, free: 10.14 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004741/0.4095, allocations: 3.985 MB / 0.5563 GB, free: 6.148 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.4095, allocations: 0 / 0.5563 GB, free: 6.148 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.4095, allocations: 0 / 0.5563 GB, free: 6.148 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.4095, allocations: 4 kB / 0.5563 GB, free: 6.145 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002504/0.412, allocations: 1.874 MB / 0.5581 GB, free: 4.227 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.4121, allocations: 8.031 kB / 0.5581 GB, free: 4.219 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003771/0.4125, allocations: 183.2 kB / 0.5583 GB, free: 4.039 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006803/0.4131, allocations: 0.5824 MB / 0.5589 GB, free: 3.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/0.4133, allocations: 172.8 kB / 0.5591 GB, free: 3.234 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.4134, allocations: 72 kB / 0.5591 GB, free: 3.164 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.4146, allocations: 1.254 MB / 0.5604 GB, free: 1.727 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/0.4147, allocations: 11.92 kB / 0.5604 GB, free: 1.715 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.047e-05/0.4147, allocations: 28 kB / 0.5604 GB, free: 1.688 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.452e-05/0.4148, allocations: 61.97 kB / 0.5604 GB, free: 1.625 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008157/0.4156, allocations: 0.5423 MB / 0.561 GB, free: 1.086 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003352/0.419, allocations: 3.781 MB / 0.5647 GB, free: 13.19 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008704/0.4199, allocations: 493.8 kB / 0.5651 GB, free: 12.7 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002809/0.4201, allocations: 189.5 kB / 0.5653 GB, free: 12.51 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005062/0.4206, allocations: 330.3 kB / 0.5656 GB, free: 12.19 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.4207, allocations: 50.05 kB / 0.5657 GB, free: 12.13 MB / 442.7 MB Notification: Performance of pre-optimization done (n=70): time 2.074e-06/0.4207, allocations: 0 / 0.5657 GB, free: 12.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=82): time 0.005031/0.4257, allocations: 2.421 MB / 0.568 GB, free: 9.672 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.726e-05/0.4258, allocations: 111.5 kB / 0.5682 GB, free: 9.539 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004516/0.4262, allocations: 0.5492 MB / 0.5687 GB, free: 8.973 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.255e-05/0.4263, allocations: 41.7 kB / 0.5687 GB, free: 8.926 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002224/0.4265, allocations: 447.1 kB / 0.5692 GB, free: 8.48 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001733/0.4267, allocations: 305.4 kB / 0.5694 GB, free: 8.18 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002201/0.4269, allocations: 212.2 kB / 0.5697 GB, free: 7.965 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.4271, allocations: 0.5547 MB / 0.5702 GB, free: 7.398 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003214/0.4274, allocations: 196.9 kB / 0.5704 GB, free: 7.207 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005151/0.4279, allocations: 0.6275 MB / 0.571 GB, free: 6.41 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008623/0.4288, allocations: 0.8116 MB / 0.5718 GB, free: 5.453 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.4288, allocations: 4 kB / 0.5718 GB, free: 5.449 MB / 442.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001378/0.4301, allocations: 0.9774 MB / 0.5727 GB, free: 4.461 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.4302, allocations: 18.53 kB / 0.5728 GB, free: 4.445 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.4302, allocations: 12.06 kB / 0.5728 GB, free: 4.434 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002918/0.4331, allocations: 0.9854 MB / 0.5737 GB, free: 3.445 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000316/0.4334, allocations: 151.7 kB / 0.5739 GB, free: 3.297 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001039/0.4345, allocations: 1.203 MB / 0.5751 GB, free: 2.062 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003313/0.4348, allocations: 43.98 kB / 0.5751 GB, free: 2.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.113e-05/0.4349, allocations: 55.98 kB / 0.5752 GB, free: 1.965 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 88 * 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 {(3,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0002258/0.4351, allocations: 228.2 kB / 0.5754 GB, free: 1.73 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.4352, allocations: 103.5 kB / 0.5755 GB, free: 1.629 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00147/0.4367, allocations: 1.063 MB / 0.5765 GB, free: 0.5469 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.4367, allocations: 11.98 kB / 0.5765 GB, free: 0.5352 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4367, allocations: 3.938 kB / 0.5765 GB, free: 0.5312 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.4367, allocations: 3.984 kB / 0.5765 GB, free: 0.5273 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001871/0.4386, allocations: 1.599 MB / 0.5781 GB, free: 14.86 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.4386, allocations: 0 / 0.5781 GB, free: 14.86 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008023/0.4394, allocations: 259.5 kB / 0.5783 GB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008562/0.4403, allocations: 259.3 kB / 0.5786 GB, free: 14.35 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.987e-05/0.4403, allocations: 31.92 kB / 0.5786 GB, free: 14.32 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001573/0.4419, allocations: 2.696 MB / 0.5812 GB, free: 11.48 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/0.4419, allocations: 7.953 kB / 0.5813 GB, free: 11.47 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/0.4436, allocations: 1.107 MB / 0.5823 GB, free: 10.32 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003341/0.444, allocations: 199.3 kB / 0.5825 GB, free: 10.12 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.4441, allocations: 20 kB / 0.5825 GB, free: 10.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004612/0.4445, allocations: 44.02 kB / 0.5826 GB, free: 10.06 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.4447, allocations: 76.73 kB / 0.5827 GB, free: 9.984 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-05/0.4448, allocations: 55.95 kB / 0.5827 GB, free: 9.93 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000314/0.4451, allocations: 350.8 kB / 0.583 GB, free: 9.59 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4451, allocations: 4 kB / 0.583 GB, free: 9.586 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001601/0.4467, allocations: 0.7091 MB / 0.5837 GB, free: 8.875 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (82): * Single equations (assignments): 78 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00175/0.4484, allocations: 0.9628 MB / 0.5847 GB, free: 7.914 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001324/0.4498, allocations: 0.6943 MB / 0.5854 GB, free: 7.219 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4498, allocations: 0 / 0.5854 GB, free: 7.219 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009322/0.4507, allocations: 443.9 kB / 0.5858 GB, free: 6.781 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/0.4521, allocations: 457.6 kB / 0.5862 GB, free: 6.344 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003427/0.4556, allocations: 1.723 MB / 0.5879 GB, free: 4.562 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001833/0.4557, allocations: 221.8 kB / 0.5881 GB, free: 4.328 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0006819/0.4564, allocations: 261.6 kB / 0.5884 GB, free: 4.074 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000242/0.4567, allocations: 92.47 kB / 0.5885 GB, free: 3.984 MB / 458.7 MB Notification: Performance of SimCode: time 8.51e-07/0.4567, allocations: 0 / 0.5885 GB, free: 3.984 MB / 458.7 MB Notification: Performance of Templates: time 0.2376/0.6943, allocations: 32.96 MB / 0.6206 GB, free: 59.76 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.962766818003729]