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.000871/0.000871, allocations: 82.28 kB / 22.21 MB, free: 2.293 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.0009016/0.0009016, allocations: 145.2 kB / 25.59 MB, free: 8.918 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.8994/0.8994, allocations: 173.4 MB / 202.2 MB, free: 8.277 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.543e-06/1.543e-06, allocations: 0 / 269.2 MB, free: 9.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.691e-05/3.845e-05, allocations: 5.266 kB / 269.2 MB, free: 9.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2367/0.2368, allocations: 139.5 MB / 408.7 MB, free: 12.68 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001945/0.2387, allocations: 2.514 MB / 411.2 MB, free: 10.25 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.107e-05/0.2388, allocations: 0 / 411.2 MB, free: 10.25 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000134/0.2389, allocations: 22.56 kB / 411.2 MB, free: 10.23 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007711/0.2397, allocations: 333.3 kB / 411.5 MB, free: 9.914 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001563/0.2398, allocations: 63.66 kB / 411.6 MB, free: 9.852 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 9.249e-05/0.2399, allocations: 75.53 kB / 411.7 MB, free: 9.777 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.824e-05/0.24, allocations: 4 kB / 411.7 MB, free: 9.773 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.2401, allocations: 51.77 kB / 411.7 MB, free: 9.723 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.994e-05/0.2401, allocations: 23.98 kB / 411.7 MB, free: 9.699 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.596e-06/0.2401, allocations: 0 / 411.7 MB, free: 9.699 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004793/0.2406, allocations: 347.3 kB / 412.1 MB, free: 9.359 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.409e-05/0.2406, allocations: 7.938 kB / 412.1 MB, free: 9.352 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.684e-05/0.2407, allocations: 23.92 kB / 412.1 MB, free: 9.328 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006286/0.2413, allocations: 331.2 kB / 412.4 MB, free: 9.004 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2413, allocations: 0 / 412.4 MB, free: 9.004 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.2413, allocations: 0 / 412.4 MB, free: 9.004 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.9e-06/0.2413, allocations: 4 kB / 412.4 MB, free: 9 MB / 330.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.0005236/0.2418, allocations: 460.5 kB / 412.9 MB, free: 8.516 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.918e-05/0.2418, allocations: 12.03 kB / 412.9 MB, free: 8.504 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002864/0.2447, allocations: 452.1 kB / 413.3 MB, free: 8.062 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.46e-05/0.2448, allocations: 112.5 kB / 413.5 MB, free: 7.926 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.2448, allocations: 8.562 kB / 413.5 MB, free: 7.918 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.375e-05/0.2449, allocations: 11.94 kB / 413.5 MB, free: 7.906 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003456/0.2452, allocations: 270 kB / 413.7 MB, free: 7.633 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.2452, allocations: 3.953 kB / 413.7 MB, free: 7.629 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.786e-05/0.2452, allocations: 4 kB / 413.7 MB, free: 7.625 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2452, allocations: 4 kB / 413.8 MB, free: 7.621 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002539/0.2455, allocations: 196.4 kB / 413.9 MB, free: 7.43 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000522/0.246, allocations: 388.6 kB / 414.3 MB, free: 7.023 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003414/0.2464, allocations: 147 kB / 414.5 MB, free: 6.867 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.374e-05/0.2464, allocations: 47.66 kB / 414.5 MB, free: 6.816 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.2464, allocations: 4 kB / 414.5 MB, free: 6.812 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.2464, allocations: 37.39 kB / 414.6 MB, free: 6.766 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.402e-06/0.2465, allocations: 4 kB / 414.6 MB, free: 6.762 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006176/0.2471, allocations: 300.9 kB / 414.9 MB, free: 6.465 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.2471, allocations: 51.41 kB / 414.9 MB, free: 6.402 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.217e-05/0.2472, allocations: 173.9 kB / 415.1 MB, free: 6.215 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.2472, allocations: 25.7 kB / 415.1 MB, free: 6.184 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.073e-05/0.2472, allocations: 134.8 kB / 415.2 MB, free: 6.047 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.942e-05/0.2473, allocations: 67.42 kB / 415.3 MB, free: 5.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.439e-05/0.2473, allocations: 55.27 kB / 415.3 MB, free: 5.918 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.2474, allocations: 0.4884 MB / 415.8 MB, free: 5.418 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.761e-05/0.2475, allocations: 43.95 kB / 415.9 MB, free: 5.375 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.285e-05/0.2476, allocations: 96.45 kB / 416 MB, free: 5.262 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.2477, allocations: 146.4 kB / 416.1 MB, free: 5.098 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.2477, allocations: 0 / 416.1 MB, free: 5.098 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002227/0.248, allocations: 184.1 kB / 416.3 MB, free: 4.914 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.248, allocations: 4 kB / 416.3 MB, free: 4.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.248, allocations: 3.938 kB / 416.3 MB, free: 4.906 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.248, allocations: 4 kB / 416.3 MB, free: 4.902 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.2482, allocations: 44.03 kB / 416.4 MB, free: 4.859 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.2482, allocations: 8 kB / 416.4 MB, free: 4.852 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.456e-05/0.2483, allocations: 11.98 kB / 416.4 MB, free: 4.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.2483, allocations: 8 kB / 416.4 MB, free: 4.832 MB / 330.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.813e-05/0.2484, allocations: 172.4 kB / 416.5 MB, free: 4.652 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.52e-05/0.2484, allocations: 19.89 kB / 416.6 MB, free: 4.633 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002892/0.2487, allocations: 206.7 kB / 416.8 MB, free: 4.422 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.2487, allocations: 4 kB / 416.8 MB, free: 4.418 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.2487, allocations: 3.984 kB / 416.8 MB, free: 4.414 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2487, allocations: 0 / 416.8 MB, free: 4.414 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004982/0.2492, allocations: 473.4 kB / 417.2 MB, free: 3.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.2492, allocations: 8.812 kB / 417.2 MB, free: 3.902 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001382/0.2493, allocations: 39.95 kB / 417.3 MB, free: 3.863 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.2493, allocations: 0 / 417.3 MB, free: 3.863 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.2494, allocations: 8 kB / 417.3 MB, free: 3.855 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.879e-06/0.2494, allocations: 4 kB / 417.3 MB, free: 3.852 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2494, allocations: 0 / 417.3 MB, free: 3.852 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.2496, allocations: 334.3 kB / 417.6 MB, free: 3.5 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.099e-05/0.2496, allocations: 8.703 kB / 417.6 MB, free: 3.492 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.2496, allocations: 8 kB / 417.6 MB, free: 3.484 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.2498, allocations: 7.984 kB / 417.6 MB, free: 3.477 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.43e-05/0.2498, allocations: 15.92 kB / 417.7 MB, free: 3.461 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.2498, allocations: 11.98 kB / 417.7 MB, free: 3.449 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.168e-05/0.2498, allocations: 123.2 kB / 417.8 MB, free: 3.328 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2498, allocations: 0 / 417.8 MB, free: 3.328 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002245/0.25, allocations: 40 kB / 417.8 MB, free: 3.289 MB / 330.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.0001757/0.2502, allocations: 135.1 kB / 418 MB, free: 3.148 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001989/0.2504, allocations: 131.8 kB / 418.1 MB, free: 3.016 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2504, allocations: 4 kB / 418.1 MB, free: 3.012 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.883e-05/0.2505, allocations: 85.2 kB / 418.2 MB, free: 2.926 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.2508, allocations: 49.36 kB / 418.2 MB, free: 2.887 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005773/0.2513, allocations: 267.3 kB / 418.5 MB, free: 2.594 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.782e-05/0.2514, allocations: 67.72 kB / 418.6 MB, free: 2.508 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001768/0.2516, allocations: 60.67 kB / 418.6 MB, free: 2.449 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.2517, allocations: 118.2 kB / 418.7 MB, free: 2.332 MB / 330.7 MB Notification: Performance of SimCode: time 1.142e-06/0.2517, allocations: 0 / 418.7 MB, free: 2.332 MB / 330.7 MB Notification: Performance of Templates: time 0.005134/0.2569, allocations: 3.753 MB / 422.5 MB, free: 14.65 MB / 346.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.861326452344656]