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.001287/0.001287, allocations: 79.91 kB / 21.18 MB, free: 3.387 MB / 18.57 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.001303/0.001303, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 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 0.8717/0.8717, allocations: 173.4 MB / 201.1 MB, free: 9.32 MB / 186.7 MB " [Timeout remaining time 179] 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.102e-06/1.102e-06, allocations: 3.938 kB / 268 MB, free: 6.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.34e-05/1.45e-05, allocations: 2.312 kB / 268 MB, free: 6.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2118/0.2118, allocations: 142.2 MB / 410.2 MB, free: 10.94 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002012/0.2139, allocations: 2.534 MB / 412.7 MB, free: 8.41 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.256e-05/0.2139, allocations: 0 / 412.7 MB, free: 8.41 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001389/0.214, allocations: 20.98 kB / 412.7 MB, free: 8.391 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006077/0.2146, allocations: 338.8 kB / 413.1 MB, free: 8.066 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001183/0.2148, allocations: 59.73 kB / 413.1 MB, free: 8.008 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 8.517e-05/0.2148, allocations: 83.48 kB / 413.2 MB, free: 7.926 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.813e-05/0.2149, allocations: 3.984 kB / 413.2 MB, free: 7.922 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.215, allocations: 47.83 kB / 413.3 MB, free: 7.875 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.135e-05/0.215, allocations: 19.92 kB / 413.3 MB, free: 7.855 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.215, allocations: 4 kB / 413.3 MB, free: 7.852 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004218/0.2155, allocations: 339.4 kB / 413.6 MB, free: 7.52 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/0.2155, allocations: 15.92 kB / 413.6 MB, free: 7.504 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.657e-05/0.2155, allocations: 15.94 kB / 413.6 MB, free: 7.488 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003541/0.2159, allocations: 343.1 kB / 414 MB, free: 7.152 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2159, allocations: 0 / 414 MB, free: 7.152 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.083e-06/0.2159, allocations: 0 / 414 MB, free: 7.152 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.2159, allocations: 0 / 414 MB, free: 7.152 MB / 362.7 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.0005368/0.2164, allocations: 456.6 kB / 414.4 MB, free: 6.672 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.2164, allocations: 8.922 kB / 414.4 MB, free: 6.664 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002852/0.2193, allocations: 456.1 kB / 414.9 MB, free: 6.219 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.055e-05/0.2193, allocations: 116.6 kB / 415 MB, free: 6.078 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.2194, allocations: 0.5625 kB / 415 MB, free: 6.078 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.772e-05/0.2194, allocations: 23.83 kB / 415 MB, free: 6.055 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000403/0.2198, allocations: 298.7 kB / 415.3 MB, free: 5.754 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.2198, allocations: 0 / 415.3 MB, free: 5.754 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.594e-05/0.2199, allocations: 4 kB / 415.3 MB, free: 5.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.2199, allocations: 4 kB / 415.3 MB, free: 5.746 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003137/0.2202, allocations: 247 kB / 415.6 MB, free: 5.508 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005519/0.2207, allocations: 388.4 kB / 415.9 MB, free: 5.094 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003869/0.2211, allocations: 170.8 kB / 416.1 MB, free: 4.914 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.366e-05/0.2212, allocations: 59.66 kB / 416.2 MB, free: 4.852 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.2212, allocations: 8 kB / 416.2 MB, free: 4.844 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.2212, allocations: 37.39 kB / 416.2 MB, free: 4.797 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.2212, allocations: 0 / 416.2 MB, free: 4.797 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006986/0.2219, allocations: 335.1 kB / 416.5 MB, free: 4.465 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.222, allocations: 59.41 kB / 416.6 MB, free: 4.395 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.759e-05/0.222, allocations: 165.8 kB / 416.8 MB, free: 4.215 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.222, allocations: 29.7 kB / 416.8 MB, free: 4.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.363e-05/0.2221, allocations: 142.8 kB / 416.9 MB, free: 4.035 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.762e-05/0.2221, allocations: 63.42 kB / 417 MB, free: 3.973 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.424e-05/0.2222, allocations: 47.36 kB / 417 MB, free: 3.918 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.2223, allocations: 0.4923 MB / 417.5 MB, free: 3.414 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.734e-05/0.2224, allocations: 47.97 kB / 417.6 MB, free: 3.367 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.2225, allocations: 113.2 kB / 417.7 MB, free: 3.238 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/0.2227, allocations: 166.4 kB / 417.8 MB, free: 3.055 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.2227, allocations: 0 / 417.8 MB, free: 3.055 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002531/0.2229, allocations: 207.9 kB / 418 MB, free: 2.848 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.2229, allocations: 11.94 kB / 418.1 MB, free: 2.836 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.2229, allocations: 192 / 418.1 MB, free: 2.836 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.2229, allocations: 0 / 418.1 MB, free: 2.836 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.2231, allocations: 47.97 kB / 418.1 MB, free: 2.789 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.2231, allocations: 3.938 kB / 418.1 MB, free: 2.785 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.234e-05/0.2232, allocations: 15.97 kB / 418.1 MB, free: 2.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.554e-05/0.2232, allocations: 12.69 kB / 418.1 MB, free: 2.758 MB / 362.7 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 7.636e-05/0.2233, allocations: 164.5 kB / 418.3 MB, free: 2.586 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.2233, allocations: 23.95 kB / 418.3 MB, free: 2.562 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003192/0.2237, allocations: 225.9 kB / 418.5 MB, free: 2.332 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.2237, allocations: 11.44 kB / 418.6 MB, free: 2.324 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.2237, allocations: 0 / 418.6 MB, free: 2.324 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2237, allocations: 3.984 kB / 418.6 MB, free: 2.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005289/0.2242, allocations: 0.4968 MB / 419.1 MB, free: 1.773 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.2242, allocations: 3.984 kB / 419.1 MB, free: 1.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.2243, allocations: 47.91 kB / 419.1 MB, free: 1.723 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2243, allocations: 0 / 419.1 MB, free: 1.723 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.2244, allocations: 8.062 kB / 419.1 MB, free: 1.715 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2244, allocations: 0 / 419.1 MB, free: 1.715 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2244, allocations: 4 kB / 419.1 MB, free: 1.711 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.2246, allocations: 355.5 kB / 419.5 MB, free: 1.336 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.127e-06/0.2246, allocations: 7.953 kB / 419.5 MB, free: 1.328 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.2247, allocations: 4 kB / 419.5 MB, free: 1.324 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.969e-05/0.2248, allocations: 11.98 kB / 419.5 MB, free: 1.312 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.477e-05/0.2248, allocations: 11.92 kB / 419.5 MB, free: 1.301 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002575/0.225, allocations: 15.98 kB / 419.5 MB, free: 1.285 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.924e-05/0.2251, allocations: 127.2 kB / 419.6 MB, free: 1.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2251, allocations: 0 / 419.6 MB, free: 1.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002014/0.2253, allocations: 40 kB / 419.7 MB, free: 1.121 MB / 362.7 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.0001626/0.2254, allocations: 128.6 kB / 419.8 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002315/0.2257, allocations: 169.6 kB / 420 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2257, allocations: 0 / 420 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.174e-05/0.2258, allocations: 92.28 kB / 420.1 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.226, allocations: 46.38 kB / 420.1 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006167/0.2266, allocations: 268.9 kB / 420.4 MB, free: 400 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.558e-05/0.2267, allocations: 59.86 kB / 420.4 MB, free: 320 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001682/0.2268, allocations: 60.59 kB / 420.5 MB, free: 260 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.704e-05/0.2269, allocations: 36.47 kB / 420.5 MB, free: 224 kB / 362.7 MB Notification: Performance of SimCode: time 8.01e-07/0.2269, allocations: 0 / 420.5 MB, free: 224 kB / 362.7 MB Notification: Performance of Templates: time 0.004662/0.2316, allocations: 3.648 MB / 424.2 MB, free: 12.62 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7848682650364935]