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.0009272/0.0009272, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.0009245/0.0009245, allocations: 143.1 kB / 24.97 MB, free: 8.324 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.9023/0.9023, allocations: 173.3 MB / 201.5 MB, free: 9.32 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.563e-06/1.563e-06, allocations: 3.938 kB / 268 MB, free: 6.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.099e-05/2.255e-05, allocations: 2.312 kB / 268 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2113/0.2114, allocations: 141.9 MB / 410 MB, free: 11.39 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.2132, allocations: 2.542 MB / 412.5 MB, free: 8.855 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.474e-05/0.2132, allocations: 0 / 412.5 MB, free: 8.855 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001391/0.2134, allocations: 22.52 kB / 412.5 MB, free: 8.836 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006869/0.2141, allocations: 329.3 kB / 412.9 MB, free: 8.52 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001317/0.2142, allocations: 63.67 kB / 412.9 MB, free: 8.457 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 9.004e-05/0.2143, allocations: 79.48 kB / 413 MB, free: 8.379 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.723e-05/0.2143, allocations: 3.984 kB / 413 MB, free: 8.375 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.2144, allocations: 47.83 kB / 413 MB, free: 8.328 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.118e-05/0.2145, allocations: 27.91 kB / 413.1 MB, free: 8.301 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.859e-06/0.2145, allocations: 0 / 413.1 MB, free: 8.301 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004361/0.2149, allocations: 339.4 kB / 413.4 MB, free: 7.969 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.345e-05/0.2149, allocations: 11.98 kB / 413.4 MB, free: 7.957 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.891e-05/0.215, allocations: 19.92 kB / 413.4 MB, free: 7.938 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003587/0.2153, allocations: 339.1 kB / 413.8 MB, free: 7.605 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.2153, allocations: 0 / 413.8 MB, free: 7.605 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2153, allocations: 0 / 413.8 MB, free: 7.605 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.2153, allocations: 0 / 413.8 MB, free: 7.605 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.0007968/0.2161, allocations: 456.6 kB / 414.2 MB, free: 7.125 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.2162, allocations: 12.91 kB / 414.2 MB, free: 7.113 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002949/0.2191, allocations: 448.1 kB / 414.7 MB, free: 6.676 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.661e-05/0.2192, allocations: 112.6 kB / 414.8 MB, free: 6.539 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.2192, allocations: 8.562 kB / 414.8 MB, free: 6.531 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.982e-05/0.2192, allocations: 23.77 kB / 414.8 MB, free: 6.508 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004156/0.2197, allocations: 306.7 kB / 415.1 MB, free: 6.199 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.2197, allocations: 0 / 415.1 MB, free: 6.199 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.944e-05/0.2197, allocations: 0 / 415.1 MB, free: 6.199 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.2197, allocations: 0 / 415.1 MB, free: 6.199 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003354/0.22, allocations: 243.9 kB / 415.3 MB, free: 5.961 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000551/0.2206, allocations: 388.4 kB / 415.7 MB, free: 5.547 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004007/0.221, allocations: 166.9 kB / 415.9 MB, free: 5.371 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.198e-05/0.2211, allocations: 67.64 kB / 416 MB, free: 5.301 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.2211, allocations: 0 / 416 MB, free: 5.301 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.2211, allocations: 41.39 kB / 416 MB, free: 5.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 8.61e-07/0.2211, allocations: 0 / 416 MB, free: 5.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007306/0.2219, allocations: 346.6 kB / 416.3 MB, free: 4.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.2219, allocations: 51.41 kB / 416.4 MB, free: 4.848 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.14e-05/0.222, allocations: 173.8 kB / 416.6 MB, free: 4.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.222, allocations: 25.7 kB / 416.6 MB, free: 4.629 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.083e-05/0.222, allocations: 138.8 kB / 416.7 MB, free: 4.488 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.512e-05/0.222, allocations: 59.48 kB / 416.8 MB, free: 4.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.239e-05/0.2221, allocations: 51.34 kB / 416.8 MB, free: 4.371 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.682e-05/0.2222, allocations: 0.4922 MB / 417.3 MB, free: 3.867 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.41e-05/0.2223, allocations: 55.97 kB / 417.4 MB, free: 3.812 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.2224, allocations: 109.4 kB / 417.5 MB, free: 3.688 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001876/0.2226, allocations: 162.4 kB / 417.6 MB, free: 3.508 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.2226, allocations: 4 kB / 417.6 MB, free: 3.504 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002614/0.2228, allocations: 207.9 kB / 417.8 MB, free: 3.297 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.2229, allocations: 11.94 kB / 417.9 MB, free: 3.285 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.2229, allocations: 0 / 417.9 MB, free: 3.285 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.2229, allocations: 4 kB / 417.9 MB, free: 3.281 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.223, allocations: 43.97 kB / 417.9 MB, free: 3.238 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.2231, allocations: 7.938 kB / 417.9 MB, free: 3.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.661e-05/0.2231, allocations: 12.11 kB / 417.9 MB, free: 3.219 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/0.2232, allocations: 15.44 kB / 417.9 MB, free: 3.207 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.985e-05/0.2233, allocations: 168.5 kB / 418.1 MB, free: 3.031 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.661e-05/0.2233, allocations: 19.89 kB / 418.1 MB, free: 3.012 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003427/0.2236, allocations: 225.9 kB / 418.3 MB, free: 2.781 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2236, allocations: 4 kB / 418.3 MB, free: 2.777 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.2236, allocations: 0 / 418.3 MB, free: 2.777 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.2236, allocations: 3.984 kB / 418.3 MB, free: 2.773 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005641/0.2242, allocations: 0.5009 MB / 418.8 MB, free: 2.223 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2242, allocations: 8.062 kB / 418.9 MB, free: 2.215 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/0.2244, allocations: 43.91 kB / 418.9 MB, free: 2.172 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.2244, allocations: 3.984 kB / 418.9 MB, free: 2.168 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.2244, allocations: 4 kB / 418.9 MB, free: 2.164 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.2244, allocations: 4 kB / 418.9 MB, free: 2.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2244, allocations: 3.984 kB / 418.9 MB, free: 2.156 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000281/0.2247, allocations: 351.5 kB / 419.3 MB, free: 1.785 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.806e-06/0.2247, allocations: 7.953 kB / 419.3 MB, free: 1.777 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.2247, allocations: 8 kB / 419.3 MB, free: 1.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.2248, allocations: 11.98 kB / 419.3 MB, free: 1.758 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.513e-05/0.2248, allocations: 11.92 kB / 419.3 MB, free: 1.746 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/0.2248, allocations: 15.98 kB / 419.3 MB, free: 1.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.165e-05/0.2249, allocations: 123.2 kB / 419.4 MB, free: 1.609 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2249, allocations: 0 / 419.4 MB, free: 1.609 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002195/0.2251, allocations: 47.94 kB / 419.5 MB, free: 1.562 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.0001588/0.2252, allocations: 123.2 kB / 419.6 MB, free: 1.434 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002472/0.2255, allocations: 165.6 kB / 419.8 MB, free: 1.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2255, allocations: 0 / 419.8 MB, free: 1.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.969e-05/0.2256, allocations: 92.66 kB / 419.9 MB, free: 1.176 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.2259, allocations: 49.52 kB / 419.9 MB, free: 1.133 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006773/0.2265, allocations: 266.8 kB / 420.2 MB, free: 0.8398 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.049e-05/0.2266, allocations: 63.84 kB / 420.2 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001778/0.2268, allocations: 53.64 kB / 420.3 MB, free: 0.707 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.736e-05/0.2269, allocations: 40.47 kB / 420.3 MB, free: 0.668 MB / 362.7 MB Notification: Performance of SimCode: time 4.8e-07/0.2269, allocations: 0 / 420.3 MB, free: 0.668 MB / 362.7 MB Notification: Performance of Templates: time 0.004817/0.2317, allocations: 3.312 MB / 423.6 MB, free: 13.41 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 -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.9636245181318372]