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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001016/0.001016, allocations: 117.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001025/0.001025, allocations: 200.6 kB / 18.73 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 60.14 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2517, allocations: 50.55 MB / 409.2 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3959/0.6477, allocations: 152.2 MB / 0.5483 GB, free: 1.441 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002645/0.6504, allocations: 2.541 MB / 0.5507 GB, free: 1.426 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.357e-05/0.6505, allocations: 0 / 0.5507 GB, free: 1.426 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000174/0.6506, allocations: 33.42 kB / 0.5508 GB, free: 1.426 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000838/0.6515, allocations: 336.5 kB / 0.5511 GB, free: 1.422 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001689/0.6517, allocations: 59.11 kB / 0.5511 GB, free: 1.418 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.877e-05/0.6518, allocations: 106.8 kB / 0.5513 GB, free: 1.418 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.101e-05/0.6519, allocations: 7.906 kB / 0.5513 GB, free: 1.418 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.86e-05/0.652, allocations: 42.16 kB / 0.5513 GB, free: 1.418 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.997e-05/0.652, allocations: 43.22 kB / 0.5513 GB, free: 1.418 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.652, allocations: 0 / 0.5513 GB, free: 1.418 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005909/0.6526, allocations: 368.2 kB / 0.5517 GB, free: 1.414 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.469e-05/0.6527, allocations: 16.06 kB / 0.5517 GB, free: 1.414 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.053e-05/0.6527, allocations: 33.45 kB / 0.5517 GB, free: 1.414 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003919/0.6531, allocations: 320.8 kB / 0.552 GB, free: 1.398 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.6531, allocations: 0.7812 kB / 0.552 GB, free: 1.398 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.6531, allocations: 0 / 0.552 GB, free: 1.398 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.6531, allocations: 0.8125 kB / 0.552 GB, free: 1.398 MB / 462.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.0009907/0.6541, allocations: 460 kB / 0.5525 GB, free: 17.01 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.6542, allocations: 8.438 kB / 0.5525 GB, free: 17.01 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005991/0.6602, allocations: 464.1 kB / 0.5529 GB, free: 17 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.6603, allocations: 180.2 kB / 0.5531 GB, free: 16.8 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.6604, allocations: 2.75 kB / 0.5531 GB, free: 16.8 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.064e-05/0.6604, allocations: 13 kB / 0.5531 GB, free: 16.8 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006828/0.6611, allocations: 298.3 kB / 0.5534 GB, free: 16.77 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.6612, allocations: 2.562 kB / 0.5534 GB, free: 16.77 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.638e-05/0.6612, allocations: 4.875 kB / 0.5534 GB, free: 16.77 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.6612, allocations: 2.656 kB / 0.5534 GB, free: 16.77 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000738/0.662, allocations: 276.4 kB / 0.5537 GB, free: 16.77 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002397/0.6622, allocations: 246.4 kB / 0.5539 GB, free: 16.55 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003547/0.6626, allocations: 165 kB / 0.5541 GB, free: 16.53 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001933/0.6628, allocations: 84.64 kB / 0.5542 GB, free: 16.52 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.6628, allocations: 6.625 kB / 0.5542 GB, free: 16.52 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.6628, allocations: 35.33 kB / 0.5542 GB, free: 16.48 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 1.362e-06/0.6628, allocations: 1.094 kB / 0.5542 GB, free: 16.48 MB / 478.1 MB Notification: Performance of matching and sorting (n=24): time 0.001981/0.6648, allocations: 0.5747 MB / 0.5548 GB, free: 16.43 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.6649, allocations: 61.34 kB / 0.5548 GB, free: 16.36 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.991e-05/0.665, allocations: 108.6 kB / 0.5549 GB, free: 16.26 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.665, allocations: 32.42 kB / 0.5549 GB, free: 16.23 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.957e-05/0.665, allocations: 84.33 kB / 0.555 GB, free: 16.15 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.598e-05/0.6651, allocations: 80.8 kB / 0.5551 GB, free: 16.1 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.876e-05/0.6652, allocations: 44.31 kB / 0.5551 GB, free: 16.08 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.901e-05/0.6653, allocations: 324.6 kB / 0.5555 GB, free: 15.77 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002793/0.6656, allocations: 102.5 kB / 0.5556 GB, free: 15.77 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002597/0.6658, allocations: 102.6 kB / 0.5557 GB, free: 15.77 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005296/0.6664, allocations: 227.8 kB / 0.5559 GB, free: 15.76 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.6664, allocations: 0 / 0.5559 GB, free: 15.76 MB / 478.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006407/0.667, allocations: 286.3 kB / 0.5561 GB, free: 15.71 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.6671, allocations: 7.312 kB / 0.5562 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.6671, allocations: 3.406 kB / 0.5562 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.6671, allocations: 3.969 kB / 0.5562 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004563/0.6676, allocations: 61.3 kB / 0.5562 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.6676, allocations: 0 / 0.5562 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002865/0.6679, allocations: 18.59 kB / 0.5562 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-05/0.6679, allocations: 12.67 kB / 0.5562 GB, free: 15.71 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (24): * Single equations (assignments): 24 * 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.0001009/0.668, allocations: 127.4 kB / 0.5564 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.751e-05/0.6681, allocations: 15.31 kB / 0.5564 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008323/0.6689, allocations: 355.7 kB / 0.5567 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.6689, allocations: 6.719 kB / 0.5567 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.6689, allocations: 2.812 kB / 0.5567 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.6689, allocations: 0.8125 kB / 0.5567 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001453/0.6704, allocations: 0.7293 MB / 0.5574 GB, free: 15.17 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.6704, allocations: 3.031 kB / 0.5574 GB, free: 15.17 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004143/0.6708, allocations: 57.5 kB / 0.5575 GB, free: 15.17 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.6708, allocations: 3.031 kB / 0.5575 GB, free: 15.17 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/0.6709, allocations: 13.73 kB / 0.5575 GB, free: 15.17 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.6709, allocations: 3.938 kB / 0.5575 GB, free: 15.17 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.6709, allocations: 2.844 kB / 0.5575 GB, free: 15.17 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007458/0.6716, allocations: 415.8 kB / 0.5579 GB, free: 14.99 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.964e-05/0.6717, allocations: 89.3 kB / 0.558 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.83e-05/0.6718, allocations: 7.375 kB / 0.558 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003259/0.6721, allocations: 14.62 kB / 0.558 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.665e-05/0.6721, allocations: 18.66 kB / 0.558 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.909e-05/0.6722, allocations: 21 kB / 0.5581 GB, free: 14.89 MB / 478.1 MB Notification: Performance of sorting global known variables: time 4.133e-05/0.6722, allocations: 87.14 kB / 0.5581 GB, free: 14.81 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6722, allocations: 0 / 0.5581 GB, free: 14.81 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003543/0.6726, allocations: 56.06 kB / 0.5582 GB, free: 14.81 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (26): * Single equations (assignments): 26 * 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.0002127/0.6728, allocations: 134.2 kB / 0.5583 GB, free: 14.72 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006431/0.6735, allocations: 249.7 kB / 0.5586 GB, free: 14.71 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6735, allocations: 0.8438 kB / 0.5586 GB, free: 14.71 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003067/0.6738, allocations: 137.2 kB / 0.5587 GB, free: 14.71 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005058/0.6743, allocations: 63.48 kB / 0.5588 GB, free: 14.7 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008516/0.6752, allocations: 342.8 kB / 0.5591 GB, free: 14.51 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.6754, allocations: 0.7023 MB / 0.5598 GB, free: 13.82 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000293/0.6757, allocations: 61.78 kB / 0.5598 GB, free: 13.8 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.6759, allocations: 40.7 kB / 0.5599 GB, free: 13.8 MB / 478.1 MB Notification: Performance of SimCode: time 2.7e-07/0.6759, allocations: 4.188 kB / 0.5599 GB, free: 13.8 MB / 478.1 MB Notification: Performance of Templates: time 0.006741/0.6826, allocations: 4.128 MB / 0.5639 GB, free: 13.7 MB / 478.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches