Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007557/0.0007557, allocations: 90.03 kB / 17.3 MB, free: 6.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008823/0.0008822, allocations: 176.7 kB / 18.2 MB, free: 5.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.4 MB / 224.4 MB, free: 13.05 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004963/0.0004964, allocations: 20.41 kB / 281.4 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09953/0.1001, allocations: 47.58 MB / 329 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.3543/0.4545, allocations: 140 MB / 468.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002467/0.457, allocations: 1.698 MB / 470.6 MB, free: 11.49 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002498/0.4573, allocations: 7.938 kB / 470.7 MB, free: 11.48 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000618/0.4579, allocations: 147.3 kB / 470.8 MB, free: 11.34 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005792/0.4585, allocations: 318.4 kB / 471.1 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009954/0.4595, allocations: 393.5 kB / 471.5 MB, free: 10.64 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00133/0.4608, allocations: 1.301 MB / 472.8 MB, free: 9.336 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000215/0.4611, allocations: 78.31 kB / 472.9 MB, free: 9.262 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006986/0.4618, allocations: 350.7 kB / 473.2 MB, free: 8.918 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004397/0.4622, allocations: 338.7 kB / 473.5 MB, free: 8.586 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.855e-05/0.4623, allocations: 16 kB / 473.6 MB, free: 8.57 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003386/0.4626, allocations: 147.7 kB / 473.7 MB, free: 8.426 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.4627, allocations: 79.7 kB / 473.8 MB, free: 8.348 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001836/0.4629, allocations: 196.9 kB / 474 MB, free: 8.148 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004636/0.4634, allocations: 476 kB / 474.4 MB, free: 7.684 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.4634, allocations: 0 / 474.4 MB, free: 7.684 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4634, allocations: 0 / 474.4 MB, free: 7.684 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.4634, allocations: 0 / 474.4 MB, free: 7.684 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007601/0.4642, allocations: 0.5271 MB / 475 MB, free: 7.109 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.4642, allocations: 8.031 kB / 475 MB, free: 7.102 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002835/0.4645, allocations: 44.55 kB / 475 MB, free: 7.059 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000435/0.465, allocations: 283.7 kB / 475.3 MB, free: 6.742 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.213e-05/0.465, allocations: 20.94 kB / 475.3 MB, free: 6.723 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.281e-05/0.4651, allocations: 24.38 kB / 475.3 MB, free: 6.699 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005239/0.4656, allocations: 305.7 kB / 475.6 MB, free: 6.383 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.4656, allocations: 4 kB / 475.6 MB, free: 6.379 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.798e-05/0.4657, allocations: 12 kB / 475.7 MB, free: 6.367 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.4657, allocations: 4 kB / 475.7 MB, free: 6.363 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003274/0.466, allocations: 206.1 kB / 475.9 MB, free: 6.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001728/0.4678, allocations: 1.289 MB / 477.1 MB, free: 4.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003704/0.4682, allocations: 198.5 kB / 477.3 MB, free: 4.547 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.4683, allocations: 88.83 kB / 477.4 MB, free: 4.457 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001408/0.4684, allocations: 174.2 kB / 477.6 MB, free: 4.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.4685, allocations: 34.55 kB / 477.6 MB, free: 4.207 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.392e-06/0.4685, allocations: 0 / 477.6 MB, free: 4.207 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.002378/0.4709, allocations: 1.033 MB / 478.7 MB, free: 3.074 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.4709, allocations: 59.34 kB / 478.7 MB, free: 3.004 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002711/0.4712, allocations: 262.5 kB / 479 MB, free: 2.738 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.623e-05/0.4713, allocations: 33.69 kB / 479 MB, free: 2.699 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.4714, allocations: 176.2 kB / 479.2 MB, free: 2.523 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.417e-05/0.4715, allocations: 98.64 kB / 479.3 MB, free: 2.426 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.806e-05/0.4715, allocations: 29.7 kB / 479.3 MB, free: 2.391 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.4716, allocations: 342.8 kB / 479.6 MB, free: 2.047 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.4718, allocations: 79.75 kB / 479.7 MB, free: 1.969 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.472, allocations: 183.8 kB / 479.9 MB, free: 1.746 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003687/0.4724, allocations: 283.8 kB / 480.2 MB, free: 1.426 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.4724, allocations: 0 / 480.2 MB, free: 1.426 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006156/0.473, allocations: 447.8 kB / 480.6 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.4731, allocations: 4 kB / 480.6 MB, free: 0.957 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.4731, allocations: 7.938 kB / 480.6 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001568/0.4732, allocations: 41.7 kB / 480.7 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003125/0.4736, allocations: 75.89 kB / 480.7 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001874/0.4754, allocations: 2.572 MB / 483.3 MB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002565/0.4757, allocations: 24.06 kB / 483.3 MB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.035e-05/0.4758, allocations: 16 kB / 483.4 MB, free: 13.95 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001799/0.4759, allocations: 159.6 kB / 483.5 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.878e-05/0.476, allocations: 23.72 kB / 483.5 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005414/0.4766, allocations: 366.8 kB / 483.9 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.4766, allocations: 4 kB / 483.9 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/0.4766, allocations: 0 / 483.9 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005088/0.4771, allocations: 0.6149 MB / 484.5 MB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000973/0.4781, allocations: 0.7508 MB / 485.3 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.4781, allocations: 4.031 kB / 485.3 MB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002874/0.4784, allocations: 67.83 kB / 485.3 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.567e-05/0.4785, allocations: 20.84 kB / 485.3 MB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.4785, allocations: 4.875 kB / 485.4 MB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000822/0.4793, allocations: 1.292 MB / 486.6 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4793, allocations: 0 / 486.6 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006574/0.48, allocations: 0.5185 MB / 487.2 MB, free: 9.734 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.309e-05/0.4801, allocations: 100.9 kB / 487.3 MB, free: 9.617 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.847e-05/0.4802, allocations: 8 kB / 487.3 MB, free: 9.609 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/0.4804, allocations: 11.98 kB / 487.3 MB, free: 9.598 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.041e-05/0.4805, allocations: 23.91 kB / 487.3 MB, free: 9.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-05/0.4805, allocations: 15.98 kB / 487.3 MB, free: 9.559 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000184/0.4807, allocations: 186 kB / 487.5 MB, free: 9.379 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4807, allocations: 0 / 487.5 MB, free: 9.379 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005521/0.4813, allocations: 111.9 kB / 487.6 MB, free: 9.27 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (25): * Single equations (assignments): 24 * 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.0002811/0.4816, allocations: 123.9 kB / 487.7 MB, free: 9.141 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006644/0.4822, allocations: 457.1 kB / 488.2 MB, free: 8.668 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4822, allocations: 0 / 488.2 MB, free: 8.668 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002615/0.4825, allocations: 226.4 kB / 488.4 MB, free: 8.434 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.4835, allocations: 161.1 kB / 488.6 MB, free: 8.277 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.4848, allocations: 0.832 MB / 489.4 MB, free: 7.418 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.4851, allocations: 0.7723 MB / 490.2 MB, free: 6.621 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002913/0.4854, allocations: 50.95 kB / 490.2 MB, free: 6.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.663e-05/0.4855, allocations: 31.42 kB / 490.2 MB, free: 6.539 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4855, allocations: 0 / 490.2 MB, free: 6.539 MB / 382.1 MB Notification: Performance of Templates: time 0.01086/0.4964, allocations: 5.886 MB / 496.1 MB, free: 0.6602 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/SimpleAir/SimpleAir.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches