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.0008156/0.0008157, allocations: 96.31 kB / 17.3 MB, free: 6.02 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.0007782/0.0007786, allocations: 175.6 kB / 18.21 MB, free: 5.414 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.555/1.555, allocations: 205.4 MB / 224.4 MB, free: 13.08 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.0004341/0.0004341, allocations: 12 kB / 281.4 MB, free: 3.434 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09342/0.09386, allocations: 47.58 MB / 328.9 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3489/0.4428, allocations: 146.3 MB / 475.2 MB, free: 7.492 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002006/0.4449, allocations: 1.54 MB / 476.8 MB, free: 5.957 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.328e-05/0.445, allocations: 0 / 476.8 MB, free: 5.957 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001676/0.4451, allocations: 22.03 kB / 476.8 MB, free: 5.938 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001029/0.4462, allocations: 277.5 kB / 477.1 MB, free: 5.668 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001977/0.4464, allocations: 55.81 kB / 477.1 MB, free: 5.613 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.4465, allocations: 67.61 kB / 477.2 MB, free: 5.547 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.314e-05/0.4466, allocations: 4 kB / 477.2 MB, free: 5.543 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.4467, allocations: 41.33 kB / 477.2 MB, free: 5.504 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.524e-05/0.4468, allocations: 23.92 kB / 477.3 MB, free: 5.48 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.4468, allocations: 5.688 kB / 477.3 MB, free: 5.477 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007958/0.4476, allocations: 359.5 kB / 477.6 MB, free: 5.125 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.211e-05/0.4476, allocations: 23.91 kB / 477.6 MB, free: 5.102 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.029e-05/0.4477, allocations: 49.58 kB / 477.7 MB, free: 5.047 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000611/0.4483, allocations: 295.4 kB / 478 MB, free: 4.758 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4483, allocations: 0 / 478 MB, free: 4.758 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4484, allocations: 0 / 478 MB, free: 4.758 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.4484, allocations: 4 kB / 478 MB, free: 4.754 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008785/0.4492, allocations: 427.9 kB / 478.4 MB, free: 4.289 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.4493, allocations: 8.031 kB / 478.4 MB, free: 4.281 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006383/0.4557, allocations: 452.2 kB / 478.9 MB, free: 3.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.4559, allocations: 168.5 kB / 479 MB, free: 3.637 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.456, allocations: 3.938 kB / 479 MB, free: 3.633 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.4561, allocations: 12 kB / 479 MB, free: 3.621 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000848/0.4569, allocations: 303.8 kB / 479.3 MB, free: 3.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.4569, allocations: 0 / 479.3 MB, free: 3.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.109e-05/0.457, allocations: 4 kB / 479.3 MB, free: 3.316 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.457, allocations: 4 kB / 479.3 MB, free: 3.312 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008466/0.4579, allocations: 272.4 kB / 479.6 MB, free: 3.047 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.4589, allocations: 433.9 kB / 480 MB, free: 2.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.46, allocations: 202.3 kB / 480.2 MB, free: 2.363 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.4602, allocations: 68.77 kB / 480.3 MB, free: 2.293 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.487e-05/0.4603, allocations: 15.97 kB / 480.3 MB, free: 2.277 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.4603, allocations: 34.81 kB / 480.3 MB, free: 2.234 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.774e-06/0.4603, allocations: 0 / 480.3 MB, free: 2.234 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001812/0.4622, allocations: 429 kB / 480.8 MB, free: 1.809 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.4622, allocations: 55.41 kB / 480.8 MB, free: 1.742 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.857e-05/0.4623, allocations: 101.8 kB / 480.9 MB, free: 1.633 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.4624, allocations: 25.7 kB / 480.9 MB, free: 1.602 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.894e-05/0.4624, allocations: 99.89 kB / 481 MB, free: 1.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.055e-05/0.4625, allocations: 63.09 kB / 481.1 MB, free: 1.438 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-05/0.4625, allocations: 21.72 kB / 481.1 MB, free: 1.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.4627, allocations: 318.8 kB / 481.4 MB, free: 1.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000276/0.463, allocations: 75.94 kB / 481.5 MB, free: 1.016 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003008/0.4633, allocations: 116.2 kB / 481.6 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005768/0.4638, allocations: 203.1 kB / 481.8 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4639, allocations: 0 / 481.8 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006854/0.4646, allocations: 249.4 kB / 482.1 MB, free: 436 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.4646, allocations: 8 kB / 482.1 MB, free: 428 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.4646, allocations: 0 / 482.1 MB, free: 428 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.4646, allocations: 4 kB / 482.1 MB, free: 424 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00038/0.465, allocations: 51.89 kB / 482.1 MB, free: 372 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.465, allocations: 0 / 482.1 MB, free: 372 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002655/0.4653, allocations: 15.98 kB / 482.1 MB, free: 356 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.741e-05/0.4653, allocations: 8 kB / 482.1 MB, free: 348 kB / 366.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.0001264/0.4655, allocations: 125.8 kB / 482.3 MB, free: 212 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.917e-05/0.4655, allocations: 15.83 kB / 482.3 MB, free: 196 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008747/0.4664, allocations: 270.5 kB / 482.5 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.4664, allocations: 4 kB / 482.6 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.4664, allocations: 0 / 482.6 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.4665, allocations: 0 / 482.6 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/0.4678, allocations: 0.5981 MB / 483.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.4678, allocations: 0 / 483.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003328/0.4681, allocations: 48.02 kB / 483.2 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.4682, allocations: 192 / 483.2 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/0.4682, allocations: 11.98 kB / 483.2 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.4682, allocations: 0 / 483.2 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4682, allocations: 7.938 kB / 483.2 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000735/0.4689, allocations: 331.5 kB / 483.5 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.609e-05/0.469, allocations: 85.02 kB / 483.6 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.431e-05/0.469, allocations: 8 kB / 483.6 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000267/0.4693, allocations: 7.984 kB / 483.6 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.4694, allocations: 19.92 kB / 483.7 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.651e-05/0.4694, allocations: 15.98 kB / 483.7 MB, free: 14.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.344e-05/0.4694, allocations: 83.28 kB / 483.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.4695, allocations: 0 / 483.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000358/0.4698, allocations: 47.98 kB / 483.8 MB, free: 14.57 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (18): * Single equations (assignments): 18 * 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 Backend phase and start with SimCode phase: time 0.0002366/0.4701, allocations: 127 kB / 483.9 MB, free: 14.44 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006387/0.4707, allocations: 187.8 kB / 484.1 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4707, allocations: 0 / 484.1 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003/0.471, allocations: 112.9 kB / 484.2 MB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004572/0.4715, allocations: 31.97 kB / 484.3 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008427/0.4723, allocations: 320.5 kB / 484.6 MB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.4726, allocations: 0.6931 MB / 485.3 MB, free: 13.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003927/0.473, allocations: 60.62 kB / 485.3 MB, free: 12.99 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.4732, allocations: 31.42 kB / 485.3 MB, free: 12.96 MB / 382.1 MB Notification: Performance of SimCode: time 3.9e-07/0.4732, allocations: 0 / 485.3 MB, free: 12.96 MB / 382.1 MB Notification: Performance of Templates: time 0.006591/0.4798, allocations: 2.928 MB / 488.3 MB, free: 10.05 MB / 382.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches