Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.IdealGases.Air,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.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_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 94.58 kB / 16.95 MB, free: 6.891 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.00142/0.00142, allocations: 185.9 kB / 17.84 MB, free: 6.137 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.435/1.435, allocations: 205.4 MB / 224 MB, free: 13.09 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.0005464/0.0005464, allocations: 12 kB / 280.8 MB, free: 3.719 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1155, allocations: 47.58 MB / 328.4 MB, free: 4.066 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.4327/0.5483, allocations: 156.9 MB / 485.3 MB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004715/0.5531, allocations: 2.997 MB / 488.3 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004842/0.5536, allocations: 4 kB / 488.3 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007669/0.5544, allocations: 135.2 kB / 488.4 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001216/0.5556, allocations: 362.1 kB / 488.8 MB, free: 9.754 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.5567, allocations: 278.3 kB / 489 MB, free: 9.484 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001771/0.5584, allocations: 1.117 MB / 490.2 MB, free: 8.363 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000317/0.5588, allocations: 69.97 kB / 490.2 MB, free: 8.297 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002374/0.5612, allocations: 0.6734 MB / 490.9 MB, free: 7.621 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007043/0.5619, allocations: 275 kB / 491.2 MB, free: 7.352 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.996e-05/0.562, allocations: 12 kB / 491.2 MB, free: 7.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005028/0.5625, allocations: 107.9 kB / 491.3 MB, free: 7.234 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001428/0.5626, allocations: 71.72 kB / 491.4 MB, free: 7.164 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001919/0.5628, allocations: 93.58 kB / 491.5 MB, free: 7.066 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005665/0.5634, allocations: 396.5 kB / 491.8 MB, free: 6.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.5634, allocations: 0 / 491.8 MB, free: 6.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5634, allocations: 4 kB / 491.8 MB, free: 6.676 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.558e-05/0.5635, allocations: 0 / 491.8 MB, free: 6.676 MB / 382.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.0009686/0.5644, allocations: 0.519 MB / 492.4 MB, free: 6.109 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.5645, allocations: 12.03 kB / 492.4 MB, free: 6.098 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003493/0.5648, allocations: 43.61 kB / 492.4 MB, free: 6.055 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004539/0.5653, allocations: 266.7 kB / 492.7 MB, free: 5.754 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/0.5653, allocations: 20.56 kB / 492.7 MB, free: 5.734 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.061e-05/0.5654, allocations: 27.91 kB / 492.7 MB, free: 5.707 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005503/0.566, allocations: 315.7 kB / 493 MB, free: 5.367 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.566, allocations: 0 / 493 MB, free: 5.367 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.457e-05/0.566, allocations: 19.89 kB / 493.1 MB, free: 5.348 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.5661, allocations: 8 kB / 493.1 MB, free: 5.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003744/0.5664, allocations: 205.6 kB / 493.3 MB, free: 5.141 MB / 382.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.002242/0.5687, allocations: 1.585 MB / 494.8 MB, free: 3.406 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003342/0.569, allocations: 178.7 kB / 495 MB, free: 3.223 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.5692, allocations: 96.83 kB / 495.1 MB, free: 3.125 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.206e-05/0.5693, allocations: 7.984 kB / 495.1 MB, free: 3.117 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/0.5693, allocations: 34.56 kB / 495.2 MB, free: 3.074 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 3.005e-06/0.5693, allocations: 0 / 495.2 MB, free: 3.074 MB / 382.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.005084/0.5744, allocations: 1.634 MB / 496.8 MB, free: 1.309 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.5745, allocations: 55.41 kB / 496.8 MB, free: 1.242 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002769/0.5747, allocations: 256.8 kB / 497.1 MB, free: 0.9844 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.89e-05/0.5748, allocations: 33.7 kB / 497.1 MB, free: 0.9453 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.5749, allocations: 172.2 kB / 497.3 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.083e-05/0.575, allocations: 102.5 kB / 497.4 MB, free: 0.668 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.067e-05/0.5751, allocations: 8 kB / 497.4 MB, free: 0.6602 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.5752, allocations: 334.8 kB / 497.7 MB, free: 332 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.5754, allocations: 91.75 kB / 497.8 MB, free: 240 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002279/0.5756, allocations: 187.8 kB / 498 MB, free: 8 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000242/0.5758, allocations: 120 kB / 498.1 MB, free: 15.89 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.5759, allocations: 0 / 498.1 MB, free: 15.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006886/0.5766, allocations: 395 kB / 498.5 MB, free: 15.49 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.5766, allocations: 7.953 kB / 498.5 MB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.5766, allocations: 4 kB / 498.5 MB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002318/0.5768, allocations: 77.67 kB / 498.6 MB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003382/0.5772, allocations: 87.83 kB / 498.7 MB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00141/0.5786, allocations: 1.852 MB / 0.4888 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000247/0.5789, allocations: 24.14 kB / 0.4888 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-05/0.5789, allocations: 40 kB / 0.4889 GB, free: 13.23 MB / 398.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.000175/0.5791, allocations: 153.7 kB / 0.489 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.636e-05/0.5792, allocations: 31.7 kB / 0.489 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009268/0.5801, allocations: 438.8 kB / 0.4895 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.5802, allocations: 4 kB / 0.4895 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.876e-05/0.5802, allocations: 0 / 0.4895 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005517/0.5807, allocations: 0.5668 MB / 0.49 GB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.5819, allocations: 0.731 MB / 0.4907 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-05/0.5819, allocations: 0 / 0.4907 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002962/0.5822, allocations: 67.89 kB / 0.4908 GB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.212e-05/0.5823, allocations: 20.84 kB / 0.4908 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.087e-05/0.5823, allocations: 15.98 kB / 0.4908 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009188/0.5832, allocations: 1.284 MB / 0.4921 GB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.5833, allocations: 0 / 0.4921 GB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006413/0.5839, allocations: 478.7 kB / 0.4925 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.879e-05/0.584, allocations: 112.7 kB / 0.4926 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.9e-05/0.5841, allocations: 8 kB / 0.4927 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002575/0.5843, allocations: 20.05 kB / 0.4927 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.5844, allocations: 19.97 kB / 0.4927 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.465e-05/0.5844, allocations: 31.98 kB / 0.4927 GB, free: 8.926 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001988/0.5846, allocations: 186 kB / 0.4929 GB, free: 8.746 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5847, allocations: 0 / 0.4929 GB, free: 8.746 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005208/0.5852, allocations: 124 kB / 0.493 GB, free: 8.625 MB / 398.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.0003847/0.5856, allocations: 155.1 kB / 0.4932 GB, free: 8.465 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006625/0.5862, allocations: 383.1 kB / 0.4935 GB, free: 8.078 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.5863, allocations: 0 / 0.4935 GB, free: 8.078 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002983/0.5866, allocations: 230.5 kB / 0.4938 GB, free: 7.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009159/0.5875, allocations: 168.4 kB / 0.4939 GB, free: 7.672 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.5888, allocations: 0.8201 MB / 0.4947 GB, free: 6.824 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.5892, allocations: 0.7761 MB / 0.4955 GB, free: 6.023 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005955/0.5898, allocations: 114.9 kB / 0.4956 GB, free: 5.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002248/0.59, allocations: 67.41 kB / 0.4956 GB, free: 5.844 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5901, allocations: 0 / 0.4956 GB, free: 5.844 MB / 398.1 MB Notification: Performance of Templates: time 0.01574/0.6058, allocations: 8.265 MB / 0.5037 GB, free: 13.58 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches