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.001089/0.001089, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001542/0.00263, allocations: 457.8 kB / 10.45 MB, free: 244 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.001057/0.001057, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001376/0.002433, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.9977/0.9977, allocations: 177.5 MB / 190.1 MB, free: 4.793 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09518/1.093, allocations: 53.86 MB / 243.9 MB, free: 14.86 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.512e-06/1.512e-06, allocations: 0 / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.582e-05/1.733e-05, allocations: 2.312 kB / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2379/0.2379, allocations: 145.1 MB / 390.3 MB, free: 6.582 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001882/0.2398, allocations: 2.556 MB / 392.8 MB, free: 4.027 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.415e-05/0.2398, allocations: 4 kB / 392.8 MB, free: 4.023 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 9.568e-05/0.2399, allocations: 30.59 kB / 392.8 MB, free: 3.996 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006802/0.2406, allocations: 338.9 kB / 393.2 MB, free: 3.672 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001474/0.2408, allocations: 62.11 kB / 393.2 MB, free: 3.613 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.2409, allocations: 107.3 kB / 393.3 MB, free: 3.508 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.382e-05/0.2409, allocations: 0 / 393.3 MB, free: 3.508 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.241, allocations: 82.06 kB / 393.4 MB, free: 3.43 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.833e-05/0.2411, allocations: 23.92 kB / 393.4 MB, free: 3.406 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.566e-06/0.2411, allocations: 0 / 393.4 MB, free: 3.406 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005141/0.2416, allocations: 370.1 kB / 393.8 MB, free: 3.047 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/0.2416, allocations: 11.94 kB / 393.8 MB, free: 3.035 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.758e-05/0.2416, allocations: 23.94 kB / 393.8 MB, free: 3.012 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003508/0.242, allocations: 303.2 kB / 394.1 MB, free: 2.715 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.101e-05/0.242, allocations: 0 / 394.1 MB, free: 2.715 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.242, allocations: 0 / 394.1 MB, free: 2.715 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.242, allocations: 0 / 394.1 MB, free: 2.715 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.0005756/0.2426, allocations: 465.6 kB / 394.6 MB, free: 2.219 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.735e-05/0.2426, allocations: 16.62 kB / 394.6 MB, free: 2.203 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002524/0.2451, allocations: 0.5209 MB / 395.1 MB, free: 1.684 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.2453, allocations: 134.7 kB / 395.3 MB, free: 1.527 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.2453, allocations: 7.938 kB / 395.3 MB, free: 1.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.942e-05/0.2454, allocations: 8 kB / 395.3 MB, free: 1.512 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002924/0.2457, allocations: 266 kB / 395.5 MB, free: 1.242 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.2457, allocations: 0 / 395.5 MB, free: 1.242 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.599e-05/0.2457, allocations: 0 / 395.5 MB, free: 1.242 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.2457, allocations: 4 kB / 395.5 MB, free: 1.238 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001846/0.2459, allocations: 159.8 kB / 395.7 MB, free: 1.082 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006444/0.2465, allocations: 256 kB / 395.9 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000285/0.2468, allocations: 124.5 kB / 396.1 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.506e-05/0.2469, allocations: 45.47 kB / 396.1 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.2469, allocations: 0 / 396.1 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.2469, allocations: 38.55 kB / 396.2 MB, free: 0.5938 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 9.32e-07/0.2469, allocations: 0 / 396.2 MB, free: 0.5938 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005082/0.2474, allocations: 268.2 kB / 396.4 MB, free: 340 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/0.2474, allocations: 55.39 kB / 396.5 MB, free: 272 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.905e-05/0.2475, allocations: 131.4 kB / 396.6 MB, free: 128 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.2475, allocations: 25.7 kB / 396.6 MB, free: 96 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.841e-05/0.2475, allocations: 96.14 kB / 396.7 MB, free: 15.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.2476, allocations: 59.47 kB / 396.8 MB, free: 15.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.434e-05/0.2476, allocations: 45.67 kB / 396.8 MB, free: 15.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.604e-05/0.2477, allocations: 326.8 kB / 397.1 MB, free: 15.55 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.265e-05/0.2477, allocations: 35.98 kB / 397.2 MB, free: 15.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.468e-05/0.2478, allocations: 60.28 kB / 397.2 MB, free: 15.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.2479, allocations: 120.2 kB / 397.3 MB, free: 15.31 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.2479, allocations: 0 / 397.3 MB, free: 15.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001499/0.2481, allocations: 146.5 kB / 397.5 MB, free: 15.17 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.2481, allocations: 7.938 kB / 397.5 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.2481, allocations: 4 kB / 397.5 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.2481, allocations: 0 / 397.5 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.2483, allocations: 65.31 kB / 397.6 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.2483, allocations: 4 kB / 397.6 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.366e-05/0.2483, allocations: 8.125 kB / 397.6 MB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.2484, allocations: 15.98 kB / 397.6 MB, free: 15.07 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.627e-05/0.2484, allocations: 117.8 kB / 397.7 MB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.96e-05/0.2485, allocations: 15.98 kB / 397.7 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002182/0.2487, allocations: 178.2 kB / 397.9 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.2487, allocations: 7.938 kB / 397.9 MB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.2487, allocations: 0 / 397.9 MB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.2487, allocations: 0.875 kB / 397.9 MB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003708/0.2491, allocations: 348.5 kB / 398.2 MB, free: 14.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2491, allocations: 8.062 kB / 398.3 MB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.2492, allocations: 43.95 kB / 398.3 MB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.047e-05/0.2492, allocations: 7.953 kB / 398.3 MB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.2492, allocations: 4 kB / 398.3 MB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.2492, allocations: 9.609 kB / 398.3 MB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.2492, allocations: 4 kB / 398.3 MB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2492, allocations: 0 / 398.3 MB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.2494, allocations: 237.5 kB / 398.6 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.2494, allocations: 8 kB / 398.6 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.734e-05/0.2495, allocations: 11.98 kB / 398.6 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.964e-05/0.2495, allocations: 7.984 kB / 398.6 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.2495, allocations: 15.98 kB / 398.6 MB, free: 14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.499e-05/0.2495, allocations: 17.94 kB / 398.6 MB, free: 13.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2495, allocations: 0 / 398.6 MB, free: 13.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001907/0.2497, allocations: 51.92 kB / 398.7 MB, free: 13.93 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.0001513/0.2499, allocations: 112.3 kB / 398.8 MB, free: 13.81 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001513/0.25, allocations: 112.7 kB / 398.9 MB, free: 13.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.25, allocations: 4.375 kB / 398.9 MB, free: 13.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.269e-05/0.2501, allocations: 84.73 kB / 399 MB, free: 13.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.2504, allocations: 182.1 kB / 399.2 MB, free: 13.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.2518, allocations: 286.2 kB / 399.4 MB, free: 13.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.556e-05/0.2518, allocations: 68 kB / 399.5 MB, free: 13.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001707/0.252, allocations: 65.44 kB / 399.6 MB, free: 12.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001681/0.2521, allocations: 95.33 kB / 399.7 MB, free: 12.87 MB / 378.7 MB Notification: Performance of SimCode: time 9.22e-07/0.2521, allocations: 0 / 399.7 MB, free: 12.87 MB / 378.7 MB Notification: Performance of Templates: time 0.004888/0.257, allocations: 4.002 MB / 403.7 MB, free: 8.93 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7489997018128633]