Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009005/0.0009005, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009587/0.0009587, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9192/0.9192, allocations: 177 MB / 205.2 MB, free: 5.047 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.IdealGasH2O") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 273.4 MB, free: 1.059 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.08e-05/1.195e-05, allocations: 2.312 kB / 273.4 MB, free: 1.055 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2167/0.2167, allocations: 144.6 MB / 418 MB, free: 15.99 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00205/0.2188, allocations: 2.559 MB / 420.6 MB, free: 13.44 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.501e-05/0.2188, allocations: 0 / 420.6 MB, free: 13.44 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001423/0.219, allocations: 22.09 kB / 420.6 MB, free: 13.42 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007887/0.2198, allocations: 345.1 kB / 421 MB, free: 13.09 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001614/0.2199, allocations: 75.66 kB / 421 MB, free: 13.02 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000106/0.22, allocations: 107.3 kB / 421.1 MB, free: 12.91 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.651e-05/0.2201, allocations: 0 / 421.1 MB, free: 12.91 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002837/0.2203, allocations: 67.69 kB / 421.2 MB, free: 12.84 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.063e-05/0.2204, allocations: 27.92 kB / 421.2 MB, free: 12.82 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.2204, allocations: 0 / 421.2 MB, free: 12.82 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005503/0.221, allocations: 363.4 kB / 421.6 MB, free: 12.46 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.557e-05/0.221, allocations: 15.92 kB / 421.6 MB, free: 12.45 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.181e-05/0.221, allocations: 23.92 kB / 421.6 MB, free: 12.42 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004253/0.2214, allocations: 347.1 kB / 422 MB, free: 12.08 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.2215, allocations: 8 kB / 422 MB, free: 12.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2215, allocations: 0 / 422 MB, free: 12.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.2215, allocations: 0 / 422 MB, free: 12.07 MB / 378.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.0005412/0.222, allocations: 361.3 kB / 422.3 MB, free: 11.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.222, allocations: 11.98 kB / 422.3 MB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002742/0.2248, allocations: 0.5254 MB / 422.9 MB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.225, allocations: 133.8 kB / 423 MB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.225, allocations: 5.125 kB / 423 MB, free: 11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.11e-05/0.225, allocations: 12 kB / 423 MB, free: 10.99 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000305/0.2253, allocations: 258 kB / 423.3 MB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.2253, allocations: 0 / 423.3 MB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.967e-05/0.2254, allocations: 8 kB / 423.3 MB, free: 10.72 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.2254, allocations: 0 / 423.3 MB, free: 10.72 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002057/0.2256, allocations: 159.9 kB / 423.4 MB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004464/0.226, allocations: 260 kB / 423.7 MB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003056/0.2263, allocations: 115.3 kB / 423.8 MB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.738e-05/0.2264, allocations: 44.84 kB / 423.8 MB, free: 10.13 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.2264, allocations: 0 / 423.8 MB, free: 10.13 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.2264, allocations: 42.55 kB / 423.9 MB, free: 10.08 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 9.72e-07/0.2264, allocations: 0 / 423.9 MB, free: 10.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005314/0.2269, allocations: 252.1 kB / 424.1 MB, free: 9.828 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.227, allocations: 59.41 kB / 424.2 MB, free: 9.758 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.203e-05/0.227, allocations: 128.1 kB / 424.3 MB, free: 9.621 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.227, allocations: 25.7 kB / 424.3 MB, free: 9.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.994e-05/0.2271, allocations: 99.98 kB / 424.4 MB, free: 9.488 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.421e-05/0.2271, allocations: 59.47 kB / 424.5 MB, free: 9.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.06e-05/0.2272, allocations: 41.67 kB / 424.5 MB, free: 9.383 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.07e-05/0.2273, allocations: 330.8 kB / 424.8 MB, free: 9.051 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.863e-05/0.2273, allocations: 31.94 kB / 424.9 MB, free: 9.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.432e-05/0.2274, allocations: 74.88 kB / 425 MB, free: 8.934 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.2275, allocations: 117.9 kB / 425.1 MB, free: 8.805 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2275, allocations: 0 / 425.1 MB, free: 8.805 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001701/0.2277, allocations: 145.5 kB / 425.2 MB, free: 8.656 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.2277, allocations: 15.06 kB / 425.2 MB, free: 8.645 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.2277, allocations: 4 kB / 425.2 MB, free: 8.641 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.2277, allocations: 0 / 425.2 MB, free: 8.641 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.2279, allocations: 51.89 kB / 425.3 MB, free: 8.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.2279, allocations: 0 / 425.3 MB, free: 8.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.318e-05/0.2279, allocations: 12 kB / 425.3 MB, free: 8.578 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.147e-05/0.228, allocations: 7.984 kB / 425.3 MB, free: 8.57 MB / 378.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 6.953e-05/0.228, allocations: 125.8 kB / 425.4 MB, free: 8.438 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.358e-05/0.2281, allocations: 11.98 kB / 425.4 MB, free: 8.426 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002322/0.2283, allocations: 170.3 kB / 425.6 MB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.2283, allocations: 4 kB / 425.6 MB, free: 8.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2283, allocations: 7.984 kB / 425.6 MB, free: 8.242 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2283, allocations: 0 / 425.6 MB, free: 8.242 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000416/0.2287, allocations: 344.4 kB / 425.9 MB, free: 7.875 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.2287, allocations: 7.984 kB / 426 MB, free: 7.867 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001366/0.2289, allocations: 36.84 kB / 426 MB, free: 7.832 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.2289, allocations: 0 / 426 MB, free: 7.832 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.2289, allocations: 11.98 kB / 426 MB, free: 7.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2289, allocations: 4.062 kB / 426 MB, free: 7.816 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.2289, allocations: 4 kB / 426 MB, free: 7.812 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.2291, allocations: 237.5 kB / 426.2 MB, free: 7.559 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.002e-05/0.2291, allocations: 7.953 kB / 426.2 MB, free: 7.551 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.2291, allocations: 10.25 kB / 426.3 MB, free: 7.543 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.274e-05/0.2292, allocations: 7.984 kB / 426.3 MB, free: 7.535 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.322e-05/0.2292, allocations: 11.98 kB / 426.3 MB, free: 7.523 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.2292, allocations: 11.98 kB / 426.3 MB, free: 7.512 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.655e-05/0.2292, allocations: 25.81 kB / 426.3 MB, free: 7.484 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2292, allocations: 0 / 426.3 MB, free: 7.484 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000198/0.2294, allocations: 47.94 kB / 426.4 MB, free: 7.438 MB / 378.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.0001615/0.2296, allocations: 108.3 kB / 426.5 MB, free: 7.324 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001632/0.2298, allocations: 117 kB / 426.6 MB, free: 7.207 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.2298, allocations: 0 / 426.6 MB, free: 7.207 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.716e-05/0.2298, allocations: 79.91 kB / 426.7 MB, free: 7.129 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.2301, allocations: 68.61 kB / 426.7 MB, free: 7.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005637/0.2306, allocations: 262.2 kB / 427 MB, free: 6.785 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.776e-05/0.2307, allocations: 64 kB / 427 MB, free: 6.703 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001858/0.2308, allocations: 61.44 kB / 427.1 MB, free: 6.641 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.231, allocations: 99.34 kB / 427.2 MB, free: 6.543 MB / 378.7 MB Notification: Performance of SimCode: time 7.22e-07/0.231, allocations: 0 / 427.2 MB, free: 6.543 MB / 378.7 MB Notification: Performance of Templates: time 0.005202/0.2362, allocations: 4.026 MB / 431.2 MB, free: 2.594 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_trunk_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.7530329427681863]