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.001365/0.001365, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001523/0.001523, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001048/0.001048, allocations: 59.91 kB / 358.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2685, allocations: 50.54 MB / 409.2 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.393/0.6616, allocations: 152.2 MB / 0.5483 GB, free: 1.48 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002209/0.6638, allocations: 2.541 MB / 0.5507 GB, free: 1.465 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.307e-05/0.6639, allocations: 2.969 kB / 0.5507 GB, free: 1.465 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.664, allocations: 33.64 kB / 0.5508 GB, free: 1.465 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007525/0.6648, allocations: 336.7 kB / 0.5511 GB, free: 1.461 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001503/0.665, allocations: 67.67 kB / 0.5512 GB, free: 1.457 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.112e-05/0.6651, allocations: 101.6 kB / 0.5513 GB, free: 1.457 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.968e-05/0.6651, allocations: 5.969 kB / 0.5513 GB, free: 1.457 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.875e-05/0.6652, allocations: 41.02 kB / 0.5513 GB, free: 1.457 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.617e-05/0.6653, allocations: 40.28 kB / 0.5513 GB, free: 1.457 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.6653, allocations: 6.531 kB / 0.5513 GB, free: 1.457 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000574/0.6659, allocations: 369.6 kB / 0.5517 GB, free: 1.453 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.375e-05/0.6659, allocations: 9.312 kB / 0.5517 GB, free: 1.453 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.194e-05/0.666, allocations: 35.86 kB / 0.5517 GB, free: 1.453 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003995/0.6664, allocations: 325.4 kB / 0.5521 GB, free: 1.438 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.6664, allocations: 0 / 0.5521 GB, free: 1.438 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.6664, allocations: 0.7812 kB / 0.5521 GB, free: 1.438 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.678e-06/0.6664, allocations: 0 / 0.5521 GB, free: 1.438 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.0008919/0.6673, allocations: 458.5 kB / 0.5525 GB, free: 17.05 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.6673, allocations: 13.17 kB / 0.5525 GB, free: 17.05 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005605/0.673, allocations: 458.1 kB / 0.5529 GB, free: 17.04 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.6731, allocations: 176.4 kB / 0.5531 GB, free: 16.84 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.6731, allocations: 7.469 kB / 0.5531 GB, free: 16.84 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-05/0.6732, allocations: 11.12 kB / 0.5531 GB, free: 16.84 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006697/0.6739, allocations: 301 kB / 0.5534 GB, free: 16.8 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.6739, allocations: 0 / 0.5534 GB, free: 16.8 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.266e-05/0.6739, allocations: 3.938 kB / 0.5534 GB, free: 16.8 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.6739, allocations: 3.875 kB / 0.5534 GB, free: 16.8 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007374/0.6747, allocations: 277.1 kB / 0.5537 GB, free: 16.8 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002771/0.675, allocations: 247.1 kB / 0.5539 GB, free: 16.59 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003499/0.6753, allocations: 159.3 kB / 0.5541 GB, free: 16.57 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.6755, allocations: 86.81 kB / 0.5542 GB, free: 16.56 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.6756, allocations: 7 kB / 0.5542 GB, free: 16.56 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.6756, allocations: 39.42 kB / 0.5542 GB, free: 16.52 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 1.193e-06/0.6756, allocations: 0 / 0.5542 GB, free: 16.52 MB / 478.1 MB Notification: Performance of matching and sorting (n=24): time 0.001953/0.6776, allocations: 0.5778 MB / 0.5548 GB, free: 16.46 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.6776, allocations: 58.91 kB / 0.5548 GB, free: 16.39 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.027e-05/0.6777, allocations: 111.4 kB / 0.5549 GB, free: 16.3 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.6777, allocations: 29.64 kB / 0.555 GB, free: 16.27 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.232e-05/0.6778, allocations: 87.33 kB / 0.555 GB, free: 16.18 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.896e-05/0.6778, allocations: 83.69 kB / 0.5551 GB, free: 16.13 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.43e-05/0.6779, allocations: 42.47 kB / 0.5552 GB, free: 16.12 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.693e-05/0.678, allocations: 321.2 kB / 0.5555 GB, free: 15.8 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002628/0.6783, allocations: 101.3 kB / 0.5556 GB, free: 15.8 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002597/0.6786, allocations: 109.9 kB / 0.5557 GB, free: 15.8 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005157/0.6791, allocations: 220.8 kB / 0.5559 GB, free: 15.79 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.6791, allocations: 0.9688 kB / 0.5559 GB, free: 15.79 MB / 478.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006406/0.6797, allocations: 291.5 kB / 0.5562 GB, free: 15.75 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.6798, allocations: 10.62 kB / 0.5562 GB, free: 15.75 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.6798, allocations: 0.9062 kB / 0.5562 GB, free: 15.75 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.6798, allocations: 0 / 0.5562 GB, free: 15.75 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004373/0.6802, allocations: 60.88 kB / 0.5562 GB, free: 15.75 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.6803, allocations: 0 / 0.5562 GB, free: 15.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002648/0.6805, allocations: 18.44 kB / 0.5562 GB, free: 15.75 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-05/0.6806, allocations: 16.3 kB / 0.5563 GB, free: 15.74 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.0001036/0.6807, allocations: 121 kB / 0.5564 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.355e-05/0.6807, allocations: 9.969 kB / 0.5564 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000831/0.6816, allocations: 361.3 kB / 0.5567 GB, free: 15.58 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.6816, allocations: 9.188 kB / 0.5567 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.6816, allocations: 0.9375 kB / 0.5567 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.6816, allocations: 0 / 0.5567 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/0.6829, allocations: 0.7283 MB / 0.5574 GB, free: 15.21 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.683, allocations: 2.125 kB / 0.5574 GB, free: 15.21 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003857/0.6833, allocations: 64.14 kB / 0.5575 GB, free: 15.21 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.6834, allocations: 4.281 kB / 0.5575 GB, free: 15.21 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.799e-05/0.6834, allocations: 5.719 kB / 0.5575 GB, free: 15.21 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.6834, allocations: 5.688 kB / 0.5575 GB, free: 15.21 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.6834, allocations: 1.203 kB / 0.5575 GB, free: 15.21 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006766/0.6841, allocations: 416.8 kB / 0.5579 GB, free: 15.03 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.734e-05/0.6841, allocations: 87.7 kB / 0.558 GB, free: 14.93 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.395e-05/0.6842, allocations: 6 kB / 0.558 GB, free: 14.93 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003061/0.6845, allocations: 17.59 kB / 0.558 GB, free: 14.93 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.6845, allocations: 20.98 kB / 0.558 GB, free: 14.93 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/0.6846, allocations: 19.28 kB / 0.5581 GB, free: 14.92 MB / 478.1 MB Notification: Performance of sorting global known variables: time 3.832e-05/0.6846, allocations: 90.53 kB / 0.5582 GB, free: 14.85 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6846, allocations: 3.781 kB / 0.5582 GB, free: 14.85 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003458/0.685, allocations: 54.44 kB / 0.5582 GB, free: 14.85 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.0002147/0.6852, allocations: 131.2 kB / 0.5583 GB, free: 14.75 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006315/0.6858, allocations: 244.3 kB / 0.5586 GB, free: 14.75 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.6859, allocations: 0.9688 kB / 0.5586 GB, free: 14.75 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000302/0.6862, allocations: 140.3 kB / 0.5587 GB, free: 14.75 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004985/0.6867, allocations: 65.77 kB / 0.5588 GB, free: 14.74 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007746/0.6875, allocations: 343.4 kB / 0.5591 GB, free: 14.55 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.6877, allocations: 0.7052 MB / 0.5598 GB, free: 13.85 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002707/0.688, allocations: 54.12 kB / 0.5598 GB, free: 13.84 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.6882, allocations: 38.69 kB / 0.5599 GB, free: 13.84 MB / 478.1 MB Notification: Performance of SimCode: time 3.41e-07/0.6882, allocations: 1.094 kB / 0.5599 GB, free: 13.84 MB / 478.1 MB Notification: Performance of Templates: time 0.006232/0.6944, allocations: 4.136 MB / 0.5639 GB, free: 13.73 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