Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001751/0.001751, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009788/0.0009789, allocations: 98.55 kB / 296.7 MB, free: 6.461 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009344/0.0009345, allocations: 51.92 kB / 356.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2072, allocations: 50.45 MB / 407 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3367/0.5439, allocations: 147 MB / 0.5411 GB, free: 11.73 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002103/0.5461, allocations: 2.56 MB / 0.5436 GB, free: 11.53 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.717e-05/0.5461, allocations: 0 / 0.5436 GB, free: 11.53 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001411/0.5463, allocations: 22.5 kB / 0.5436 GB, free: 11.52 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007324/0.5471, allocations: 280 kB / 0.5439 GB, free: 11.39 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001396/0.5472, allocations: 44.8 kB / 0.5439 GB, free: 11.37 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 8.654e-05/0.5473, allocations: 76.45 kB / 0.544 GB, free: 11.34 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.374e-05/0.5473, allocations: 4.875 kB / 0.544 GB, free: 11.34 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.693e-05/0.5474, allocations: 33.5 kB / 0.544 GB, free: 11.33 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.749e-05/0.5475, allocations: 27.92 kB / 0.5441 GB, free: 11.32 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 9.097e-06/0.5475, allocations: 3.25 kB / 0.5441 GB, free: 11.32 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006536/0.5482, allocations: 370.4 kB / 0.5444 GB, free: 11.23 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.375e-05/0.5482, allocations: 11.39 kB / 0.5444 GB, free: 11.23 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.934e-05/0.5483, allocations: 29.47 kB / 0.5445 GB, free: 11.23 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004488/0.5487, allocations: 300.4 kB / 0.5447 GB, free: 11.14 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.5487, allocations: 1.203 kB / 0.5447 GB, free: 11.14 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.5487, allocations: 0 / 0.5447 GB, free: 11.14 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.5487, allocations: 2.719 kB / 0.5447 GB, free: 11.14 MB / 394.7 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.0007639/0.5495, allocations: 443.8 kB / 0.5452 GB, free: 10.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.5495, allocations: 10.31 kB / 0.5452 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006308/0.5559, allocations: 460.4 kB / 0.5456 GB, free: 10.54 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.556, allocations: 171.6 kB / 0.5458 GB, free: 10.34 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.556, allocations: 13.64 kB / 0.5458 GB, free: 10.33 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.619e-05/0.5561, allocations: 8.844 kB / 0.5458 GB, free: 10.33 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007183/0.5569, allocations: 296.7 kB / 0.5461 GB, free: 10.19 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.5569, allocations: 2.094 kB / 0.5461 GB, free: 10.19 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.299e-05/0.5569, allocations: 3.312 kB / 0.5461 GB, free: 10.19 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.557, allocations: 6.516 kB / 0.5461 GB, free: 10.19 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008052/0.5578, allocations: 270.7 kB / 0.5464 GB, free: 10.13 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.5588, allocations: 428.3 kB / 0.5468 GB, free: 9.789 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009682/0.5598, allocations: 204.9 kB / 0.547 GB, free: 9.715 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002222/0.56, allocations: 73.73 kB / 0.547 GB, free: 9.695 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.56, allocations: 2.031 kB / 0.547 GB, free: 9.695 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.5601, allocations: 36.75 kB / 0.5471 GB, free: 9.656 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 2.585e-06/0.5601, allocations: 0 / 0.5471 GB, free: 9.656 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.0016/0.5617, allocations: 420.5 kB / 0.5475 GB, free: 9.527 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.5617, allocations: 58.25 kB / 0.5475 GB, free: 9.461 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.524e-05/0.5618, allocations: 102.3 kB / 0.5476 GB, free: 9.359 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.5618, allocations: 32.77 kB / 0.5477 GB, free: 9.324 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.678e-05/0.5619, allocations: 97.94 kB / 0.5477 GB, free: 9.23 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.667e-05/0.5619, allocations: 57.61 kB / 0.5478 GB, free: 9.188 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.148e-05/0.562, allocations: 47.16 kB / 0.5478 GB, free: 9.164 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.836e-05/0.5621, allocations: 317.1 kB / 0.5481 GB, free: 8.852 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002552/0.5624, allocations: 78.44 kB / 0.5482 GB, free: 8.832 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002768/0.5627, allocations: 121.2 kB / 0.5483 GB, free: 8.77 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005116/0.5632, allocations: 205.5 kB / 0.5485 GB, free: 8.699 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.5632, allocations: 0 / 0.5485 GB, free: 8.699 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006237/0.5638, allocations: 243.9 kB / 0.5488 GB, free: 8.621 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.5639, allocations: 5.062 kB / 0.5488 GB, free: 8.621 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.5639, allocations: 2.75 kB / 0.5488 GB, free: 8.621 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.5639, allocations: 2.125 kB / 0.5488 GB, free: 8.621 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003674/0.5643, allocations: 59.78 kB / 0.5488 GB, free: 8.602 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.5643, allocations: 2.219 kB / 0.5488 GB, free: 8.602 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00025/0.5646, allocations: 11.86 kB / 0.5488 GB, free: 8.598 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.625e-05/0.5646, allocations: 17.7 kB / 0.5489 GB, free: 8.594 MB / 394.7 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 9.972e-05/0.5647, allocations: 132.5 kB / 0.549 GB, free: 8.465 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.393e-05/0.5648, allocations: 8.719 kB / 0.549 GB, free: 8.461 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007919/0.5656, allocations: 279 kB / 0.5493 GB, free: 8.359 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.5656, allocations: 2.75 kB / 0.5493 GB, free: 8.359 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.5656, allocations: 1.062 kB / 0.5493 GB, free: 8.359 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.5656, allocations: 3.984 kB / 0.5493 GB, free: 8.355 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.5668, allocations: 0.5904 MB / 0.5498 GB, free: 7.934 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.5668, allocations: 2.625 kB / 0.5499 GB, free: 7.934 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003318/0.5671, allocations: 41.56 kB / 0.5499 GB, free: 7.926 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.5671, allocations: 2.312 kB / 0.5499 GB, free: 7.926 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/0.5672, allocations: 7.75 kB / 0.5499 GB, free: 7.922 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.5672, allocations: 6.25 kB / 0.5499 GB, free: 7.918 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.5672, allocations: 6.844 kB / 0.5499 GB, free: 7.914 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.5683, allocations: 0.9637 MB / 0.5509 GB, free: 7.129 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.635e-05/0.5684, allocations: 87.77 kB / 0.5509 GB, free: 7.027 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.5684, allocations: 3.625 kB / 0.5509 GB, free: 7.027 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002708/0.5687, allocations: 19.02 kB / 0.551 GB, free: 7.02 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.5687, allocations: 11.58 kB / 0.551 GB, free: 7.016 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.582e-05/0.5688, allocations: 18.36 kB / 0.551 GB, free: 7.008 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.618e-05/0.5688, allocations: 78.19 kB / 0.5511 GB, free: 6.934 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.01e-07/0.5688, allocations: 0 / 0.5511 GB, free: 6.934 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000407/0.5692, allocations: 46.11 kB / 0.5511 GB, free: 6.934 MB / 394.7 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.0002445/0.5695, allocations: 135 kB / 0.5512 GB, free: 6.828 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000609/0.5701, allocations: 193.6 kB / 0.5514 GB, free: 6.785 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.5701, allocations: 3.938 kB / 0.5514 GB, free: 6.781 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002758/0.5704, allocations: 108 kB / 0.5515 GB, free: 6.754 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004412/0.5708, allocations: 36.41 kB / 0.5516 GB, free: 6.742 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008508/0.5717, allocations: 459 kB / 0.552 GB, free: 6.395 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.572, allocations: 0.6948 MB / 0.5527 GB, free: 5.688 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003895/0.5724, allocations: 58.23 kB / 0.5527 GB, free: 5.648 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/0.5725, allocations: 32.67 kB / 0.5528 GB, free: 5.637 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5725, allocations: 0 / 0.5528 GB, free: 5.637 MB / 394.7 MB Notification: Performance of Templates: time 0.005986/0.5785, allocations: 3.046 MB / 0.5557 GB, free: 4.094 MB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_trunk_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","../files/Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches