Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001226/0.001226, allocations: 87.62 kB / 22.19 MB, free: 2.367 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.0008786/0.0008786, allocations: 163.8 kB / 25.45 MB, free: 9.492 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8544/0.8544, allocations: 158.6 MB / 187.2 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Media.Examples.IdealGasH2O") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 299.7 MB, free: 6.949 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/1.977e-05, allocations: 2.281 kB / 299.7 MB, free: 6.945 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2562/0.2562, allocations: 129.4 MB / 429.1 MB, free: 10.02 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.2573, allocations: 1.359 MB / 430.4 MB, free: 8.664 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.39e-05/0.2574, allocations: 4 kB / 430.4 MB, free: 8.66 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002043/0.2576, allocations: 27.83 kB / 430.5 MB, free: 8.633 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008908/0.2585, allocations: 334.4 kB / 430.8 MB, free: 8.312 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001813/0.2587, allocations: 59.73 kB / 430.9 MB, free: 8.254 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.2588, allocations: 79.52 kB / 430.9 MB, free: 8.176 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.384e-05/0.2588, allocations: 7.938 kB / 430.9 MB, free: 8.168 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.259, allocations: 47.78 kB / 431 MB, free: 8.121 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.138e-05/0.259, allocations: 23.97 kB / 431 MB, free: 8.098 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.259, allocations: 0 / 431 MB, free: 8.098 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005383/0.2596, allocations: 339.4 kB / 431.3 MB, free: 7.766 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.375e-05/0.2596, allocations: 11.94 kB / 431.3 MB, free: 7.754 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.2596, allocations: 23.92 kB / 431.4 MB, free: 7.73 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000424/0.2601, allocations: 335.2 kB / 431.7 MB, free: 7.402 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.2601, allocations: 0 / 431.7 MB, free: 7.402 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.2601, allocations: 3.938 kB / 431.7 MB, free: 7.398 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.2601, allocations: 0 / 431.7 MB, free: 7.398 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.0006456/0.2607, allocations: 362.8 kB / 432.1 MB, free: 7.016 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.2608, allocations: 15.98 kB / 432.1 MB, free: 7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002725/0.2635, allocations: 481.6 kB / 432.5 MB, free: 6.531 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.323e-05/0.2636, allocations: 109.7 kB / 432.7 MB, free: 6.398 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.2636, allocations: 12.36 kB / 432.7 MB, free: 6.387 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.249e-05/0.2636, allocations: 4.562 kB / 432.7 MB, free: 6.383 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004669/0.2641, allocations: 297.2 kB / 433 MB, free: 6.086 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.2641, allocations: 7.953 kB / 433 MB, free: 6.078 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.955e-05/0.2642, allocations: 7.938 kB / 433 MB, free: 6.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.2642, allocations: 0 / 433 MB, free: 6.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004572/0.2646, allocations: 271.8 kB / 433.2 MB, free: 5.805 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006042/0.2652, allocations: 357.9 kB / 433.6 MB, free: 5.426 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005199/0.2657, allocations: 198.4 kB / 433.8 MB, free: 5.223 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.2659, allocations: 64.81 kB / 433.8 MB, free: 5.156 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.2659, allocations: 8 kB / 433.9 MB, free: 5.148 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.2659, allocations: 34.5 kB / 433.9 MB, free: 5.105 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.392e-06/0.2659, allocations: 1.875 kB / 433.9 MB, free: 5.105 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.000962/0.2669, allocations: 421.2 kB / 434.3 MB, free: 4.688 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.2669, allocations: 55.41 kB / 434.4 MB, free: 4.621 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.441e-05/0.267, allocations: 109.8 kB / 434.5 MB, free: 4.504 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/0.267, allocations: 29.7 kB / 434.5 MB, free: 4.469 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.843e-05/0.267, allocations: 96.05 kB / 434.6 MB, free: 4.371 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/0.2671, allocations: 59.48 kB / 434.6 MB, free: 4.312 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.538e-05/0.2671, allocations: 41.62 kB / 434.7 MB, free: 4.266 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.649e-05/0.2672, allocations: 318.8 kB / 435 MB, free: 3.945 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.2673, allocations: 80.88 kB / 435.1 MB, free: 3.867 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.2675, allocations: 120.2 kB / 435.2 MB, free: 3.734 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002974/0.2678, allocations: 195.4 kB / 435.4 MB, free: 3.531 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.2678, allocations: 8 kB / 435.4 MB, free: 3.523 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003612/0.2682, allocations: 241.3 kB / 435.6 MB, free: 3.281 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.2682, allocations: 4 kB / 435.6 MB, free: 3.277 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.2682, allocations: 7.938 kB / 435.6 MB, free: 3.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.2682, allocations: 128 / 435.6 MB, free: 3.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.2684, allocations: 59.39 kB / 435.7 MB, free: 3.215 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.2684, allocations: 4 kB / 435.7 MB, free: 3.211 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.2685, allocations: 15.98 kB / 435.7 MB, free: 3.195 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.683e-05/0.2685, allocations: 19.86 kB / 435.7 MB, free: 3.176 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.986e-05/0.2686, allocations: 125.7 kB / 435.9 MB, free: 3.043 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.2686, allocations: 7.953 kB / 435.9 MB, free: 3.035 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004691/0.2691, allocations: 276.7 kB / 436.1 MB, free: 2.762 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.2691, allocations: 3.984 kB / 436.1 MB, free: 2.758 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2691, allocations: 0 / 436.1 MB, free: 2.758 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2691, allocations: 0 / 436.1 MB, free: 2.758 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007148/0.2698, allocations: 0.5185 MB / 436.7 MB, free: 2.199 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2698, allocations: 0 / 436.7 MB, free: 2.199 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.2699, allocations: 47.89 kB / 436.7 MB, free: 2.152 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.27, allocations: 0 / 436.7 MB, free: 2.152 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.27, allocations: 7.984 kB / 436.7 MB, free: 2.145 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.27, allocations: 0 / 436.7 MB, free: 2.145 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.27, allocations: 4 kB / 436.7 MB, free: 2.141 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003694/0.2703, allocations: 333.5 kB / 437 MB, free: 1.793 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.325e-05/0.2704, allocations: 11.89 kB / 437.1 MB, free: 1.781 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.2704, allocations: 192 / 437.1 MB, free: 1.781 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.2705, allocations: 15.98 kB / 437.1 MB, free: 1.766 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.621e-05/0.2705, allocations: 15.95 kB / 437.1 MB, free: 1.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.2705, allocations: 12 kB / 437.1 MB, free: 1.738 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.817e-05/0.2706, allocations: 83.27 kB / 437.2 MB, free: 1.656 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2706, allocations: 4 kB / 437.2 MB, free: 1.652 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002372/0.2708, allocations: 40 kB / 437.2 MB, free: 1.613 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.0001889/0.271, allocations: 127.1 kB / 437.3 MB, free: 1.477 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003554/0.2713, allocations: 191.7 kB / 437.5 MB, free: 1.289 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2713, allocations: 0 / 437.5 MB, free: 1.289 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.2715, allocations: 98.36 kB / 437.6 MB, free: 1.195 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.2718, allocations: 49.62 kB / 437.7 MB, free: 1.152 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005167/0.2723, allocations: 288.3 kB / 438 MB, free: 0.832 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.987e-05/0.2724, allocations: 75.83 kB / 438 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.2725, allocations: 44.47 kB / 438.1 MB, free: 0.6953 MB / 362.7 MB Notification: Performance of SimCode: time 8.81e-07/0.2725, allocations: 0 / 438.1 MB, free: 0.6953 MB / 362.7 MB Notification: Performance of Templates: time 0.003025/0.2755, allocations: 2.38 MB / 440.5 MB, free: 14.32 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.55244520213455]