Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.IdealGases.Air,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.IdealGases.Air") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,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.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00093/0.0009302, allocations: 173.5 kB / 16.72 MB, free: 5.078 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.34/1.34, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.001046/0.001046, allocations: 90.41 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003221/0.0003222, allocations: 8 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2047, allocations: 47.57 MB / 375.1 MB, free: 45.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.3482/0.553, allocations: 157 MB / 0.5196 GB, free: 1.16 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003444/0.5565, allocations: 3.002 MB / 0.5225 GB, free: 1.07 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004181/0.5569, allocations: 3.219 kB / 0.5225 GB, free: 1.07 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005702/0.5575, allocations: 129.4 kB / 0.5227 GB, free: 1.066 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001034/0.5586, allocations: 362.4 kB / 0.523 GB, free: 1.047 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008697/0.5594, allocations: 278.5 kB / 0.5233 GB, free: 1.035 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001367/0.5608, allocations: 1.114 MB / 0.5244 GB, free: 1.031 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000208/0.561, allocations: 68.58 kB / 0.5244 GB, free: 1.023 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002081/0.5631, allocations: 0.7039 MB / 0.5251 GB, free: 1 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004479/0.5636, allocations: 268.5 kB / 0.5254 GB, free: 1 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.458e-05/0.5636, allocations: 13.91 kB / 0.5254 GB, free: 1 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003689/0.564, allocations: 104.4 kB / 0.5255 GB, free: 1 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.5641, allocations: 75.84 kB / 0.5256 GB, free: 1 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002658/0.5644, allocations: 194.7 kB / 0.5258 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004927/0.5649, allocations: 401.7 kB / 0.5261 GB, free: 0.9375 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.5649, allocations: 1.375 kB / 0.5261 GB, free: 0.9375 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.5649, allocations: 0 / 0.5261 GB, free: 0.9375 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.5649, allocations: 0 / 0.5261 GB, free: 0.9375 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.0009051/0.5659, allocations: 0.514 MB / 0.5266 GB, free: 16.51 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.5659, allocations: 9.531 kB / 0.5266 GB, free: 16.51 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002939/0.5662, allocations: 43.03 kB / 0.5267 GB, free: 16.49 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003774/0.5666, allocations: 288.8 kB / 0.527 GB, free: 16.27 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.5666, allocations: 19.81 kB / 0.527 GB, free: 16.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.506e-05/0.5667, allocations: 24.56 kB / 0.527 GB, free: 16.27 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005459/0.5672, allocations: 315.5 kB / 0.5273 GB, free: 16.17 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.5673, allocations: 5.938 kB / 0.5273 GB, free: 16.16 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.915e-05/0.5673, allocations: 16.97 kB / 0.5273 GB, free: 16.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.5673, allocations: 6.688 kB / 0.5273 GB, free: 16.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003729/0.5677, allocations: 203 kB / 0.5275 GB, free: 16.16 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.001767/0.5695, allocations: 1.584 MB / 0.5291 GB, free: 14.97 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000271/0.5698, allocations: 180.8 kB / 0.5292 GB, free: 14.94 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001352/0.5699, allocations: 99.41 kB / 0.5293 GB, free: 14.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.341e-05/0.57, allocations: 6.469 kB / 0.5293 GB, free: 14.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.57, allocations: 33.47 kB / 0.5294 GB, free: 14.89 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 1.914e-06/0.57, allocations: 6.531 kB / 0.5294 GB, free: 14.88 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.005152/0.5752, allocations: 1.621 MB / 0.531 GB, free: 14.15 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.5752, allocations: 55 kB / 0.531 GB, free: 14.09 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.5755, allocations: 260.2 kB / 0.5313 GB, free: 13.97 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.63e-05/0.5755, allocations: 31.7 kB / 0.5313 GB, free: 13.94 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.5757, allocations: 176 kB / 0.5315 GB, free: 13.82 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.057e-05/0.5757, allocations: 97.47 kB / 0.5316 GB, free: 13.76 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.061e-05/0.5757, allocations: 6.375 kB / 0.5316 GB, free: 13.76 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.5759, allocations: 336.6 kB / 0.5319 GB, free: 13.45 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.576, allocations: 87.03 kB / 0.532 GB, free: 13.44 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.5762, allocations: 191.7 kB / 0.5322 GB, free: 13.32 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003681/0.5766, allocations: 308.7 kB / 0.5324 GB, free: 13.2 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.5766, allocations: 3.562 kB / 0.5325 GB, free: 13.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005781/0.5772, allocations: 393.2 kB / 0.5328 GB, free: 13.13 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.5772, allocations: 8.375 kB / 0.5328 GB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.5772, allocations: 2.875 kB / 0.5328 GB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002105/0.5775, allocations: 72.25 kB / 0.5329 GB, free: 13.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003205/0.5778, allocations: 86.22 kB / 0.533 GB, free: 13.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/0.5791, allocations: 1.853 MB / 0.5348 GB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002686/0.5794, allocations: 25.12 kB / 0.5348 GB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.924e-05/0.5795, allocations: 42.5 kB / 0.5349 GB, free: 11.32 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.0001722/0.5796, allocations: 152.3 kB / 0.535 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.785e-05/0.5797, allocations: 30.12 kB / 0.535 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008991/0.5806, allocations: 442 kB / 0.5355 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.5806, allocations: 0 / 0.5355 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.5806, allocations: 2.875 kB / 0.5355 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005198/0.5812, allocations: 0.56 MB / 0.536 GB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009878/0.5822, allocations: 0.7268 MB / 0.5367 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.371e-06/0.5822, allocations: 3.938 kB / 0.5367 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003025/0.5825, allocations: 69.77 kB / 0.5368 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.734e-05/0.5826, allocations: 31.78 kB / 0.5368 GB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.748e-05/0.5826, allocations: 14.39 kB / 0.5368 GB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008124/0.5835, allocations: 1.278 MB / 0.5381 GB, free: 9.031 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.5835, allocations: 2.625 kB / 0.5381 GB, free: 9.031 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006197/0.5841, allocations: 488.7 kB / 0.5385 GB, free: 8.844 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.5842, allocations: 112 kB / 0.5387 GB, free: 8.73 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.66e-05/0.5843, allocations: 6.938 kB / 0.5387 GB, free: 8.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002501/0.5845, allocations: 17.97 kB / 0.5387 GB, free: 8.727 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.291e-05/0.5846, allocations: 25.72 kB / 0.5387 GB, free: 8.723 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.56e-05/0.5846, allocations: 31.47 kB / 0.5387 GB, free: 8.723 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001892/0.5848, allocations: 188 kB / 0.5389 GB, free: 8.645 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.62e-07/0.5848, allocations: 0 / 0.5389 GB, free: 8.645 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005622/0.5854, allocations: 127.7 kB / 0.539 GB, free: 8.637 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.0003796/0.5858, allocations: 149 kB / 0.5392 GB, free: 8.543 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006296/0.5864, allocations: 373.9 kB / 0.5395 GB, free: 8.422 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.5865, allocations: 3.031 kB / 0.5395 GB, free: 8.422 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002589/0.5867, allocations: 225.1 kB / 0.5398 GB, free: 8.316 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008775/0.5876, allocations: 153.6 kB / 0.5399 GB, free: 8.305 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.5888, allocations: 0.8659 MB / 0.5407 GB, free: 7.812 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.5891, allocations: 0.7701 MB / 0.5415 GB, free: 7.109 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002539/0.5894, allocations: 77.97 kB / 0.5416 GB, free: 7.094 MB / 394.7 MB Notification: Performance of SimCode: time 6.12e-07/0.5894, allocations: 0 / 0.5416 GB, free: 7.094 MB / 394.7 MB Notification: Performance of Templates: time 0.009299/0.5987, allocations: 7.461 MB / 0.5489 GB, free: 3.34 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/Air/Air.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches