Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001835/0.001835, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00195/0.00195, allocations: 160.8 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.573/1.573, allocations: 177 MB / 204.5 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.346/0.346, allocations: 34.25 MB / 295.2 MB, free: 0.6367 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 377.2 MB, free: 2.871 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.631e-05/4.89e-05, allocations: 4.141 kB / 377.2 MB, free: 2.867 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.4118/0.4119, allocations: 143.5 MB / 0.5085 GB, free: 19.26 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007253/0.4191, allocations: 5.748 MB / 0.5141 GB, free: 15.42 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007307/0.4198, allocations: 26.72 kB / 0.5141 GB, free: 15.41 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.4209, allocations: 320.8 kB / 0.5144 GB, free: 15.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002106/0.423, allocations: 0.9167 MB / 0.5153 GB, free: 14.7 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002826/0.4258, allocations: 1.058 MB / 0.5164 GB, free: 14.17 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00194/0.4277, allocations: 1.84 MB / 0.5182 GB, free: 13.33 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005502/0.4283, allocations: 423.1 kB / 0.5186 GB, free: 13.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00139/0.4297, allocations: 1.001 MB / 0.5195 GB, free: 12.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001026/0.4307, allocations: 0.6987 MB / 0.5202 GB, free: 12.44 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.4308, allocations: 60.75 kB / 0.5203 GB, free: 12.44 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00107/0.4319, allocations: 490.4 kB / 0.5208 GB, free: 12.3 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002477/0.4321, allocations: 296.2 kB / 0.521 GB, free: 12.15 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000346/0.4325, allocations: 288.9 kB / 0.5213 GB, free: 12.04 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001378/0.4339, allocations: 1.215 MB / 0.5225 GB, free: 11.63 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.4339, allocations: 0 / 0.5225 GB, free: 11.63 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4339, allocations: 0 / 0.5225 GB, free: 11.63 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.4339, allocations: 0 / 0.5225 GB, free: 11.63 MB / 410.7 MB 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.001878/0.4358, allocations: 1.142 MB / 0.5236 GB, free: 10.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.4358, allocations: 8.062 kB / 0.5236 GB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004196/0.4362, allocations: 155.5 kB / 0.5238 GB, free: 10.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008037/0.437, allocations: 0.5012 MB / 0.5243 GB, free: 10.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/0.4371, allocations: 148.3 kB / 0.5244 GB, free: 10.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.4372, allocations: 59.61 kB / 0.5245 GB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.4383, allocations: 1.079 MB / 0.5255 GB, free: 9.422 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.442e-05/0.4384, allocations: 7 kB / 0.5255 GB, free: 9.418 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-05/0.4384, allocations: 30.2 kB / 0.5255 GB, free: 9.395 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.029e-05/0.4385, allocations: 40.91 kB / 0.5256 GB, free: 9.391 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007315/0.4392, allocations: 431.2 kB / 0.526 GB, free: 9.277 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00364/0.4429, allocations: 3.798 MB / 0.5297 GB, free: 6.199 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000689/0.4436, allocations: 383.9 kB / 0.5301 GB, free: 6.035 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002448/0.4438, allocations: 161.9 kB / 0.5302 GB, free: 5.973 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002513/0.4441, allocations: 67.69 kB / 0.5303 GB, free: 5.957 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.4441, allocations: 40.09 kB / 0.5303 GB, free: 5.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 2.404e-06/0.4441, allocations: 3.5 kB / 0.5303 GB, free: 5.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.002611/0.4467, allocations: 1.266 MB / 0.5316 GB, free: 5.277 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.4467, allocations: 134.8 kB / 0.5317 GB, free: 5.117 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005224/0.4473, allocations: 0.6381 MB / 0.5323 GB, free: 4.766 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.411e-05/0.4473, allocations: 39.52 kB / 0.5324 GB, free: 4.727 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002072/0.4475, allocations: 442.9 kB / 0.5328 GB, free: 4.363 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.4476, allocations: 186.3 kB / 0.533 GB, free: 4.219 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001878/0.4478, allocations: 165.3 kB / 0.5331 GB, free: 4.129 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.4479, allocations: 0.5754 MB / 0.5337 GB, free: 3.594 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002677/0.4482, allocations: 158.7 kB / 0.5338 GB, free: 3.543 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004797/0.4487, allocations: 0.6774 MB / 0.5345 GB, free: 2.828 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007353/0.4494, allocations: 0.7893 MB / 0.5353 GB, free: 2.125 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.4494, allocations: 6.844 kB / 0.5353 GB, free: 2.121 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001252/0.4507, allocations: 0.8152 MB / 0.5361 GB, free: 1.777 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.4507, allocations: 13.25 kB / 0.5361 GB, free: 1.777 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.4507, allocations: 9 kB / 0.5361 GB, free: 1.777 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001268/0.452, allocations: 277.7 kB / 0.5363 GB, free: 1.715 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003502/0.4523, allocations: 117.2 kB / 0.5365 GB, free: 1.703 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007865/0.4531, allocations: 1.107 MB / 0.5375 GB, free: 0.7812 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004097/0.4535, allocations: 26.25 kB / 0.5376 GB, free: 0.7695 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.446e-05/0.4536, allocations: 38.55 kB / 0.5376 GB, free: 0.7656 MB / 410.7 MB 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.0002268/0.4538, allocations: 251.2 kB / 0.5378 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.4539, allocations: 84.8 kB / 0.5379 GB, free: 0.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/0.455, allocations: 0.6605 MB / 0.5386 GB, free: 200 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.455, allocations: 5.812 kB / 0.5386 GB, free: 200 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.455, allocations: 0 / 0.5386 GB, free: 200 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.455, allocations: 2.672 kB / 0.5386 GB, free: 200 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001973/0.457, allocations: 1.236 MB / 0.5398 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.457, allocations: 9.828 kB / 0.5398 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009496/0.4579, allocations: 196.5 kB / 0.54 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001124/0.4581, allocations: 28.06 kB / 0.54 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.83e-05/0.4581, allocations: 16.22 kB / 0.54 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003165/0.4613, allocations: 3.641 MB / 0.5436 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.4613, allocations: 2.688 kB / 0.5436 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/0.4628, allocations: 0.8766 MB / 0.5444 GB, free: 11.24 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003285/0.4631, allocations: 118.4 kB / 0.5446 GB, free: 11.17 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.191e-05/0.4632, allocations: 16.17 kB / 0.5446 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003503/0.4636, allocations: 19.5 kB / 0.5446 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.476e-05/0.4637, allocations: 38.81 kB / 0.5446 GB, free: 11.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-05/0.4637, allocations: 28.81 kB / 0.5446 GB, free: 11.14 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005172/0.4642, allocations: 398 kB / 0.545 GB, free: 10.93 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4642, allocations: 0 / 0.545 GB, free: 10.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009123/0.4651, allocations: 220.6 kB / 0.5452 GB, free: 10.9 MB / 426.7 MB 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.0004971/0.4656, allocations: 254.6 kB / 0.5455 GB, free: 10.75 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001223/0.4669, allocations: 0.5314 MB / 0.546 GB, free: 10.51 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.4669, allocations: 2.812 kB / 0.546 GB, free: 10.51 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009991/0.4679, allocations: 484.5 kB / 0.5465 GB, free: 10.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001498/0.4694, allocations: 339.3 kB / 0.5468 GB, free: 10.05 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002088/0.4715, allocations: 1.253 MB / 0.548 GB, free: 9.188 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.4718, allocations: 329.7 kB / 0.5483 GB, free: 8.984 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005484/0.4723, allocations: 177.5 kB / 0.5485 GB, free: 8.902 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.4725, allocations: 62.52 kB / 0.5486 GB, free: 8.887 MB / 426.7 MB Notification: Performance of SimCode: time 7.72e-07/0.4725, allocations: 0 / 0.5486 GB, free: 8.887 MB / 426.7 MB Notification: Performance of Templates: time 0.02803/0.5005, allocations: 14.27 MB / 0.5625 GB, free: 11.22 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 5.854141287039965]