Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.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.DryAirNasa,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.DryAirNasa") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,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.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 95.64 kB / 16.94 MB, free: 5.98 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.001033/0.001033, allocations: 180.1 kB / 17.82 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.313/1.313, allocations: 205.4 MB / 224 MB, free: 13.17 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.0004528/0.0004528, allocations: 12 kB / 280.8 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09375/0.09421, allocations: 47.59 MB / 328.3 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.3403/0.4345, allocations: 137.3 MB / 465.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002466/0.4371, allocations: 1.944 MB / 467.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001893/0.4373, allocations: 0 / 467.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004974/0.4378, allocations: 143.3 kB / 467.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006295/0.4384, allocations: 271.2 kB / 468 MB, free: 13.16 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007078/0.4391, allocations: 285.8 kB / 468.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000532/0.4397, allocations: 490.9 kB / 468.7 MB, free: 12.4 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.4399, allocations: 65.19 kB / 468.8 MB, free: 12.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008579/0.4407, allocations: 434.8 kB / 469.2 MB, free: 11.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002411/0.441, allocations: 171.4 kB / 469.4 MB, free: 11.74 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.02e-05/0.441, allocations: 20 kB / 469.4 MB, free: 11.72 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002789/0.4413, allocations: 111.8 kB / 469.5 MB, free: 11.61 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.4414, allocations: 75.78 kB / 469.6 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.478e-05/0.4415, allocations: 89.58 kB / 469.7 MB, free: 11.45 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004262/0.4419, allocations: 389.7 kB / 470 MB, free: 11.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.442, allocations: 0 / 470 MB, free: 11.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.442, allocations: 0 / 470 MB, free: 11.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.442, allocations: 0 / 470 MB, free: 11.07 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.0007828/0.4428, allocations: 0.519 MB / 470.6 MB, free: 10.5 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.4428, allocations: 12.03 kB / 470.6 MB, free: 10.49 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002953/0.4431, allocations: 47.61 kB / 470.6 MB, free: 10.44 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003748/0.4435, allocations: 266.6 kB / 470.9 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.4435, allocations: 16.56 kB / 470.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.442e-05/0.4436, allocations: 27.91 kB / 470.9 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005056/0.4441, allocations: 323.6 kB / 471.2 MB, free: 9.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.4441, allocations: 0 / 471.2 MB, free: 9.75 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.711e-05/0.4442, allocations: 12 kB / 471.3 MB, free: 9.738 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.4442, allocations: 11.95 kB / 471.3 MB, free: 9.727 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003384/0.4445, allocations: 201.6 kB / 471.5 MB, free: 9.531 MB / 366.1 MB 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.001786/0.4463, allocations: 1.577 MB / 473 MB, free: 7.805 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002896/0.4466, allocations: 170.7 kB / 473.2 MB, free: 7.629 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.651e-05/0.4467, allocations: 12 kB / 473.2 MB, free: 7.617 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.4467, allocations: 34.55 kB / 473.2 MB, free: 7.574 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.292e-06/0.4467, allocations: 0 / 473.2 MB, free: 7.574 MB / 366.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.005333/0.4521, allocations: 1.64 MB / 474.9 MB, free: 5.805 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.4521, allocations: 55.41 kB / 474.9 MB, free: 5.738 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000271/0.4524, allocations: 252.9 kB / 475.2 MB, free: 5.484 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.598e-05/0.4524, allocations: 33.69 kB / 475.2 MB, free: 5.445 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.4525, allocations: 168.3 kB / 475.4 MB, free: 5.273 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.28e-05/0.4526, allocations: 102.5 kB / 475.5 MB, free: 5.172 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.897e-05/0.4526, allocations: 4 kB / 475.5 MB, free: 5.168 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.4528, allocations: 342.8 kB / 475.8 MB, free: 4.824 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.453, allocations: 87.75 kB / 475.9 MB, free: 4.738 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.4532, allocations: 191.7 kB / 476.1 MB, free: 4.508 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.4534, allocations: 112 kB / 476.2 MB, free: 4.398 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.4534, allocations: 0 / 476.2 MB, free: 4.398 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005977/0.454, allocations: 394.7 kB / 476.6 MB, free: 4 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.454, allocations: 8 kB / 476.6 MB, free: 3.992 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.454, allocations: 0 / 476.6 MB, free: 3.992 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002259/0.4543, allocations: 89.97 kB / 476.7 MB, free: 3.898 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003322/0.4546, allocations: 75.91 kB / 476.8 MB, free: 3.824 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001366/0.456, allocations: 1.86 MB / 478.6 MB, free: 1.809 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002222/0.4562, allocations: 15.91 kB / 478.6 MB, free: 1.793 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.379e-05/0.4563, allocations: 44.27 kB / 478.7 MB, free: 1.75 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: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000223/0.4565, allocations: 161.7 kB / 478.8 MB, free: 1.582 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.837e-05/0.4566, allocations: 27.72 kB / 478.9 MB, free: 1.555 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009093/0.4575, allocations: 442.5 kB / 479.3 MB, free: 1.109 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.4575, allocations: 4 kB / 479.3 MB, free: 1.105 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.564e-06/0.4575, allocations: 0 / 479.3 MB, free: 1.105 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005115/0.458, allocations: 0.5591 MB / 479.9 MB, free: 468 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000929/0.459, allocations: 0.7193 MB / 480.6 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.459, allocations: 8.016 kB / 480.6 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003056/0.4593, allocations: 83.83 kB / 480.7 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.987e-05/0.4594, allocations: 20.83 kB / 480.7 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.628e-05/0.4594, allocations: 12 kB / 480.7 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008165/0.4603, allocations: 1.284 MB / 482 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.4603, allocations: 7.984 kB / 482 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006432/0.4609, allocations: 0.4979 MB / 482.5 MB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.598e-05/0.461, allocations: 104.8 kB / 482.6 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.032e-05/0.4611, allocations: 8 kB / 482.6 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/0.4613, allocations: 15.98 kB / 482.6 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.919e-05/0.4614, allocations: 28 kB / 482.6 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-05/0.4614, allocations: 27.98 kB / 482.7 MB, free: 13.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001678/0.4616, allocations: 190 kB / 482.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4616, allocations: 0 / 482.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004868/0.4621, allocations: 124 kB / 483 MB, free: 13.08 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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.000332/0.4625, allocations: 151.1 kB / 483.1 MB, free: 12.92 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005982/0.4631, allocations: 367.4 kB / 483.5 MB, free: 12.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4631, allocations: 0 / 483.5 MB, free: 12.55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002759/0.4634, allocations: 230.5 kB / 483.7 MB, free: 12.31 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008467/0.4642, allocations: 161 kB / 483.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.4655, allocations: 0.8394 MB / 484.7 MB, free: 11.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003961/0.4659, allocations: 0.7723 MB / 485.5 MB, free: 10.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005457/0.4664, allocations: 114.9 kB / 485.6 MB, free: 10.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002147/0.4666, allocations: 63.41 kB / 485.7 MB, free: 10.32 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4667, allocations: 0 / 485.7 MB, free: 10.32 MB / 382.1 MB Notification: Performance of Templates: time 0.01326/0.4799, allocations: 8.244 MB / 493.9 MB, free: 2.074 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_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/DryAirNasa/DryAirNasa.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches