Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 119.4 kB / 18.46 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 192.3 kB / 21.4 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 225.6 MB / 249.8 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Media.Examples.IdealGasH2O") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 51.92 kB / 366.8 MB, free: 376 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1143, allocations: 52.14 MB / 418.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.4338/0.5481, allocations: 149.7 MB / 0.5553 GB, free: 432 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003042/0.5511, allocations: 2.534 MB / 0.5577 GB, free: 13.89 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.494e-05/0.5512, allocations: 0 / 0.5577 GB, free: 13.89 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001639/0.5513, allocations: 19.89 kB / 0.5578 GB, free: 13.87 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009926/0.5523, allocations: 324.9 kB / 0.5581 GB, free: 13.55 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001899/0.5525, allocations: 63.73 kB / 0.5581 GB, free: 13.49 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.5526, allocations: 71.61 kB / 0.5582 GB, free: 13.42 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.48e-05/0.5527, allocations: 7.984 kB / 0.5582 GB, free: 13.41 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.5528, allocations: 35.8 kB / 0.5582 GB, free: 13.38 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.234e-05/0.5529, allocations: 27.86 kB / 0.5583 GB, free: 13.35 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.468e-06/0.5529, allocations: 1.406 kB / 0.5583 GB, free: 13.35 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007711/0.5537, allocations: 367.5 kB / 0.5586 GB, free: 12.99 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.172e-05/0.5537, allocations: 0 / 0.5586 GB, free: 12.99 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.598e-05/0.5537, allocations: 35.84 kB / 0.5587 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005167/0.5542, allocations: 296.8 kB / 0.5589 GB, free: 12.67 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.5542, allocations: 4 kB / 0.5589 GB, free: 12.66 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.5542, allocations: 0 / 0.5589 GB, free: 12.66 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.5542, allocations: 0 / 0.5589 GB, free: 12.66 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.0009439/0.5552, allocations: 441.2 kB / 0.5594 GB, free: 12.19 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.5552, allocations: 12.03 kB / 0.5594 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006443/0.5617, allocations: 456.7 kB / 0.5598 GB, free: 11.73 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.5618, allocations: 176.5 kB / 0.56 GB, free: 11.52 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.5619, allocations: 8 kB / 0.56 GB, free: 11.51 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.562, allocations: 8 kB / 0.56 GB, free: 11.5 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008613/0.5628, allocations: 296.2 kB / 0.5603 GB, free: 11.21 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.5628, allocations: 12.64 kB / 0.5603 GB, free: 11.2 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.191e-05/0.5629, allocations: 4 kB / 0.5603 GB, free: 11.2 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.5629, allocations: 0 / 0.5603 GB, free: 11.2 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000902/0.5638, allocations: 272.5 kB / 0.5605 GB, free: 10.93 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.565, allocations: 441.9 kB / 0.561 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.5661, allocations: 194.4 kB / 0.5612 GB, free: 10.25 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000212/0.5663, allocations: 64.81 kB / 0.5612 GB, free: 10.18 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.5663, allocations: 4.656 kB / 0.5612 GB, free: 10.18 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.5663, allocations: 34.56 kB / 0.5613 GB, free: 10.14 MB / 462.1 MB Notification: Performance of pre-optimization done (n=13): time 2.585e-06/0.5663, allocations: 4 kB / 0.5613 GB, free: 10.13 MB / 462.1 MB Notification: Performance of matching and sorting (n=17): time 0.00191/0.5683, allocations: 425.3 kB / 0.5617 GB, free: 9.711 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.5683, allocations: 59.34 kB / 0.5617 GB, free: 9.641 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.5684, allocations: 101.8 kB / 0.5618 GB, free: 9.531 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.5684, allocations: 25.7 kB / 0.5618 GB, free: 9.5 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.519e-05/0.5685, allocations: 94.95 kB / 0.5619 GB, free: 9.406 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.864e-05/0.5686, allocations: 63.41 kB / 0.562 GB, free: 9.344 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.5687, allocations: 45.69 kB / 0.562 GB, free: 9.293 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.5689, allocations: 322.8 kB / 0.5623 GB, free: 8.969 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002842/0.5692, allocations: 75.94 kB / 0.5624 GB, free: 8.895 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000328/0.5695, allocations: 120.7 kB / 0.5625 GB, free: 8.762 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006135/0.5701, allocations: 210.3 kB / 0.5627 GB, free: 8.543 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.5701, allocations: 0 / 0.5627 GB, free: 8.543 MB / 462.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007542/0.5709, allocations: 237.4 kB / 0.563 GB, free: 8.305 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.5709, allocations: 8.125 kB / 0.563 GB, free: 8.297 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.5709, allocations: 4.938 kB / 0.563 GB, free: 8.293 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.5709, allocations: 0 / 0.563 GB, free: 8.293 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004053/0.5713, allocations: 51.89 kB / 0.563 GB, free: 8.242 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.5713, allocations: 4 kB / 0.563 GB, free: 8.238 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002647/0.5716, allocations: 15.98 kB / 0.563 GB, free: 8.223 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.23e-05/0.5716, allocations: 11.98 kB / 0.5631 GB, free: 8.211 MB / 462.1 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 0.0001555/0.5718, allocations: 125.8 kB / 0.5632 GB, free: 8.078 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.871e-05/0.5718, allocations: 7.953 kB / 0.5632 GB, free: 8.07 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009034/0.5727, allocations: 284.3 kB / 0.5635 GB, free: 7.793 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.5728, allocations: 0 / 0.5635 GB, free: 7.793 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.5728, allocations: 0.625 kB / 0.5635 GB, free: 7.793 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.5728, allocations: 4 kB / 0.5635 GB, free: 7.789 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001407/0.5742, allocations: 0.5665 MB / 0.564 GB, free: 7.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.5742, allocations: 4 kB / 0.564 GB, free: 7.156 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003542/0.5745, allocations: 47.52 kB / 0.5641 GB, free: 7.113 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.5745, allocations: 4 kB / 0.5641 GB, free: 7.109 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.729e-05/0.5746, allocations: 16 kB / 0.5641 GB, free: 7.094 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.5746, allocations: 0 / 0.5641 GB, free: 7.094 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.5746, allocations: 3.938 kB / 0.5641 GB, free: 7.09 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007325/0.5753, allocations: 337.3 kB / 0.5644 GB, free: 6.738 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.676e-05/0.5754, allocations: 85.06 kB / 0.5645 GB, free: 6.637 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.309e-05/0.5754, allocations: 7.938 kB / 0.5645 GB, free: 6.629 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002752/0.5757, allocations: 15.98 kB / 0.5645 GB, free: 6.613 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.5757, allocations: 15.92 kB / 0.5645 GB, free: 6.598 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.877e-05/0.5757, allocations: 11.98 kB / 0.5645 GB, free: 6.586 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.91e-05/0.5758, allocations: 83.28 kB / 0.5646 GB, free: 6.504 MB / 462.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5758, allocations: 0 / 0.5646 GB, free: 6.504 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003537/0.5762, allocations: 44 kB / 0.5647 GB, free: 6.461 MB / 462.1 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.0002724/0.5764, allocations: 127 kB / 0.5648 GB, free: 6.328 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007138/0.5771, allocations: 195.7 kB / 0.565 GB, free: 6.137 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.5771, allocations: 0 / 0.565 GB, free: 6.137 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003165/0.5775, allocations: 100.2 kB / 0.5651 GB, free: 6.039 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004469/0.5779, allocations: 35.44 kB / 0.5651 GB, free: 6.008 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008759/0.5788, allocations: 293 kB / 0.5654 GB, free: 5.684 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.5791, allocations: 0.6967 MB / 0.5661 GB, free: 4.961 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/0.5793, allocations: 35.41 kB / 0.5661 GB, free: 4.926 MB / 462.1 MB Notification: Performance of SimCode: time 5.21e-07/0.5793, allocations: 0 / 0.5661 GB, free: 4.926 MB / 462.1 MB Notification: Performance of Templates: time 0.004739/0.584, allocations: 2.348 MB / 0.5684 GB, free: 2.578 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 7.3568941911216825]