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.0008879/0.0008881, allocations: 96.81 kB / 16.96 MB, free: 6 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.001056/0.001056, allocations: 182 kB / 17.84 MB, free: 5.652 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.4/1.4, allocations: 205.4 MB / 224 MB, free: 13.16 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.0006916/0.0006917, allocations: 8 kB / 280.8 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1114, allocations: 47.58 MB / 328.4 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.3073/0.4188, allocations: 130.5 MB / 458.9 MB, free: 7.129 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003529/0.4223, allocations: 1.63 MB / 460.5 MB, free: 5.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003788/0.4228, allocations: 8 kB / 460.5 MB, free: 5.484 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007598/0.4235, allocations: 131.2 kB / 460.6 MB, free: 5.355 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008669/0.4244, allocations: 310.5 kB / 460.9 MB, free: 5.051 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.4257, allocations: 334.1 kB / 461.3 MB, free: 4.727 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001852/0.4276, allocations: 1.071 MB / 462.3 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002688/0.4279, allocations: 76.61 kB / 462.4 MB, free: 3.578 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.429, allocations: 350.8 kB / 462.8 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008897/0.4299, allocations: 318.9 kB / 463.1 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.43, allocations: 16 kB / 463.1 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004747/0.4305, allocations: 79.81 kB / 463.2 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002034/0.4307, allocations: 75.72 kB / 463.2 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001688/0.4309, allocations: 85.58 kB / 463.3 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006032/0.4315, allocations: 376.6 kB / 463.7 MB, free: 2.297 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.4315, allocations: 0 / 463.7 MB, free: 2.297 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4315, allocations: 0 / 463.7 MB, free: 2.297 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.4316, allocations: 0 / 463.7 MB, free: 2.297 MB / 350.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.0009989/0.4326, allocations: 0.5424 MB / 464.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.4326, allocations: 8.031 kB / 464.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004521/0.4331, allocations: 43.61 kB / 464.3 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005741/0.4337, allocations: 270.6 kB / 464.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.85e-05/0.4337, allocations: 20.5 kB / 464.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.699e-05/0.4338, allocations: 27.91 kB / 464.6 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007679/0.4346, allocations: 301.4 kB / 464.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.4346, allocations: 4 kB / 464.9 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.13e-05/0.4347, allocations: 12 kB / 464.9 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/0.4347, allocations: 7.953 kB / 464.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005255/0.4352, allocations: 202.1 kB / 465.1 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002429/0.4377, allocations: 1.293 MB / 466.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005389/0.4382, allocations: 183.2 kB / 466.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002228/0.4385, allocations: 85.2 kB / 466.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002062/0.4387, allocations: 174.4 kB / 466.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.4387, allocations: 30.75 kB / 466.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 2.475e-06/0.4387, allocations: 4 kB / 466.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.003564/0.4423, allocations: 1.043 MB / 467.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.4424, allocations: 55.41 kB / 468 MB, free: 13.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004077/0.4428, allocations: 258.5 kB / 468.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.685e-05/0.4429, allocations: 33.7 kB / 468.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.443, allocations: 176.2 kB / 468.4 MB, free: 13.15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.4432, allocations: 94.73 kB / 468.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.919e-05/0.4432, allocations: 4 kB / 468.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.4434, allocations: 338.8 kB / 468.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/0.4436, allocations: 83.69 kB / 468.9 MB, free: 12.63 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002923/0.4439, allocations: 179.8 kB / 469.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002833/0.4442, allocations: 107.9 kB / 469.2 MB, free: 12.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.4443, allocations: 7.938 kB / 469.2 MB, free: 12.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009046/0.4452, allocations: 443.6 kB / 469.7 MB, free: 11.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.4452, allocations: 11.98 kB / 469.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.4452, allocations: 4 kB / 469.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001915/0.4454, allocations: 46.11 kB / 469.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004425/0.4459, allocations: 71.91 kB / 469.8 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002615/0.4485, allocations: 2.572 MB / 472.4 MB, free: 8.863 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003686/0.4489, allocations: 24.05 kB / 472.4 MB, free: 8.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-05/0.449, allocations: 16 kB / 472.4 MB, free: 8.824 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002564/0.4492, allocations: 153.7 kB / 472.5 MB, free: 8.664 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.4494, allocations: 35.62 kB / 472.6 MB, free: 8.629 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008396/0.4502, allocations: 362.8 kB / 472.9 MB, free: 8.242 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.4502, allocations: 0 / 472.9 MB, free: 8.242 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.4502, allocations: 0 / 472.9 MB, free: 8.242 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007706/0.451, allocations: 0.6187 MB / 473.6 MB, free: 7.516 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/0.4525, allocations: 0.7587 MB / 474.3 MB, free: 6.676 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.4525, allocations: 0 / 474.3 MB, free: 6.676 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004057/0.4529, allocations: 51.91 kB / 474.4 MB, free: 6.625 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.362e-05/0.4531, allocations: 20.84 kB / 474.4 MB, free: 6.602 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.252e-05/0.4531, allocations: 11.98 kB / 474.4 MB, free: 6.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001135/0.4542, allocations: 1.282 MB / 475.7 MB, free: 5.176 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.4543, allocations: 4.031 kB / 475.7 MB, free: 5.172 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009146/0.4552, allocations: 0.5185 MB / 476.2 MB, free: 4.613 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.4553, allocations: 100.8 kB / 476.3 MB, free: 4.496 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.071e-05/0.4554, allocations: 8 kB / 476.3 MB, free: 4.488 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003812/0.4558, allocations: 16.06 kB / 476.3 MB, free: 4.473 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.543e-05/0.4559, allocations: 23.91 kB / 476.3 MB, free: 4.449 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.393e-05/0.4559, allocations: 11.98 kB / 476.4 MB, free: 4.438 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002807/0.4562, allocations: 186 kB / 476.5 MB, free: 4.258 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4562, allocations: 0 / 476.5 MB, free: 4.258 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007275/0.4569, allocations: 103.9 kB / 476.6 MB, free: 4.156 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002896/0.4573, allocations: 135.1 kB / 476.8 MB, free: 4.016 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009164/0.4582, allocations: 449.1 kB / 477.2 MB, free: 3.551 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.4582, allocations: 0 / 477.2 MB, free: 3.551 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003851/0.4586, allocations: 215.3 kB / 477.4 MB, free: 3.328 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/0.4599, allocations: 160.4 kB / 477.6 MB, free: 3.172 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.4611, allocations: 0.8105 MB / 478.4 MB, free: 2.336 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004791/0.4616, allocations: 0.7645 MB / 479.2 MB, free: 1.547 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004744/0.4621, allocations: 58.89 kB / 479.2 MB, free: 1.488 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.4623, allocations: 31.42 kB / 479.2 MB, free: 1.457 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4623, allocations: 0 / 479.2 MB, free: 1.457 MB / 366.1 MB Notification: Performance of Templates: time 0.01598/0.4783, allocations: 5.667 MB / 484.9 MB, free: 11.8 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