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.001323/0.001323, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.001398/0.001398, allocations: 139.9 kB / 24.88 MB, free: 9.219 MB / 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.886/0.886, allocations: 173.3 MB / 201.5 MB, free: 9.211 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.743e-06/1.743e-06, allocations: 0 / 268.5 MB, free: 6.195 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.696e-05, allocations: 2.312 kB / 268.5 MB, free: 6.191 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2369/0.2369, allocations: 141.7 MB / 410.1 MB, free: 10.89 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002284/0.2392, allocations: 2.53 MB / 412.7 MB, free: 8.359 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.243e-05/0.2392, allocations: 4 kB / 412.7 MB, free: 8.355 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001307/0.2394, allocations: 26.5 kB / 412.7 MB, free: 8.332 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007705/0.2401, allocations: 329.3 kB / 413 MB, free: 8.016 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001432/0.2403, allocations: 59.67 kB / 413.1 MB, free: 7.957 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 9.098e-05/0.2404, allocations: 79.55 kB / 413.2 MB, free: 7.879 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.704e-05/0.2404, allocations: 8 kB / 413.2 MB, free: 7.871 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.2405, allocations: 55.75 kB / 413.2 MB, free: 7.816 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.088e-05/0.2406, allocations: 19.92 kB / 413.2 MB, free: 7.797 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.076e-06/0.2406, allocations: 0 / 413.2 MB, free: 7.797 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005312/0.2411, allocations: 355.5 kB / 413.6 MB, free: 7.449 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.176e-05/0.2411, allocations: 7.922 kB / 413.6 MB, free: 7.441 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.677e-05/0.2411, allocations: 23.94 kB / 413.6 MB, free: 7.418 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003914/0.2415, allocations: 339.1 kB / 413.9 MB, free: 7.086 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2415, allocations: 0 / 413.9 MB, free: 7.086 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2415, allocations: 4 kB / 414 MB, free: 7.082 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.2415, allocations: 0 / 414 MB, free: 7.082 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.00048/0.242, allocations: 328.9 kB / 414.3 MB, free: 6.738 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.2421, allocations: 12.92 kB / 414.3 MB, free: 6.727 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002668/0.2447, allocations: 0.5123 MB / 414.8 MB, free: 6.215 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.908e-05/0.2448, allocations: 109.8 kB / 414.9 MB, free: 6.082 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.2448, allocations: 8.562 kB / 414.9 MB, free: 6.074 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.716e-05/0.2449, allocations: 11.94 kB / 414.9 MB, free: 6.062 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003122/0.2452, allocations: 262 kB / 415.2 MB, free: 5.797 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.2452, allocations: 0 / 415.2 MB, free: 5.797 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.02e-05/0.2452, allocations: 11.98 kB / 415.2 MB, free: 5.785 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.2452, allocations: 0 / 415.2 MB, free: 5.785 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002115/0.2454, allocations: 162.9 kB / 415.4 MB, free: 5.629 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004439/0.2459, allocations: 252 kB / 415.6 MB, free: 5.367 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002863/0.2462, allocations: 114.5 kB / 415.7 MB, free: 5.246 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.961e-05/0.2462, allocations: 52.77 kB / 415.8 MB, free: 5.191 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.2462, allocations: 4 kB / 415.8 MB, free: 5.188 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.2462, allocations: 34.56 kB / 415.8 MB, free: 5.145 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.072e-06/0.2462, allocations: 0 / 415.8 MB, free: 5.145 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.000517/0.2468, allocations: 239.5 kB / 416 MB, free: 4.906 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.2468, allocations: 59.39 kB / 416.1 MB, free: 4.836 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.945e-05/0.2468, allocations: 110.7 kB / 416.2 MB, free: 4.715 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.2469, allocations: 33.64 kB / 416.2 MB, free: 4.676 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.517e-05/0.2469, allocations: 95.98 kB / 416.3 MB, free: 4.578 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.513e-05/0.2469, allocations: 63.45 kB / 416.4 MB, free: 4.516 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.84e-05/0.247, allocations: 41.69 kB / 416.4 MB, free: 4.469 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.658e-05/0.2471, allocations: 322.8 kB / 416.7 MB, free: 4.145 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.558e-05/0.2471, allocations: 31.98 kB / 416.8 MB, free: 4.113 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.553e-05/0.2472, allocations: 79.02 kB / 416.9 MB, free: 4.023 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.2473, allocations: 120.2 kB / 417 MB, free: 3.891 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2473, allocations: 4 kB / 417 MB, free: 3.887 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001637/0.2475, allocations: 140.1 kB / 417.1 MB, free: 3.746 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.2475, allocations: 8.125 kB / 417.1 MB, free: 3.738 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.2475, allocations: 4 kB / 417.1 MB, free: 3.734 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.2475, allocations: 3.938 kB / 417.1 MB, free: 3.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.2477, allocations: 51.95 kB / 417.2 MB, free: 3.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.2477, allocations: 4 kB / 417.2 MB, free: 3.676 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.317e-05/0.2477, allocations: 4 kB / 417.2 MB, free: 3.672 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-05/0.2478, allocations: 19.3 kB / 417.2 MB, free: 3.656 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.061e-05/0.2478, allocations: 113.8 kB / 417.3 MB, free: 3.535 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.434e-05/0.2479, allocations: 15.98 kB / 417.3 MB, free: 3.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002337/0.2481, allocations: 166.2 kB / 417.5 MB, free: 3.352 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.2481, allocations: 3.938 kB / 417.5 MB, free: 3.348 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.2481, allocations: 4 kB / 417.5 MB, free: 3.344 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2481, allocations: 7.984 kB / 417.5 MB, free: 3.336 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004117/0.2485, allocations: 344.5 kB / 417.8 MB, free: 2.969 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2485, allocations: 0 / 417.8 MB, free: 2.969 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001399/0.2487, allocations: 47.83 kB / 417.9 MB, free: 2.922 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.2487, allocations: 4 kB / 417.9 MB, free: 2.918 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.2487, allocations: 3.984 kB / 417.9 MB, free: 2.914 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.2487, allocations: 4.062 kB / 417.9 MB, free: 2.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2487, allocations: 4 kB / 417.9 MB, free: 2.906 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.2489, allocations: 231.5 kB / 418.1 MB, free: 2.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.125e-05/0.2489, allocations: 11.89 kB / 418.1 MB, free: 2.648 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.2489, allocations: 8 kB / 418.2 MB, free: 2.641 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.284e-05/0.249, allocations: 11.98 kB / 418.2 MB, free: 2.629 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.318e-05/0.249, allocations: 11.92 kB / 418.2 MB, free: 2.617 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.249, allocations: 7.984 kB / 418.2 MB, free: 2.609 MB / 362.7 MB Notification: Performance of sorting global known variables: time 1.023e-05/0.249, allocations: 12.8 kB / 418.2 MB, free: 2.594 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.249, allocations: 4 kB / 418.2 MB, free: 2.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001906/0.2492, allocations: 48 kB / 418.2 MB, free: 2.543 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.0001574/0.2494, allocations: 104.3 kB / 418.3 MB, free: 2.434 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004326/0.2498, allocations: 116.7 kB / 418.5 MB, free: 2.316 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.2498, allocations: 4 kB / 418.5 MB, free: 2.312 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.695e-05/0.2499, allocations: 65.33 kB / 418.5 MB, free: 2.246 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.2501, allocations: 56.08 kB / 418.6 MB, free: 2.199 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005563/0.2506, allocations: 254.1 kB / 418.8 MB, free: 1.918 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.557e-05/0.2507, allocations: 63.84 kB / 418.9 MB, free: 1.836 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001776/0.2509, allocations: 57.62 kB / 419 MB, free: 1.781 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002208/0.2511, allocations: 87.34 kB / 419 MB, free: 1.695 MB / 362.7 MB Notification: Performance of SimCode: time 7.82e-07/0.2511, allocations: 0 / 419 MB, free: 1.695 MB / 362.7 MB Notification: Performance of Templates: time 0.004885/0.256, allocations: 3.696 MB / 422.7 MB, free: 14.05 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 -s gbode -gbm=radauIIA3 -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.827627270948142]