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.0007707/0.0007707, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001005/0.001775, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0009841/0.0009841, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001382/0.002366, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9023/0.9023, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07761/0.9799, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.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.112e-06/1.112e-06, allocations: 0 / 245 MB, free: 13.67 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.627e-05/1.738e-05, allocations: 2.312 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.232/0.232, allocations: 145.1 MB / 390.1 MB, free: 6.707 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002201/0.2342, allocations: 2.568 MB / 392.6 MB, free: 4.141 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.677e-05/0.2342, allocations: 4 kB / 392.6 MB, free: 4.137 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001205/0.2344, allocations: 25.66 kB / 392.7 MB, free: 4.113 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008853/0.2352, allocations: 341.6 kB / 393 MB, free: 3.789 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002/0.2354, allocations: 63.09 kB / 393 MB, free: 3.73 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004976/0.2359, allocations: 111.3 kB / 393.2 MB, free: 3.621 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.807e-05/0.236, allocations: 4 kB / 393.2 MB, free: 3.617 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.2362, allocations: 63.75 kB / 393.2 MB, free: 3.555 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.217e-05/0.2362, allocations: 31.91 kB / 393.3 MB, free: 3.523 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.2363, allocations: 4 kB / 393.3 MB, free: 3.52 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006447/0.2369, allocations: 365.8 kB / 393.6 MB, free: 3.164 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.269e-05/0.2369, allocations: 7.938 kB / 393.6 MB, free: 3.156 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.915e-05/0.2369, allocations: 23.94 kB / 393.6 MB, free: 3.133 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003576/0.2373, allocations: 307.2 kB / 393.9 MB, free: 2.832 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.58e-05/0.2373, allocations: 0 / 393.9 MB, free: 2.832 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2373, allocations: 0 / 393.9 MB, free: 2.832 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.298e-05/0.2373, allocations: 0 / 393.9 MB, free: 2.832 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.0006342/0.238, allocations: 473.6 kB / 394.4 MB, free: 2.328 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.238, allocations: 8.625 kB / 394.4 MB, free: 2.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002407/0.2404, allocations: 0.5209 MB / 394.9 MB, free: 1.801 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.2406, allocations: 134.6 kB / 395.1 MB, free: 1.645 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.2406, allocations: 11.94 kB / 395.1 MB, free: 1.633 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.002e-05/0.2406, allocations: 7.984 kB / 395.1 MB, free: 1.625 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002849/0.2409, allocations: 266 kB / 395.3 MB, free: 1.355 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.2409, allocations: 0 / 395.3 MB, free: 1.355 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.241, allocations: 4 kB / 395.4 MB, free: 1.352 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.241, allocations: 0 / 395.4 MB, free: 1.352 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001875/0.2411, allocations: 151.9 kB / 395.5 MB, free: 1.203 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000408/0.2415, allocations: 260 kB / 395.8 MB, free: 0.9336 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002946/0.2418, allocations: 127.3 kB / 395.9 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.15e-05/0.2419, allocations: 40.84 kB / 395.9 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.2419, allocations: 4 kB / 395.9 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.2419, allocations: 34.55 kB / 396 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.2419, allocations: 0 / 396 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005021/0.2424, allocations: 252 kB / 396.2 MB, free: 472 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.2425, allocations: 59.34 kB / 396.3 MB, free: 400 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.842e-05/0.2425, allocations: 126.6 kB / 396.4 MB, free: 260 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.2425, allocations: 33.7 kB / 396.4 MB, free: 220 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.65e-05/0.2426, allocations: 95.97 kB / 396.5 MB, free: 120 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.2426, allocations: 63.47 kB / 396.6 MB, free: 56 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.378e-05/0.2427, allocations: 41.67 kB / 396.6 MB, free: 8 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.213e-05/0.2427, allocations: 326.8 kB / 396.9 MB, free: 15.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.338e-05/0.2428, allocations: 33.23 kB / 397 MB, free: 15.65 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.965e-05/0.2428, allocations: 72.2 kB / 397 MB, free: 15.56 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.2429, allocations: 118.7 kB / 397.2 MB, free: 15.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.2429, allocations: 4 kB / 397.2 MB, free: 15.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001487/0.2431, allocations: 141.4 kB / 397.3 MB, free: 15.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.2431, allocations: 12.72 kB / 397.3 MB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2431, allocations: 0 / 397.3 MB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.565e-06/0.2431, allocations: 0 / 397.3 MB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.2433, allocations: 63.88 kB / 397.4 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.738e-06/0.2433, allocations: 4 kB / 397.4 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.976e-05/0.2434, allocations: 8.125 kB / 397.4 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/0.2434, allocations: 18.23 kB / 397.4 MB, free: 15.18 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.592e-05/0.2435, allocations: 113.8 kB / 397.5 MB, free: 15.06 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.2435, allocations: 11.98 kB / 397.5 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002211/0.2437, allocations: 169.6 kB / 397.7 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.2437, allocations: 4 kB / 397.7 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.2437, allocations: 0 / 397.7 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.2437, allocations: 3.984 kB / 397.7 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003774/0.2441, allocations: 356.5 kB / 398 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.2441, allocations: 0.875 kB / 398 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000141/0.2443, allocations: 51.88 kB / 398.1 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.187e-06/0.2443, allocations: 7.953 kB / 398.1 MB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.2443, allocations: 4 kB / 398.1 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.2443, allocations: 4 kB / 398.1 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.2443, allocations: 7.984 kB / 398.1 MB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2443, allocations: 2.188 kB / 398.1 MB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.2444, allocations: 233.5 kB / 398.3 MB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.2445, allocations: 12.03 kB / 398.4 MB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.841e-05/0.2446, allocations: 8 kB / 398.4 MB, free: 14.15 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.24e-05/0.2446, allocations: 19.89 kB / 398.4 MB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.2446, allocations: 8 kB / 398.4 MB, free: 14.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.558e-05/0.2446, allocations: 20.84 kB / 398.4 MB, free: 14.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.2446, allocations: 0 / 398.4 MB, free: 14.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001804/0.2448, allocations: 44 kB / 398.5 MB, free: 14.06 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.0001466/0.2449, allocations: 120.2 kB / 398.6 MB, free: 13.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001524/0.2451, allocations: 108.7 kB / 398.7 MB, free: 13.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.2451, allocations: 8.25 kB / 398.7 MB, free: 13.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.978e-05/0.2452, allocations: 66.45 kB / 398.8 MB, free: 13.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.2454, allocations: 72.86 kB / 398.8 MB, free: 13.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.2468, allocations: 282.1 kB / 399.1 MB, free: 13.38 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.754e-05/0.2468, allocations: 68 kB / 399.2 MB, free: 13.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001811/0.247, allocations: 61.45 kB / 399.2 MB, free: 13.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/0.2472, allocations: 95.33 kB / 399.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of SimCode: time 1.353e-06/0.2472, allocations: 0 / 399.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of Templates: time 0.005101/0.2523, allocations: 4.101 MB / 403.4 MB, free: 9.098 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 -emit_protected -ignoreHideResult -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.5789371198043227]