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.001408/0.001408, allocations: 80.67 kB / 20.68 MB, free: 1.035 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.001381/0.001381, allocations: 154.9 kB / 23.94 MB, free: 4.176 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.453/1.453, allocations: 173.4 MB / 200.4 MB, free: 12.86 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 1.192e-06/1.192e-06, allocations: 0 / 318.9 MB, free: 3.57 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.193e-05/2.312e-05, allocations: 7.875 kB / 318.9 MB, free: 3.562 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.1642/0.1642, allocations: 128.3 MB / 447.2 MB, free: 10.88 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00302/0.1673, allocations: 2.238 MB / 449.5 MB, free: 8.637 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.773e-05/0.1673, allocations: 0 / 449.5 MB, free: 8.637 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001528/0.1675, allocations: 23.84 kB / 449.5 MB, free: 8.613 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001032/0.1685, allocations: 334 kB / 449.8 MB, free: 8.285 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.1687, allocations: 67.61 kB / 449.9 MB, free: 8.219 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.1688, allocations: 71.55 kB / 450 MB, free: 8.148 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.619e-05/0.1689, allocations: 7.984 kB / 450 MB, free: 8.141 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.169, allocations: 47.83 kB / 450 MB, free: 8.094 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.446e-05/0.1691, allocations: 23.92 kB / 450 MB, free: 8.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.1691, allocations: 4 kB / 450 MB, free: 8.066 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000752/0.1698, allocations: 339.4 kB / 450.4 MB, free: 7.734 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.815e-05/0.1699, allocations: 11.92 kB / 450.4 MB, free: 7.723 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.212e-05/0.1699, allocations: 19.94 kB / 450.4 MB, free: 7.703 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006431/0.1705, allocations: 327.3 kB / 450.7 MB, free: 7.383 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1705, allocations: 15.88 kB / 450.7 MB, free: 7.367 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1705, allocations: 0 / 450.7 MB, free: 7.367 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.1705, allocations: 0 / 450.7 MB, free: 7.367 MB / 414.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.0009217/0.1715, allocations: 353.8 kB / 451.1 MB, free: 6.992 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.1715, allocations: 12.92 kB / 451.1 MB, free: 6.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006796/0.1783, allocations: 484.2 kB / 451.6 MB, free: 6.508 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.1784, allocations: 113.7 kB / 451.7 MB, free: 6.371 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.1784, allocations: 12.12 kB / 451.7 MB, free: 6.359 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.852e-05/0.1785, allocations: 4 kB / 451.7 MB, free: 6.355 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008856/0.1794, allocations: 301.2 kB / 452 MB, free: 6.055 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.1794, allocations: 4 kB / 452 MB, free: 6.051 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.005e-05/0.1795, allocations: 0 / 452 MB, free: 6.051 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.1795, allocations: 4 kB / 452 MB, free: 6.047 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009308/0.1804, allocations: 275.8 kB / 452.3 MB, free: 5.777 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.1815, allocations: 368.5 kB / 452.6 MB, free: 5.387 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.1826, allocations: 190.4 kB / 452.8 MB, free: 5.191 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002207/0.1828, allocations: 72.81 kB / 452.9 MB, free: 5.117 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.1828, allocations: 4 kB / 452.9 MB, free: 5.113 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.1829, allocations: 30.56 kB / 452.9 MB, free: 5.074 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.684e-06/0.1829, allocations: 0 / 452.9 MB, free: 5.074 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.00196/0.1848, allocations: 425.5 kB / 453.3 MB, free: 4.652 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.1849, allocations: 59.34 kB / 453.4 MB, free: 4.582 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.855e-05/0.185, allocations: 97.86 kB / 453.5 MB, free: 4.477 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.103e-05/0.185, allocations: 33.69 kB / 453.5 MB, free: 4.438 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.028e-05/0.1851, allocations: 95.98 kB / 453.6 MB, free: 4.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.375e-05/0.1851, allocations: 63.42 kB / 453.7 MB, free: 4.277 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.1852, allocations: 45.66 kB / 453.7 MB, free: 4.227 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1854, allocations: 318.8 kB / 454 MB, free: 3.906 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003054/0.1857, allocations: 79.94 kB / 454.1 MB, free: 3.828 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000329/0.186, allocations: 116.2 kB / 454.2 MB, free: 3.699 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000657/0.1867, allocations: 203.3 kB / 454.4 MB, free: 3.488 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.1867, allocations: 0 / 454.4 MB, free: 3.488 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007735/0.1874, allocations: 249.4 kB / 454.7 MB, free: 3.238 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1875, allocations: 8 kB / 454.7 MB, free: 3.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1875, allocations: 0 / 454.7 MB, free: 3.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.1875, allocations: 0 / 454.7 MB, free: 3.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004189/0.1879, allocations: 55.94 kB / 454.7 MB, free: 3.176 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.1879, allocations: 3.938 kB / 454.7 MB, free: 3.172 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002733/0.1882, allocations: 20.11 kB / 454.8 MB, free: 3.152 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.325e-05/0.1882, allocations: 11.98 kB / 454.8 MB, free: 3.141 MB / 414.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.0001252/0.1883, allocations: 117.8 kB / 454.9 MB, free: 3.016 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.221e-05/0.1884, allocations: 7.938 kB / 454.9 MB, free: 3.008 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009166/0.1893, allocations: 288.2 kB / 455.2 MB, free: 2.723 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.1893, allocations: 4 kB / 455.2 MB, free: 2.719 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1893, allocations: 0 / 455.2 MB, free: 2.719 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.1893, allocations: 3.984 kB / 455.2 MB, free: 2.715 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001393/0.1907, allocations: 0.5137 MB / 455.7 MB, free: 2.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.1907, allocations: 0 / 455.7 MB, free: 2.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003799/0.1911, allocations: 51.95 kB / 455.7 MB, free: 2.109 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1911, allocations: 0 / 455.7 MB, free: 2.109 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.325e-05/0.1911, allocations: 11.98 kB / 455.8 MB, free: 2.098 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.1911, allocations: 4 kB / 455.8 MB, free: 2.094 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1911, allocations: 4 kB / 455.8 MB, free: 2.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007856/0.1919, allocations: 325.4 kB / 456.1 MB, free: 1.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.745e-05/0.192, allocations: 11.95 kB / 456.1 MB, free: 1.738 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.646e-05/0.192, allocations: 0 / 456.1 MB, free: 1.738 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002942/0.1923, allocations: 15.98 kB / 456.1 MB, free: 1.723 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.1923, allocations: 15.91 kB / 456.1 MB, free: 1.707 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-05/0.1924, allocations: 16 kB / 456.1 MB, free: 1.691 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.523e-05/0.1924, allocations: 83.25 kB / 456.2 MB, free: 1.609 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1924, allocations: 0 / 456.2 MB, free: 1.609 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003666/0.1928, allocations: 47.94 kB / 456.3 MB, free: 1.562 MB / 414.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.0002532/0.193, allocations: 126.5 kB / 456.4 MB, free: 1.434 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007308/0.1938, allocations: 196 kB / 456.6 MB, free: 1.242 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/0.1938, allocations: 0 / 456.6 MB, free: 1.242 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003285/0.1941, allocations: 91.88 kB / 456.7 MB, free: 1.152 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004882/0.1946, allocations: 38.59 kB / 456.7 MB, free: 1.117 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009108/0.1955, allocations: 266.8 kB / 457 MB, free: 0.8242 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.857e-05/0.1956, allocations: 79.81 kB / 457.1 MB, free: 0.7266 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002886/0.1959, allocations: 60.53 kB / 457.1 MB, free: 0.6641 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.196, allocations: 32.42 kB / 457.1 MB, free: 0.6328 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.196, allocations: 0 / 457.1 MB, free: 0.6328 MB / 414.1 MB Notification: Performance of Templates: time 0.007747/0.2038, allocations: 3.178 MB / 460.3 MB, free: 13.49 MB / 430.1 MB " [Timeout remaining time 660] 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/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_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: 4.620684634894133]