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.001413/0.001413, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.001611/0.001611, allocations: 171.8 kB / 25.33 MB, free: 9.047 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.7739/0.7739, allocations: 158.6 MB / 187.2 MB, free: 2.441 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.543e-06/1.543e-06, allocations: 3.938 kB / 251 MB, free: 3.605 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.056e-05/2.21e-05, allocations: 5.406 kB / 251 MB, free: 3.602 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2194/0.2194, allocations: 143.4 MB / 394.4 MB, free: 8.199 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.2206, allocations: 1.561 MB / 396 MB, free: 6.645 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.41e-05/0.2206, allocations: 0 / 396 MB, free: 6.645 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001385/0.2208, allocations: 15.91 kB / 396 MB, free: 6.629 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006538/0.2214, allocations: 332.7 kB / 396.3 MB, free: 6.309 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001328/0.2215, allocations: 67.67 kB / 396.4 MB, free: 6.242 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 8.469e-05/0.2216, allocations: 75.55 kB / 396.5 MB, free: 6.168 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.402e-05/0.2217, allocations: 11.92 kB / 396.5 MB, free: 6.156 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.81e-05/0.2218, allocations: 43.83 kB / 396.5 MB, free: 6.113 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.941e-05/0.2218, allocations: 23.92 kB / 396.5 MB, free: 6.09 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.688e-06/0.2218, allocations: 0 / 396.5 MB, free: 6.09 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004433/0.2223, allocations: 339.5 kB / 396.9 MB, free: 5.758 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.49e-05/0.2223, allocations: 11.92 kB / 396.9 MB, free: 5.746 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.885e-05/0.2223, allocations: 23.92 kB / 396.9 MB, free: 5.723 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003739/0.2227, allocations: 339.1 kB / 397.2 MB, free: 5.391 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2227, allocations: 0 / 397.2 MB, free: 5.391 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2227, allocations: 4 kB / 397.2 MB, free: 5.387 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.2227, allocations: 0 / 397.2 MB, free: 5.387 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.0005399/0.2232, allocations: 452.8 kB / 397.7 MB, free: 4.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.2233, allocations: 15.98 kB / 397.7 MB, free: 4.895 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002988/0.2263, allocations: 464 kB / 398.2 MB, free: 4.441 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.681e-05/0.2263, allocations: 108.6 kB / 398.3 MB, free: 4.309 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.2263, allocations: 4.375 kB / 398.3 MB, free: 4.305 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.762e-05/0.2264, allocations: 8.562 kB / 398.3 MB, free: 4.297 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004165/0.2268, allocations: 314.4 kB / 398.6 MB, free: 3.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.2269, allocations: 0 / 398.6 MB, free: 3.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/0.2269, allocations: 4 kB / 398.6 MB, free: 3.977 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.2269, allocations: 0 / 398.6 MB, free: 3.977 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000318/0.2272, allocations: 246.5 kB / 398.8 MB, free: 3.738 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006057/0.2278, allocations: 397.9 kB / 399.2 MB, free: 3.316 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004352/0.2282, allocations: 162.9 kB / 399.4 MB, free: 3.145 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.05e-05/0.2283, allocations: 67.66 kB / 399.4 MB, free: 3.074 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.2284, allocations: 0 / 399.4 MB, free: 3.074 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.2284, allocations: 37.39 kB / 399.5 MB, free: 3.027 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.2284, allocations: 0 / 399.5 MB, free: 3.027 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007555/0.2291, allocations: 342.2 kB / 399.8 MB, free: 2.688 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.2292, allocations: 51.41 kB / 399.9 MB, free: 2.625 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.078e-05/0.2292, allocations: 169.9 kB / 400 MB, free: 2.441 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.2293, allocations: 29.7 kB / 400.1 MB, free: 2.406 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.597e-05/0.2293, allocations: 146.5 kB / 400.2 MB, free: 2.258 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.863e-05/0.2293, allocations: 55.48 kB / 400.3 MB, free: 2.203 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.897e-05/0.2294, allocations: 55.28 kB / 400.3 MB, free: 2.141 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.2295, allocations: 0.4884 MB / 400.8 MB, free: 1.641 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.2296, allocations: 55.97 kB / 400.9 MB, free: 1.586 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.2298, allocations: 106.3 kB / 401 MB, free: 1.461 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.2299, allocations: 169.5 kB / 401.1 MB, free: 1.277 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.23, allocations: 0 / 401.1 MB, free: 1.277 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002619/0.2302, allocations: 208.2 kB / 401.3 MB, free: 1.07 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.2302, allocations: 8.125 kB / 401.3 MB, free: 1.062 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2302, allocations: 7.938 kB / 401.3 MB, free: 1.055 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.2303, allocations: 4 kB / 401.3 MB, free: 1.051 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.2304, allocations: 39.97 kB / 401.4 MB, free: 1.012 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.2304, allocations: 4 kB / 401.4 MB, free: 1.008 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.348e-05/0.2305, allocations: 11.98 kB / 401.4 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/0.2306, allocations: 11.94 kB / 401.4 MB, free: 0.9844 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.298e-05/0.2306, allocations: 164.6 kB / 401.6 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.572e-05/0.2307, allocations: 15.94 kB / 401.6 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003509/0.231, allocations: 230 kB / 401.8 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.231, allocations: 7.984 kB / 401.8 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.231, allocations: 3.938 kB / 401.8 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.231, allocations: 7.984 kB / 401.8 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006155/0.2317, allocations: 0.5163 MB / 402.3 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2317, allocations: 0 / 402.3 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/0.2318, allocations: 39.91 kB / 402.4 MB, free: 15.94 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.2318, allocations: 4 kB / 402.4 MB, free: 15.94 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.2318, allocations: 4 kB / 402.4 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.2318, allocations: 4 kB / 402.4 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2318, allocations: 4.062 kB / 402.4 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.2321, allocations: 351 kB / 402.7 MB, free: 15.56 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.899e-06/0.2321, allocations: 7.953 kB / 402.8 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.2321, allocations: 8 kB / 402.8 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.2322, allocations: 7.984 kB / 402.8 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-05/0.2323, allocations: 15.92 kB / 402.8 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.2323, allocations: 11.98 kB / 402.8 MB, free: 15.51 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.154e-05/0.2323, allocations: 123.2 kB / 402.9 MB, free: 15.39 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2323, allocations: 4 kB / 402.9 MB, free: 15.38 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002244/0.2325, allocations: 48 kB / 403 MB, free: 15.34 MB / 346.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.0001858/0.2327, allocations: 115.2 kB / 403.1 MB, free: 15.21 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002437/0.233, allocations: 167.5 kB / 403.2 MB, free: 15.05 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.233, allocations: 0 / 403.2 MB, free: 15.05 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.354e-05/0.2331, allocations: 89.12 kB / 403.3 MB, free: 14.96 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.2333, allocations: 54.08 kB / 403.4 MB, free: 14.91 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006786/0.234, allocations: 275.5 kB / 403.6 MB, free: 14.61 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.107e-05/0.2341, allocations: 67.7 kB / 403.7 MB, free: 14.52 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001725/0.2342, allocations: 56.88 kB / 403.8 MB, free: 14.47 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.2343, allocations: 32.47 kB / 403.8 MB, free: 14.43 MB / 346.7 MB Notification: Performance of SimCode: time 8.92e-07/0.2343, allocations: 0 / 403.8 MB, free: 14.43 MB / 346.7 MB Notification: Performance of Templates: time 0.005024/0.2394, allocations: 3.649 MB / 407.5 MB, free: 10.82 MB / 346.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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 240] 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","",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.694115102291107]