Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009008/0.0009008, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009159/0.0009159, allocations: 169.9 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9117/0.9117, allocations: 177.1 MB / 205.3 MB, free: 5.102 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Media.Examples.IdealGasH2O") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 273.4 MB, free: 1.207 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.249e-05/2.363e-05, allocations: 2.312 kB / 273.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2372/0.2372, allocations: 144.6 MB / 418 MB, free: 376 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002444/0.2396, allocations: 2.539 MB / 420.6 MB, free: 13.83 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.302e-05/0.2397, allocations: 4 kB / 420.6 MB, free: 13.83 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000159/0.2398, allocations: 34.86 kB / 420.6 MB, free: 13.8 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008509/0.2407, allocations: 352.7 kB / 421 MB, free: 13.46 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001625/0.2409, allocations: 67.66 kB / 421 MB, free: 13.39 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.241, allocations: 111.3 kB / 421.1 MB, free: 13.28 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.32e-05/0.241, allocations: 4 kB / 421.1 MB, free: 13.28 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.2412, allocations: 59.77 kB / 421.2 MB, free: 13.22 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.783e-05/0.2412, allocations: 27.91 kB / 421.2 MB, free: 13.19 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.2412, allocations: 4 kB / 421.2 MB, free: 13.19 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005508/0.2418, allocations: 347.4 kB / 421.6 MB, free: 12.85 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.556e-05/0.2418, allocations: 15.92 kB / 421.6 MB, free: 12.83 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.348e-05/0.2418, allocations: 23.94 kB / 421.6 MB, free: 12.81 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004505/0.2423, allocations: 351.1 kB / 421.9 MB, free: 12.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2423, allocations: 0 / 421.9 MB, free: 12.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.2423, allocations: 4 kB / 421.9 MB, free: 12.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.2423, allocations: 0 / 421.9 MB, free: 12.46 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.0006058/0.2429, allocations: 353.4 kB / 422.3 MB, free: 12.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.2429, allocations: 12.03 kB / 422.3 MB, free: 12.08 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003442/0.2464, allocations: 0.5225 MB / 422.8 MB, free: 11.56 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.2466, allocations: 141.8 kB / 423 MB, free: 11.4 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.2466, allocations: 7.938 kB / 423 MB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.348e-05/0.2466, allocations: 8 kB / 423 MB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003801/0.247, allocations: 266 kB / 423.2 MB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.247, allocations: 0 / 423.2 MB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.674e-05/0.2471, allocations: 8 kB / 423.2 MB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.2471, allocations: 0 / 423.2 MB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002723/0.2473, allocations: 155.9 kB / 423.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005117/0.2479, allocations: 253 kB / 423.6 MB, free: 10.69 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003689/0.2482, allocations: 128.2 kB / 423.8 MB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.899e-05/0.2483, allocations: 36.84 kB / 423.8 MB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.2483, allocations: 4 kB / 423.8 MB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.2483, allocations: 34.56 kB / 423.8 MB, free: 10.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/0.2483, allocations: 0 / 423.8 MB, free: 10.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006451/0.249, allocations: 257.2 kB / 424.1 MB, free: 10.22 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.249, allocations: 55.41 kB / 424.1 MB, free: 10.15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.185e-05/0.2491, allocations: 130.5 kB / 424.3 MB, free: 10.01 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.2491, allocations: 29.7 kB / 424.3 MB, free: 9.977 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.185e-05/0.2491, allocations: 99.97 kB / 424.4 MB, free: 9.875 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.458e-05/0.2492, allocations: 59.47 kB / 424.5 MB, free: 9.816 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.664e-05/0.2493, allocations: 45.67 kB / 424.5 MB, free: 9.766 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.806e-05/0.2494, allocations: 322.8 kB / 424.8 MB, free: 9.441 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.239e-05/0.2494, allocations: 37.55 kB / 424.9 MB, free: 9.406 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.058e-05/0.2495, allocations: 68.27 kB / 424.9 MB, free: 9.324 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.2497, allocations: 120.2 kB / 425 MB, free: 9.191 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2497, allocations: 0 / 425 MB, free: 9.191 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002169/0.2499, allocations: 147.5 kB / 425.2 MB, free: 9.043 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.2499, allocations: 11.94 kB / 425.2 MB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2499, allocations: 0 / 425.2 MB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.2499, allocations: 0 / 425.2 MB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.2501, allocations: 47.89 kB / 425.2 MB, free: 8.984 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.2501, allocations: 4 kB / 425.2 MB, free: 8.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.2502, allocations: 8.125 kB / 425.3 MB, free: 8.973 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.982e-05/0.2502, allocations: 15.98 kB / 425.3 MB, free: 8.957 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 8.237e-05/0.2503, allocations: 113.8 kB / 425.4 MB, free: 8.836 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.651e-05/0.2504, allocations: 15.98 kB / 425.4 MB, free: 8.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002886/0.2507, allocations: 175 kB / 425.6 MB, free: 8.645 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2507, allocations: 0 / 425.6 MB, free: 8.645 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.2507, allocations: 0 / 425.6 MB, free: 8.645 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.2507, allocations: 6.734 kB / 425.6 MB, free: 8.641 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005141/0.2512, allocations: 348.5 kB / 425.9 MB, free: 8.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2512, allocations: 4.062 kB / 425.9 MB, free: 8.266 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.2513, allocations: 43.89 kB / 426 MB, free: 8.223 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2514, allocations: 0 / 426 MB, free: 8.223 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.2514, allocations: 8 kB / 426 MB, free: 8.215 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2514, allocations: 0 / 426 MB, free: 8.215 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2514, allocations: 4 kB / 426 MB, free: 8.211 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002182/0.2516, allocations: 239.6 kB / 426.2 MB, free: 7.957 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.275e-05/0.2516, allocations: 11.94 kB / 426.2 MB, free: 7.945 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.779e-05/0.2516, allocations: 7.938 kB / 426.2 MB, free: 7.938 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.2518, allocations: 12 kB / 426.2 MB, free: 7.926 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.633e-05/0.2518, allocations: 11.97 kB / 426.3 MB, free: 7.914 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.2518, allocations: 8 kB / 426.3 MB, free: 7.906 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.026e-05/0.2518, allocations: 22.59 kB / 426.3 MB, free: 7.883 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2518, allocations: 0 / 426.3 MB, free: 7.883 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002749/0.2521, allocations: 44 kB / 426.3 MB, free: 7.84 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.0001864/0.2523, allocations: 112.2 kB / 426.4 MB, free: 7.723 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002004/0.2525, allocations: 121 kB / 426.6 MB, free: 7.602 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2525, allocations: 0 / 426.6 MB, free: 7.602 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.971e-05/0.2526, allocations: 72.95 kB / 426.6 MB, free: 7.527 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.2529, allocations: 54.27 kB / 426.7 MB, free: 7.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006589/0.2535, allocations: 272.5 kB / 426.9 MB, free: 7.188 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.727e-05/0.2536, allocations: 71.94 kB / 427 MB, free: 7.098 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002208/0.2538, allocations: 53.45 kB / 427.1 MB, free: 7.043 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002128/0.254, allocations: 103.3 kB / 427.2 MB, free: 6.941 MB / 378.7 MB Notification: Performance of SimCode: time 5.21e-07/0.254, allocations: 0 / 427.2 MB, free: 6.941 MB / 378.7 MB Notification: Performance of Templates: time 0.006302/0.2603, allocations: 4.031 MB / 431.2 MB, free: 2.973 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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: 3.02845154190436]