Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 175 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 205.4 MB / 222.9 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007103/0.0007103, allocations: 94.39 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003676, allocations: 12 kB / 327.5 MB, free: 15.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.2619, allocations: 47.57 MB / 375.1 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.3803/0.6423, allocations: 157 MB / 0.5196 GB, free: 1.203 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003325/0.6457, allocations: 3.001 MB / 0.5225 GB, free: 1.113 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003677/0.6461, allocations: 4.938 kB / 0.5225 GB, free: 1.113 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005071/0.6466, allocations: 128.8 kB / 0.5227 GB, free: 1.109 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000849/0.6475, allocations: 365.7 kB / 0.523 GB, free: 1.086 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000837/0.6483, allocations: 282 kB / 0.5233 GB, free: 1.074 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001276/0.6496, allocations: 1.118 MB / 0.5244 GB, free: 1.07 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001989/0.6498, allocations: 65.12 kB / 0.5244 GB, free: 1.062 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00206/0.6519, allocations: 0.6978 MB / 0.5251 GB, free: 1.039 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003928/0.6523, allocations: 273 kB / 0.5254 GB, free: 1.039 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.152e-05/0.6523, allocations: 14.34 kB / 0.5254 GB, free: 1.039 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003187/0.6527, allocations: 104.2 kB / 0.5255 GB, free: 1.039 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.6528, allocations: 78.47 kB / 0.5256 GB, free: 1.039 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002399/0.653, allocations: 188 kB / 0.5257 GB, free: 1.008 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004532/0.6535, allocations: 405.9 kB / 0.5261 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.6535, allocations: 2.734 kB / 0.5261 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.6535, allocations: 3.531 kB / 0.5261 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.6535, allocations: 0 / 0.5261 GB, free: 0.9766 MB / 378.7 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.0008685/0.6544, allocations: 0.5134 MB / 0.5266 GB, free: 16.55 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.6545, allocations: 9.375 kB / 0.5267 GB, free: 16.55 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002867/0.6547, allocations: 42.33 kB / 0.5267 GB, free: 16.53 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004074/0.6552, allocations: 289.8 kB / 0.527 GB, free: 16.3 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.6552, allocations: 16.53 kB / 0.527 GB, free: 16.3 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.459e-05/0.6553, allocations: 22.72 kB / 0.527 GB, free: 16.3 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005573/0.6558, allocations: 317.9 kB / 0.5273 GB, free: 16.21 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.6559, allocations: 4.719 kB / 0.5273 GB, free: 16.2 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.079e-05/0.6559, allocations: 15 kB / 0.5273 GB, free: 16.2 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.6559, allocations: 5.844 kB / 0.5273 GB, free: 16.2 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003541/0.6563, allocations: 204.9 kB / 0.5275 GB, free: 16.2 MB / 394.7 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.001836/0.6581, allocations: 1.58 MB / 0.5291 GB, free: 15.01 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002694/0.6584, allocations: 174.1 kB / 0.5292 GB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.6585, allocations: 98.27 kB / 0.5293 GB, free: 14.97 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.635e-05/0.6586, allocations: 3.375 kB / 0.5293 GB, free: 14.97 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.6586, allocations: 41.78 kB / 0.5294 GB, free: 14.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 1.884e-06/0.6586, allocations: 0 / 0.5294 GB, free: 14.93 MB / 394.7 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.005112/0.6637, allocations: 1.634 MB / 0.531 GB, free: 14.19 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.675e-05/0.6638, allocations: 54.28 kB / 0.531 GB, free: 14.13 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002633/0.6641, allocations: 260 kB / 0.5313 GB, free: 14.01 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.018e-05/0.6641, allocations: 31.23 kB / 0.5313 GB, free: 13.98 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.6643, allocations: 175.1 kB / 0.5315 GB, free: 13.86 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.703e-05/0.6644, allocations: 97.66 kB / 0.5316 GB, free: 13.8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.109e-05/0.6644, allocations: 5.906 kB / 0.5316 GB, free: 13.8 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.6645, allocations: 338.3 kB / 0.5319 GB, free: 13.48 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.6647, allocations: 90.28 kB / 0.532 GB, free: 13.48 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/0.6649, allocations: 188.4 kB / 0.5322 GB, free: 13.36 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003855/0.6653, allocations: 313.1 kB / 0.5325 GB, free: 13.23 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.6653, allocations: 0 / 0.5325 GB, free: 13.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000604/0.6659, allocations: 387.7 kB / 0.5328 GB, free: 13.17 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.6659, allocations: 7.562 kB / 0.5328 GB, free: 13.17 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.6659, allocations: 2.875 kB / 0.5328 GB, free: 13.17 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002306/0.6662, allocations: 76.55 kB / 0.5329 GB, free: 13.15 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003426/0.6665, allocations: 83.73 kB / 0.533 GB, free: 13.15 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001426/0.668, allocations: 1.851 MB / 0.5348 GB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002788/0.6682, allocations: 27.33 kB / 0.5348 GB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.168e-05/0.6683, allocations: 39.7 kB / 0.5349 GB, free: 11.37 MB / 394.7 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.0001892/0.6685, allocations: 155.5 kB / 0.535 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.12e-05/0.6686, allocations: 29.78 kB / 0.535 GB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008928/0.6695, allocations: 441.9 kB / 0.5355 GB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.6695, allocations: 1.969 kB / 0.5355 GB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.6695, allocations: 2.156 kB / 0.5355 GB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004942/0.67, allocations: 0.563 MB / 0.536 GB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000951/0.671, allocations: 0.7243 MB / 0.5367 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.671, allocations: 3.938 kB / 0.5367 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002912/0.6713, allocations: 75.33 kB / 0.5368 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-05/0.6714, allocations: 26.98 kB / 0.5368 GB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/0.6714, allocations: 14.7 kB / 0.5368 GB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008845/0.6723, allocations: 1.276 MB / 0.5381 GB, free: 9.074 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.6723, allocations: 3.25 kB / 0.5381 GB, free: 9.074 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006681/0.673, allocations: 483.8 kB / 0.5385 GB, free: 8.887 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.6731, allocations: 110.7 kB / 0.5386 GB, free: 8.777 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.451e-05/0.6732, allocations: 6.219 kB / 0.5387 GB, free: 8.777 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002569/0.6735, allocations: 17.8 kB / 0.5387 GB, free: 8.773 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.335e-05/0.6735, allocations: 32.72 kB / 0.5387 GB, free: 8.766 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-05/0.6736, allocations: 30.73 kB / 0.5387 GB, free: 8.766 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002052/0.6738, allocations: 189.8 kB / 0.5389 GB, free: 8.688 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.663e-06/0.6738, allocations: 2.438 kB / 0.5389 GB, free: 8.688 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005607/0.6744, allocations: 128.1 kB / 0.539 GB, free: 8.68 MB / 394.7 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.0003801/0.6747, allocations: 147.6 kB / 0.5392 GB, free: 8.582 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006297/0.6754, allocations: 376 kB / 0.5395 GB, free: 8.461 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.6754, allocations: 2.812 kB / 0.5395 GB, free: 8.461 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002723/0.6757, allocations: 225.4 kB / 0.5398 GB, free: 8.355 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009285/0.6766, allocations: 153.8 kB / 0.5399 GB, free: 8.344 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.6779, allocations: 0.8594 MB / 0.5407 GB, free: 7.855 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/0.6783, allocations: 0.7667 MB / 0.5415 GB, free: 7.152 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002696/0.6785, allocations: 78.8 kB / 0.5416 GB, free: 7.137 MB / 394.7 MB Notification: Performance of SimCode: time 4.21e-07/0.6786, allocations: 0 / 0.5416 GB, free: 7.137 MB / 394.7 MB Notification: Performance of Templates: time 0.00964/0.6882, allocations: 7.458 MB / 0.5488 GB, free: 3.387 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches