Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.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.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O") translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 105.7 kB / 18.4 MB, free: 4.68 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.001084/0.001084, allocations: 187 kB / 19.34 MB, free: 3.754 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.26/1.26, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.001198/0.001198, allocations: 43.94 kB / 329.2 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06923/0.07044, allocations: 46.62 MB / 375.8 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2835/0.354, allocations: 150.4 MB / 0.5139 GB, free: 8.734 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.3556, allocations: 1.518 MB / 0.5154 GB, free: 7.219 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.095e-05/0.3556, allocations: 3.938 kB / 0.5154 GB, free: 7.215 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001197/0.3558, allocations: 31.83 kB / 0.5154 GB, free: 7.184 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006905/0.3565, allocations: 322.3 kB / 0.5157 GB, free: 6.867 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001423/0.3566, allocations: 55.75 kB / 0.5158 GB, free: 6.812 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.013e-05/0.3567, allocations: 75.59 kB / 0.5159 GB, free: 6.738 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.123e-05/0.3568, allocations: 7.984 kB / 0.5159 GB, free: 6.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.231e-05/0.3569, allocations: 41.48 kB / 0.5159 GB, free: 6.691 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.94e-05/0.3569, allocations: 23.88 kB / 0.5159 GB, free: 6.668 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.928e-06/0.3569, allocations: 7.984 kB / 0.5159 GB, free: 6.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006289/0.3576, allocations: 355.5 kB / 0.5163 GB, free: 6.312 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.671e-05/0.3576, allocations: 3.938 kB / 0.5163 GB, free: 6.309 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.981e-05/0.3576, allocations: 39.84 kB / 0.5163 GB, free: 6.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004235/0.3581, allocations: 287 kB / 0.5166 GB, free: 5.992 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.3581, allocations: 4 kB / 0.5166 GB, free: 5.988 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3581, allocations: 0 / 0.5166 GB, free: 5.988 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.3581, allocations: 0 / 0.5166 GB, free: 5.988 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007844/0.3589, allocations: 435.3 kB / 0.517 GB, free: 5.516 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.3589, allocations: 12.03 kB / 0.517 GB, free: 5.504 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006832/0.3658, allocations: 461.2 kB / 0.5175 GB, free: 5.055 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.97e-05/0.3659, allocations: 168.5 kB / 0.5176 GB, free: 4.852 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.3659, allocations: 11.94 kB / 0.5176 GB, free: 4.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.622e-05/0.366, allocations: 8 kB / 0.5176 GB, free: 4.832 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007752/0.3667, allocations: 293.3 kB / 0.5179 GB, free: 4.539 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.3668, allocations: 7.969 kB / 0.5179 GB, free: 4.531 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.942e-05/0.3668, allocations: 8 kB / 0.5179 GB, free: 4.523 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.3668, allocations: 0 / 0.5179 GB, free: 4.523 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008376/0.3677, allocations: 275.7 kB / 0.5182 GB, free: 4.254 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009179/0.3686, allocations: 428.7 kB / 0.5186 GB, free: 3.785 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.3696, allocations: 202.4 kB / 0.5188 GB, free: 3.578 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/0.3699, allocations: 76.81 kB / 0.5189 GB, free: 3.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.3699, allocations: 0 / 0.5189 GB, free: 3.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.3699, allocations: 34.56 kB / 0.5189 GB, free: 3.457 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.082e-06/0.3699, allocations: 0 / 0.5189 GB, free: 3.457 MB / 446.1 MB Notification: Performance of matching and sorting (n=17): time 0.001759/0.3717, allocations: 425.6 kB / 0.5193 GB, free: 3.039 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.477e-05/0.3717, allocations: 51.41 kB / 0.5194 GB, free: 2.977 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.903e-05/0.3718, allocations: 109.8 kB / 0.5195 GB, free: 2.859 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.3718, allocations: 33.64 kB / 0.5195 GB, free: 2.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.761e-05/0.3719, allocations: 92.56 kB / 0.5196 GB, free: 2.727 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.917e-05/0.3719, allocations: 63.12 kB / 0.5196 GB, free: 2.664 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.02e-05/0.372, allocations: 45.69 kB / 0.5197 GB, free: 2.613 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.615e-05/0.3721, allocations: 314.8 kB / 0.52 GB, free: 2.297 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002809/0.3724, allocations: 79.94 kB / 0.5201 GB, free: 2.219 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002997/0.3727, allocations: 120.2 kB / 0.5202 GB, free: 2.086 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005696/0.3733, allocations: 200.1 kB / 0.5204 GB, free: 1.875 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3733, allocations: 4 kB / 0.5204 GB, free: 1.871 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006854/0.374, allocations: 250.2 kB / 0.5206 GB, free: 1.621 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.374, allocations: 4 kB / 0.5206 GB, free: 1.617 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.374, allocations: 4 kB / 0.5206 GB, free: 1.613 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.374, allocations: 0 / 0.5206 GB, free: 1.613 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000405/0.3744, allocations: 47.95 kB / 0.5207 GB, free: 1.566 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.3745, allocations: 12.06 kB / 0.5207 GB, free: 1.555 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002751/0.3747, allocations: 11.98 kB / 0.5207 GB, free: 1.543 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.14e-05/0.3748, allocations: 15.98 kB / 0.5207 GB, free: 1.527 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.3749, allocations: 117.8 kB / 0.5208 GB, free: 1.402 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.003e-05/0.375, allocations: 14.72 kB / 0.5208 GB, free: 1.391 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00082/0.3758, allocations: 279 kB / 0.5211 GB, free: 1.113 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.3758, allocations: 7.984 kB / 0.5211 GB, free: 1.105 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3758, allocations: 0 / 0.5211 GB, free: 1.105 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.478e-05/0.3758, allocations: 84.95 kB / 0.5212 GB, free: 1.004 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.662e-05/0.3759, allocations: 4 kB / 0.5212 GB, free: 1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003053/0.3762, allocations: 15.92 kB / 0.5212 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.141e-05/0.3762, allocations: 11.98 kB / 0.5212 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009212/0.3772, allocations: 332.7 kB / 0.5215 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007009/0.3779, allocations: 398.5 kB / 0.5219 GB, free: 240 kB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000282/0.3782, allocations: 99.83 kB / 0.522 GB, free: 140 kB / 446.1 MB Notification: Performance of sorting global known variables: time 2.924e-05/0.3782, allocations: 79.28 kB / 0.5221 GB, free: 60 kB / 446.1 MB Notification: Performance of Backend: time 2.31e-07/0.3782, allocations: 0 / 0.5221 GB, free: 60 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009607/0.3792, allocations: 322.4 kB / 0.5224 GB, free: 15.74 MB / 462.1 MB Notification: Performance of SimCode: time 0.0004491/0.3796, allocations: 0.6465 MB / 0.523 GB, free: 15.04 MB / 462.1 MB Notification: Performance of Templates: time 0.007864/0.3875, allocations: 5.11 MB / 0.528 GB, free: 9.934 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches