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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001401/0.001401, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001571/0.001571, allocations: 209.5 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 230.5 MB / 257.4 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] 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=5002,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=5002,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.IdealGasH2O") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 71.83 kB / 378.2 MB, free: 2.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2359, allocations: 53.4 MB / 431.6 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.4049/0.6408, allocations: 131.3 MB / 0.5497 GB, free: 1.266 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002135/0.643, allocations: 2.253 MB / 0.5519 GB, free: 1.262 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.995e-05/0.643, allocations: 2.25 kB / 0.5519 GB, free: 1.262 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000151/0.6432, allocations: 25.75 kB / 0.5519 GB, free: 1.262 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007722/0.6439, allocations: 339.5 kB / 0.5523 GB, free: 1.258 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001762/0.6441, allocations: 67.5 kB / 0.5523 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.6442, allocations: 103.6 kB / 0.5524 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.371e-05/0.6443, allocations: 11.12 kB / 0.5524 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.388e-05/0.6444, allocations: 38.75 kB / 0.5525 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.794e-05/0.6444, allocations: 37.23 kB / 0.5525 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.6444, allocations: 3.438 kB / 0.5525 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005569/0.645, allocations: 346 kB / 0.5528 GB, free: 1.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.597e-05/0.645, allocations: 10.23 kB / 0.5528 GB, free: 1.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.645e-05/0.6451, allocations: 35.12 kB / 0.5529 GB, free: 1.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004144/0.6455, allocations: 319.4 kB / 0.5532 GB, free: 1.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.6455, allocations: 3.5 kB / 0.5532 GB, free: 1.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.6455, allocations: 4.594 kB / 0.5532 GB, free: 1.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.6455, allocations: 0 / 0.5532 GB, free: 1.23 MB / 446.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.0009356/0.6464, allocations: 384.8 kB / 0.5536 GB, free: 16.93 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.6465, allocations: 11.45 kB / 0.5536 GB, free: 16.93 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006361/0.6528, allocations: 469.8 kB / 0.554 GB, free: 16.92 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.6529, allocations: 120.3 kB / 0.5541 GB, free: 16.78 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.653, allocations: 7.688 kB / 0.5541 GB, free: 16.78 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.78e-05/0.653, allocations: 5.406 kB / 0.5541 GB, free: 16.78 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000718/0.6537, allocations: 299 kB / 0.5544 GB, free: 16.75 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.6538, allocations: 3 kB / 0.5544 GB, free: 16.75 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.135e-05/0.6538, allocations: 1.156 kB / 0.5544 GB, free: 16.75 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.6538, allocations: 2.875 kB / 0.5544 GB, free: 16.75 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007495/0.6546, allocations: 271.5 kB / 0.5547 GB, free: 16.75 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002281/0.6548, allocations: 182.9 kB / 0.5549 GB, free: 16.61 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003647/0.6552, allocations: 150.4 kB / 0.555 GB, free: 16.58 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/0.6553, allocations: 80.11 kB / 0.5551 GB, free: 16.57 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.6554, allocations: 3.312 kB / 0.5551 GB, free: 16.57 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.6554, allocations: 40.31 kB / 0.5551 GB, free: 16.53 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 1.603e-06/0.6554, allocations: 0.8438 kB / 0.5551 GB, free: 16.53 MB / 462.1 MB Notification: Performance of matching and sorting (n=24): time 0.002041/0.6574, allocations: 0.5814 MB / 0.5557 GB, free: 16.47 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.6575, allocations: 55.09 kB / 0.5558 GB, free: 16.41 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.203e-05/0.6576, allocations: 112.7 kB / 0.5559 GB, free: 16.3 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/0.6576, allocations: 35.11 kB / 0.5559 GB, free: 16.27 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.494e-05/0.6577, allocations: 85.11 kB / 0.556 GB, free: 16.19 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.501e-05/0.6577, allocations: 86.19 kB / 0.5561 GB, free: 16.14 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.409e-05/0.6578, allocations: 46.8 kB / 0.5561 GB, free: 16.12 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.6579, allocations: 319.9 kB / 0.5564 GB, free: 15.81 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002822/0.6582, allocations: 102.2 kB / 0.5565 GB, free: 15.81 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002709/0.6585, allocations: 99.8 kB / 0.5566 GB, free: 15.81 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005586/0.6591, allocations: 223.7 kB / 0.5568 GB, free: 15.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.6591, allocations: 5.672 kB / 0.5568 GB, free: 15.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000694/0.6597, allocations: 289.9 kB / 0.5571 GB, free: 15.75 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.6598, allocations: 4.469 kB / 0.5571 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.6598, allocations: 2.5 kB / 0.5571 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.6598, allocations: 0 / 0.5571 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004409/0.6602, allocations: 58.28 kB / 0.5572 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.6602, allocations: 8.094 kB / 0.5572 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002743/0.6605, allocations: 13.94 kB / 0.5572 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.412e-05/0.6605, allocations: 12.78 kB / 0.5572 GB, free: 15.75 MB / 462.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.0001221/0.6607, allocations: 120 kB / 0.5573 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.437e-05/0.6607, allocations: 12.86 kB / 0.5573 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008628/0.6616, allocations: 357.5 kB / 0.5577 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.6616, allocations: 2.875 kB / 0.5577 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.6616, allocations: 3.938 kB / 0.5577 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.6616, allocations: 4.062 kB / 0.5577 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/0.6629, allocations: 0.6353 MB / 0.5583 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.663, allocations: 7.609 kB / 0.5583 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004019/0.6634, allocations: 60.47 kB / 0.5584 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.6634, allocations: 7.625 kB / 0.5584 GB, free: 15.28 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/0.6634, allocations: 8.375 kB / 0.5584 GB, free: 15.28 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.6634, allocations: 2.375 kB / 0.5584 GB, free: 15.28 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.6634, allocations: 4.031 kB / 0.5584 GB, free: 15.28 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007403/0.6641, allocations: 409 kB / 0.5588 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.665e-05/0.6641, allocations: 15.66 kB / 0.5588 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.6642, allocations: 5.969 kB / 0.5588 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003205/0.6645, allocations: 19.67 kB / 0.5588 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.6645, allocations: 19.86 kB / 0.5588 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.703e-05/0.6646, allocations: 14.89 kB / 0.5588 GB, free: 15.09 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.048e-05/0.6646, allocations: 87.14 kB / 0.5589 GB, free: 15.02 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6646, allocations: 0.8125 kB / 0.5589 GB, free: 15.02 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003414/0.665, allocations: 62.09 kB / 0.559 GB, free: 15.02 MB / 462.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.0002186/0.6652, allocations: 128.2 kB / 0.5591 GB, free: 14.92 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006618/0.6658, allocations: 239.2 kB / 0.5593 GB, free: 14.92 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.6658, allocations: 0 / 0.5593 GB, free: 14.92 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003151/0.6662, allocations: 130.2 kB / 0.5595 GB, free: 14.92 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005615/0.6667, allocations: 66.94 kB / 0.5595 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000905/0.6676, allocations: 341 kB / 0.5598 GB, free: 14.71 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.706e-05/0.6677, allocations: 93.33 kB / 0.5599 GB, free: 14.64 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003085/0.668, allocations: 56.53 kB / 0.56 GB, free: 14.63 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/0.6682, allocations: 40.8 kB / 0.56 GB, free: 14.62 MB / 462.1 MB Notification: Performance of SimCode: time 4.01e-07/0.6682, allocations: 2.781 kB / 0.56 GB, free: 14.62 MB / 462.1 MB Notification: Performance of Templates: time 0.007944/0.6761, allocations: 4.515 MB / 0.5644 GB, free: 14.2 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.956986345350742]