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.001288/0.001288, allocations: 114.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001357/0.001357, allocations: 204 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.4 MB / 247.6 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 59.91 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2084, allocations: 50.54 MB / 409.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3454/0.5538, allocations: 152.2 MB / 0.5489 GB, free: 1.438 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001952/0.5558, allocations: 2.545 MB / 0.5514 GB, free: 1.422 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.661e-05/0.5559, allocations: 0.9688 kB / 0.5514 GB, free: 1.422 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001352/0.556, allocations: 29.3 kB / 0.5514 GB, free: 1.422 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006712/0.5567, allocations: 336.9 kB / 0.5518 GB, free: 1.418 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001738/0.5569, allocations: 63.86 kB / 0.5518 GB, free: 1.414 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.471e-05/0.557, allocations: 105.8 kB / 0.5519 GB, free: 1.414 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.926e-05/0.5571, allocations: 6.031 kB / 0.5519 GB, free: 1.414 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.036e-05/0.5572, allocations: 43.06 kB / 0.552 GB, free: 1.414 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.536e-05/0.5572, allocations: 43.33 kB / 0.552 GB, free: 1.414 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/0.5573, allocations: 4.094 kB / 0.552 GB, free: 1.414 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005626/0.5578, allocations: 363.9 kB / 0.5524 GB, free: 1.41 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.423e-05/0.5578, allocations: 15.91 kB / 0.5524 GB, free: 1.41 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.933e-05/0.5579, allocations: 36.81 kB / 0.5524 GB, free: 1.41 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003827/0.5583, allocations: 319.4 kB / 0.5527 GB, free: 1.395 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.5583, allocations: 0 / 0.5527 GB, free: 1.395 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.5583, allocations: 0 / 0.5527 GB, free: 1.395 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.5583, allocations: 0.9375 kB / 0.5527 GB, free: 1.395 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.0008628/0.5592, allocations: 457.8 kB / 0.5532 GB, free: 17.01 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.5592, allocations: 10.64 kB / 0.5532 GB, free: 17.01 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006469/0.5657, allocations: 461.4 kB / 0.5536 GB, free: 17 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.5658, allocations: 182.6 kB / 0.5538 GB, free: 16.8 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.5658, allocations: 3.875 kB / 0.5538 GB, free: 16.8 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.867e-05/0.5659, allocations: 10.09 kB / 0.5538 GB, free: 16.79 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006931/0.5666, allocations: 300.2 kB / 0.5541 GB, free: 16.76 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.5666, allocations: 0.9375 kB / 0.5541 GB, free: 16.76 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.407e-05/0.5667, allocations: 0 / 0.5541 GB, free: 16.76 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.5667, allocations: 2.469 kB / 0.5541 GB, free: 16.76 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007564/0.5675, allocations: 279 kB / 0.5544 GB, free: 16.76 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002244/0.5677, allocations: 249.5 kB / 0.5546 GB, free: 16.55 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003526/0.568, allocations: 165.5 kB / 0.5548 GB, free: 16.53 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/0.5683, allocations: 80.73 kB / 0.5548 GB, free: 16.52 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.5683, allocations: 7.172 kB / 0.5548 GB, free: 16.52 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.5683, allocations: 39.64 kB / 0.5549 GB, free: 16.48 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 2.104e-06/0.5683, allocations: 2.531 kB / 0.5549 GB, free: 16.48 MB / 478.1 MB Notification: Performance of matching and sorting (n=24): time 0.001988/0.5703, allocations: 0.5746 MB / 0.5554 GB, free: 16.42 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.5704, allocations: 58 kB / 0.5555 GB, free: 16.36 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.246e-05/0.5704, allocations: 105.6 kB / 0.5556 GB, free: 16.26 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.5705, allocations: 31.14 kB / 0.5556 GB, free: 16.23 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.931e-05/0.5705, allocations: 91.56 kB / 0.5557 GB, free: 16.14 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.338e-05/0.5706, allocations: 78.48 kB / 0.5558 GB, free: 16.09 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.704e-05/0.5707, allocations: 45.09 kB / 0.5558 GB, free: 16.08 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.829e-05/0.5707, allocations: 323.7 kB / 0.5561 GB, free: 15.77 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002857/0.571, allocations: 100.8 kB / 0.5562 GB, free: 15.77 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002747/0.5713, allocations: 104.7 kB / 0.5563 GB, free: 15.77 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005744/0.5719, allocations: 223.8 kB / 0.5565 GB, free: 15.75 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.5719, allocations: 0 / 0.5565 GB, free: 15.75 MB / 478.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006968/0.5726, allocations: 290.1 kB / 0.5568 GB, free: 15.71 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.5726, allocations: 5.188 kB / 0.5568 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.5727, allocations: 5.016 kB / 0.5568 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.5727, allocations: 1.281 kB / 0.5568 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004282/0.5731, allocations: 54.97 kB / 0.5569 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.5731, allocations: 8.156 kB / 0.5569 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002704/0.5734, allocations: 17.66 kB / 0.5569 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.5734, allocations: 15.3 kB / 0.5569 GB, free: 15.7 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.0001044/0.5736, allocations: 128.3 kB / 0.557 GB, free: 15.58 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.405e-05/0.5736, allocations: 8.375 kB / 0.5571 GB, free: 15.58 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008718/0.5745, allocations: 351.1 kB / 0.5574 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.5745, allocations: 7 kB / 0.5574 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.5745, allocations: 4.969 kB / 0.5574 GB, free: 15.53 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.029e-05/0.5745, allocations: 88.8 kB / 0.5575 GB, free: 15.43 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.959e-05/0.5746, allocations: 3.25 kB / 0.5575 GB, free: 15.43 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002889/0.5749, allocations: 18.64 kB / 0.5575 GB, free: 15.43 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.5749, allocations: 13.78 kB / 0.5575 GB, free: 15.43 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009876/0.5759, allocations: 394.8 kB / 0.5579 GB, free: 15.32 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007485/0.5767, allocations: 481.3 kB / 0.5584 GB, free: 15.11 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003005/0.577, allocations: 139.6 kB / 0.5585 GB, free: 15.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 3.907e-05/0.577, allocations: 87.08 kB / 0.5586 GB, free: 15.03 MB / 478.1 MB Notification: Performance of Backend: time 2.6e-07/0.577, allocations: 0.9062 kB / 0.5586 GB, free: 15.03 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0009541/0.578, allocations: 353.8 kB / 0.5589 GB, free: 14.94 MB / 478.1 MB Notification: Performance of SimCode: time 0.0005163/0.5785, allocations: 0.6803 MB / 0.5596 GB, free: 14.32 MB / 478.1 MB Notification: Performance of Templates: time 0.007737/0.5863, allocations: 5.934 MB / 0.5654 GB, free: 14.04 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches