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.001315/0.001315, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 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.001493/0.001493, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 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 0.9135/0.9135, allocations: 177 MB / 205.2 MB, free: 5.051 MB / 186.7 MB " [Timeout remaining time 179] 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.644e-06/1.644e-06, allocations: 0 / 273.4 MB, free: 1.109 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.6e-05/1.765e-05, allocations: 6.312 kB / 273.4 MB, free: 1.102 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2215/0.2215, allocations: 144.6 MB / 418 MB, free: 248 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002088/0.2236, allocations: 2.547 MB / 420.5 MB, free: 13.7 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.084e-05/0.2236, allocations: 4 kB / 420.5 MB, free: 13.7 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001251/0.2238, allocations: 30.02 kB / 420.5 MB, free: 13.67 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007682/0.2245, allocations: 353.1 kB / 420.9 MB, free: 13.33 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001497/0.2247, allocations: 67.72 kB / 420.9 MB, free: 13.26 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.363e-05/0.2248, allocations: 111.3 kB / 421.1 MB, free: 13.15 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.586e-05/0.2248, allocations: 4 kB / 421.1 MB, free: 13.15 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.2249, allocations: 67.7 kB / 421.1 MB, free: 13.08 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.76e-05/0.225, allocations: 27.91 kB / 421.2 MB, free: 13.05 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.506e-06/0.225, allocations: 0 / 421.2 MB, free: 13.05 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004089/0.2254, allocations: 347.4 kB / 421.5 MB, free: 12.71 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.55e-05/0.2254, allocations: 15.92 kB / 421.5 MB, free: 12.7 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.477e-05/0.2254, allocations: 23.92 kB / 421.5 MB, free: 12.68 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003446/0.2258, allocations: 355 kB / 421.9 MB, free: 12.33 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2258, allocations: 4 kB / 421.9 MB, free: 12.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2258, allocations: 0 / 421.9 MB, free: 12.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.2258, allocations: 0 / 421.9 MB, free: 12.32 MB / 378.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.0004794/0.2263, allocations: 353.4 kB / 422.2 MB, free: 11.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.2263, allocations: 15.98 kB / 422.2 MB, free: 11.94 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00257/0.2289, allocations: 0.5176 MB / 422.8 MB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.229, allocations: 133.8 kB / 422.9 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.229, allocations: 11.94 kB / 422.9 MB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.055e-05/0.2291, allocations: 8 kB / 422.9 MB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002819/0.2294, allocations: 266 kB / 423.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.2294, allocations: 0 / 423.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.137e-05/0.2294, allocations: 4 kB / 423.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.2294, allocations: 7.984 kB / 423.2 MB, free: 10.97 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001958/0.2296, allocations: 157.2 kB / 423.3 MB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004052/0.23, allocations: 248 kB / 423.6 MB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002889/0.2303, allocations: 123.2 kB / 423.7 MB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.534e-05/0.2304, allocations: 46.03 kB / 423.7 MB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.2304, allocations: 7.938 kB / 423.8 MB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.2304, allocations: 38.56 kB / 423.8 MB, free: 10.33 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.2304, allocations: 0 / 423.8 MB, free: 10.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005074/0.2309, allocations: 250.9 kB / 424 MB, free: 10.08 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.2309, allocations: 51.41 kB / 424.1 MB, free: 10.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.491e-05/0.231, allocations: 132.2 kB / 424.2 MB, free: 9.875 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.231, allocations: 25.7 kB / 424.2 MB, free: 9.844 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.676e-05/0.231, allocations: 104 kB / 424.3 MB, free: 9.738 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/0.2311, allocations: 63.47 kB / 424.4 MB, free: 9.676 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.562e-05/0.2311, allocations: 37.69 kB / 424.4 MB, free: 9.633 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.663e-05/0.2312, allocations: 326.8 kB / 424.8 MB, free: 9.305 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.433e-05/0.2312, allocations: 31.98 kB / 424.8 MB, free: 9.273 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.171e-05/0.2313, allocations: 76.19 kB / 424.9 MB, free: 9.184 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.2314, allocations: 121.9 kB / 425 MB, free: 9.051 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.2314, allocations: 0 / 425 MB, free: 9.051 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001535/0.2316, allocations: 140.6 kB / 425.1 MB, free: 8.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.2316, allocations: 16 kB / 425.1 MB, free: 8.895 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2316, allocations: 0 / 425.1 MB, free: 8.895 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.2316, allocations: 4 kB / 425.1 MB, free: 8.891 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.2317, allocations: 46.58 kB / 425.2 MB, free: 8.848 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.2318, allocations: 4 kB / 425.2 MB, free: 8.844 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.407e-05/0.2318, allocations: 8 kB / 425.2 MB, free: 8.836 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.2319, allocations: 11.98 kB / 425.2 MB, free: 8.824 MB / 378.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 6.73e-05/0.2319, allocations: 113.8 kB / 425.3 MB, free: 8.703 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.259e-05/0.232, allocations: 15.98 kB / 425.3 MB, free: 8.688 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000215/0.2322, allocations: 170.3 kB / 425.5 MB, free: 8.516 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.2322, allocations: 11.92 kB / 425.5 MB, free: 8.504 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.2322, allocations: 4 kB / 425.5 MB, free: 8.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.2322, allocations: 3.938 kB / 425.5 MB, free: 8.496 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000394/0.2326, allocations: 348.4 kB / 425.9 MB, free: 8.125 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2326, allocations: 4 kB / 425.9 MB, free: 8.121 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.2327, allocations: 39.91 kB / 425.9 MB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2327, allocations: 0 / 425.9 MB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.2327, allocations: 8 kB / 425.9 MB, free: 8.074 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2327, allocations: 4.062 kB / 425.9 MB, free: 8.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2327, allocations: 3.984 kB / 425.9 MB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.2329, allocations: 237.5 kB / 426.2 MB, free: 7.812 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.448e-06/0.2329, allocations: 8.828 kB / 426.2 MB, free: 7.805 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.2329, allocations: 0 / 426.2 MB, free: 7.805 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.231e-05/0.233, allocations: 8 kB / 426.2 MB, free: 7.797 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.123e-05/0.233, allocations: 19.91 kB / 426.2 MB, free: 7.777 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.233, allocations: 11.98 kB / 426.2 MB, free: 7.766 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.246e-05/0.233, allocations: 17.84 kB / 426.2 MB, free: 7.746 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.233, allocations: 0 / 426.2 MB, free: 7.746 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001804/0.2332, allocations: 44 kB / 426.3 MB, free: 7.703 MB / 378.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.0001482/0.2334, allocations: 112.3 kB / 426.4 MB, free: 7.586 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001539/0.2335, allocations: 123.6 kB / 426.5 MB, free: 7.465 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2335, allocations: 0 / 426.5 MB, free: 7.465 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.119e-05/0.2336, allocations: 68.7 kB / 426.6 MB, free: 7.395 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.2338, allocations: 62.34 kB / 426.6 MB, free: 7.344 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000804/0.2346, allocations: 270.1 kB / 426.9 MB, free: 7.051 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.692e-05/0.2346, allocations: 68 kB / 426.9 MB, free: 6.965 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001712/0.2348, allocations: 57.45 kB / 427 MB, free: 6.906 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001697/0.235, allocations: 103.3 kB / 427.1 MB, free: 6.805 MB / 378.7 MB Notification: Performance of SimCode: time 6.81e-07/0.235, allocations: 0 / 427.1 MB, free: 6.805 MB / 378.7 MB Notification: Performance of Templates: time 0.004851/0.2398, allocations: 4.022 MB / 431.1 MB, free: 2.855 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 240] 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","",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.9223226490430534]