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.001762/0.001762, allocations: 84.95 kB / 20.68 MB, free: 1.035 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.002069/0.002069, allocations: 158.2 kB / 23.95 MB, free: 4.168 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.459/1.459, allocations: 177 MB / 204.1 MB, free: 9.168 MB / 190.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 1.653e-06/1.653e-06, allocations: 0 / 325 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.372e-05, allocations: 3.75 kB / 325 MB, free: 0.5 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.1643/0.1643, allocations: 131.3 MB / 456.3 MB, free: 1.281 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003448/0.1677, allocations: 2.265 MB / 458.6 MB, free: 15.01 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.1678, allocations: 4 kB / 458.6 MB, free: 15 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002335/0.1681, allocations: 19.84 kB / 458.6 MB, free: 14.98 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001484/0.1696, allocations: 342 kB / 458.9 MB, free: 14.65 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003101/0.1699, allocations: 63.61 kB / 459 MB, free: 14.59 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000203/0.1701, allocations: 111.3 kB / 459.1 MB, free: 14.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.571e-05/0.1701, allocations: 4 kB / 459.1 MB, free: 14.47 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001978/0.1703, allocations: 67.75 kB / 459.2 MB, free: 14.41 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.142e-05/0.1704, allocations: 27.91 kB / 459.2 MB, free: 14.38 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.1704, allocations: 4 kB / 459.2 MB, free: 14.38 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009065/0.1713, allocations: 355.3 kB / 459.6 MB, free: 14.03 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.013e-05/0.1713, allocations: 7.938 kB / 459.6 MB, free: 14.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.021e-05/0.1714, allocations: 31.91 kB / 459.6 MB, free: 13.99 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007631/0.1722, allocations: 355.1 kB / 459.9 MB, free: 13.64 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1722, allocations: 0 / 459.9 MB, free: 13.64 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1722, allocations: 0 / 459.9 MB, free: 13.64 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.91e-06/0.1722, allocations: 0 / 459.9 MB, free: 13.64 MB / 430.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.001031/0.1732, allocations: 381.6 kB / 460.3 MB, free: 13.24 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.1732, allocations: 11.98 kB / 460.3 MB, free: 13.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006713/0.18, allocations: 492.2 kB / 460.8 MB, free: 12.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.1801, allocations: 125.3 kB / 460.9 MB, free: 12.6 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.1801, allocations: 8 kB / 460.9 MB, free: 12.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.652e-05/0.1802, allocations: 4 kB / 460.9 MB, free: 12.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008893/0.1811, allocations: 305.2 kB / 461.2 MB, free: 12.28 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.1811, allocations: 0 / 461.2 MB, free: 12.28 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.259e-05/0.1812, allocations: 4 kB / 461.2 MB, free: 12.28 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.1812, allocations: 4 kB / 461.2 MB, free: 12.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009377/0.1821, allocations: 282.7 kB / 461.5 MB, free: 12 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002834/0.1824, allocations: 177.2 kB / 461.7 MB, free: 11.8 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004614/0.1829, allocations: 150.7 kB / 461.8 MB, free: 11.64 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002491/0.1831, allocations: 80.81 kB / 461.9 MB, free: 11.56 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.1831, allocations: 4 kB / 461.9 MB, free: 11.55 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.1832, allocations: 34.5 kB / 462 MB, free: 11.51 MB / 430.1 MB Notification: Performance of pre-optimization done (n=17): time 1.643e-06/0.1832, allocations: 0 / 462 MB, free: 11.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.002466/0.1856, allocations: 0.5779 MB / 462.5 MB, free: 10.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.1857, allocations: 51.41 kB / 462.6 MB, free: 10.87 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.1858, allocations: 121.8 kB / 462.7 MB, free: 10.74 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.11e-05/0.1858, allocations: 29.7 kB / 462.7 MB, free: 10.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.371e-05/0.1859, allocations: 84.64 kB / 462.8 MB, free: 10.62 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.759e-05/0.186, allocations: 83.27 kB / 462.9 MB, free: 10.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.1861, allocations: 45.7 kB / 462.9 MB, free: 10.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.1863, allocations: 326.8 kB / 463.3 MB, free: 10.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003566/0.1866, allocations: 103.9 kB / 463.4 MB, free: 10.05 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003354/0.187, allocations: 103.8 kB / 463.5 MB, free: 9.953 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007082/0.1877, allocations: 222.8 kB / 463.7 MB, free: 9.734 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1877, allocations: 0 / 463.7 MB, free: 9.734 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008526/0.1885, allocations: 290.1 kB / 464 MB, free: 9.445 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.1885, allocations: 4 kB / 464 MB, free: 9.441 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1885, allocations: 0 / 464 MB, free: 9.441 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.1886, allocations: 7.938 kB / 464 MB, free: 9.434 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004919/0.1891, allocations: 51.89 kB / 464 MB, free: 9.383 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.1891, allocations: 8 kB / 464 MB, free: 9.375 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003121/0.1894, allocations: 15.92 kB / 464.1 MB, free: 9.359 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.36e-05/0.1894, allocations: 11.98 kB / 464.1 MB, free: 9.348 MB / 430.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.0001415/0.1896, allocations: 117.8 kB / 464.2 MB, free: 9.223 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.048e-05/0.1896, allocations: 11.95 kB / 464.2 MB, free: 9.211 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/0.1907, allocations: 354.2 kB / 464.5 MB, free: 8.852 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.1907, allocations: 4 kB / 464.5 MB, free: 8.848 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1907, allocations: 0 / 464.5 MB, free: 8.848 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.1907, allocations: 7.984 kB / 464.5 MB, free: 8.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001672/0.1924, allocations: 0.6234 MB / 465.2 MB, free: 8.164 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.1924, allocations: 4.156 kB / 465.2 MB, free: 8.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004539/0.1928, allocations: 55.95 kB / 465.2 MB, free: 8.105 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.1928, allocations: 0 / 465.2 MB, free: 8.105 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.01e-05/0.1929, allocations: 15.92 kB / 465.2 MB, free: 8.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/0.1929, allocations: 7.938 kB / 465.3 MB, free: 8.082 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.1929, allocations: 4 kB / 465.3 MB, free: 8.078 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009235/0.1938, allocations: 404.3 kB / 465.7 MB, free: 7.652 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.742e-05/0.1938, allocations: 11.91 kB / 465.7 MB, free: 7.641 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.826e-05/0.1939, allocations: 11.94 kB / 465.7 MB, free: 7.629 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003431/0.1942, allocations: 15.97 kB / 465.7 MB, free: 7.613 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.197e-05/0.1943, allocations: 23.91 kB / 465.7 MB, free: 7.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.763e-05/0.1943, allocations: 16 kB / 465.7 MB, free: 7.574 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.356e-05/0.1944, allocations: 83.27 kB / 465.8 MB, free: 7.492 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1944, allocations: 0 / 465.8 MB, free: 7.492 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003834/0.1948, allocations: 63.94 kB / 465.9 MB, free: 7.43 MB / 430.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.000262/0.195, allocations: 127.1 kB / 466 MB, free: 7.297 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000806/0.1958, allocations: 252.3 kB / 466.2 MB, free: 7.051 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.1958, allocations: 0 / 466.2 MB, free: 7.051 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004025/0.1962, allocations: 130.8 kB / 466.4 MB, free: 6.926 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005834/0.1968, allocations: 58.42 kB / 466.4 MB, free: 6.875 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009846/0.1978, allocations: 338.5 kB / 466.8 MB, free: 6.504 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.448e-05/0.1979, allocations: 90.09 kB / 466.8 MB, free: 6.398 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002986/0.1982, allocations: 57.45 kB / 466.9 MB, free: 6.344 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002061/0.1984, allocations: 44.45 kB / 466.9 MB, free: 6.297 MB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1984, allocations: 0 / 466.9 MB, free: 6.297 MB / 430.1 MB Notification: Performance of Templates: time 0.00913/0.2075, allocations: 4.343 MB / 471.3 MB, free: 1.992 MB / 430.1 MB " [Timeout remaining time 660] 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.747555166482925]