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.001482/0.001482, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001664/0.001664, allocations: 162.3 kB / 24.99 MB, free: 8.801 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.9495/0.9495, allocations: 177 MB / 205.2 MB, free: 5.605 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.773e-06/1.773e-06, allocations: 0 / 273 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.921e-05/3.098e-05, allocations: 2.312 kB / 273 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2306/0.2306, allocations: 144.9 MB / 417.9 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001959/0.2326, allocations: 2.549 MB / 420.4 MB, free: 14.05 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.528e-05/0.2326, allocations: 0 / 420.4 MB, free: 14.05 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001464/0.2328, allocations: 23.78 kB / 420.5 MB, free: 14.03 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007826/0.2336, allocations: 350 kB / 420.8 MB, free: 13.7 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001611/0.2337, allocations: 63.73 kB / 420.9 MB, free: 13.63 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.2338, allocations: 115.2 kB / 421 MB, free: 13.52 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.852e-05/0.2339, allocations: 4 kB / 421 MB, free: 13.52 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.234, allocations: 55.83 kB / 421 MB, free: 13.46 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.347e-05/0.2341, allocations: 31.91 kB / 421.1 MB, free: 13.43 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.2341, allocations: 4 kB / 421.1 MB, free: 13.43 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005345/0.2346, allocations: 351.3 kB / 421.4 MB, free: 13.08 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/0.2346, allocations: 11.91 kB / 421.4 MB, free: 13.07 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.74e-05/0.2347, allocations: 27.94 kB / 421.5 MB, free: 13.04 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004095/0.2351, allocations: 355.1 kB / 421.8 MB, free: 12.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2351, allocations: 4 kB / 421.8 MB, free: 12.69 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2351, allocations: 0 / 421.8 MB, free: 12.69 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.2351, allocations: 0 / 421.8 MB, free: 12.69 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.0006524/0.2357, allocations: 485 kB / 422.3 MB, free: 12.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.2358, allocations: 15.98 kB / 422.3 MB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003147/0.2389, allocations: 465.7 kB / 422.8 MB, free: 11.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.239, allocations: 120.6 kB / 422.9 MB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.239, allocations: 7.938 kB / 422.9 MB, free: 11.56 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.748e-05/0.2391, allocations: 8 kB / 422.9 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004342/0.2395, allocations: 302.7 kB / 423.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.2395, allocations: 0 / 423.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.981e-05/0.2396, allocations: 4 kB / 423.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.2396, allocations: 5.688 kB / 423.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000592/0.2402, allocations: 243 kB / 423.4 MB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001968/0.2404, allocations: 169.5 kB / 423.6 MB, free: 10.81 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002179/0.2406, allocations: 143.3 kB / 423.7 MB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.613e-05/0.2407, allocations: 75.58 kB / 423.8 MB, free: 10.58 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.2407, allocations: 4 kB / 423.8 MB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.2407, allocations: 45.39 kB / 423.9 MB, free: 10.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 1.323e-06/0.2407, allocations: 0 / 423.9 MB, free: 10.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.00106/0.2418, allocations: 481.7 kB / 424.3 MB, free: 10.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.2418, allocations: 55.41 kB / 424.4 MB, free: 9.977 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.788e-05/0.2419, allocations: 165.9 kB / 424.5 MB, free: 9.797 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.2419, allocations: 33.7 kB / 424.6 MB, free: 9.758 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.368e-05/0.242, allocations: 127.4 kB / 424.7 MB, free: 9.629 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.575e-05/0.242, allocations: 87.28 kB / 424.8 MB, free: 9.543 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.55e-05/0.2421, allocations: 55.2 kB / 424.8 MB, free: 9.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.2422, allocations: 0.5039 MB / 425.3 MB, free: 8.965 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.2423, allocations: 71.91 kB / 425.4 MB, free: 8.895 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.2424, allocations: 71.95 kB / 425.5 MB, free: 8.824 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/0.2427, allocations: 162.1 kB / 425.6 MB, free: 8.664 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.2427, allocations: 0 / 425.6 MB, free: 8.664 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003086/0.243, allocations: 238 kB / 425.9 MB, free: 8.426 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.243, allocations: 4 kB / 425.9 MB, free: 8.422 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.243, allocations: 0 / 425.9 MB, free: 8.422 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.243, allocations: 4 kB / 425.9 MB, free: 8.418 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.2432, allocations: 51.89 kB / 425.9 MB, free: 8.367 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.2432, allocations: 0 / 425.9 MB, free: 8.367 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.2433, allocations: 8.812 kB / 425.9 MB, free: 8.359 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/0.2434, allocations: 11.98 kB / 426 MB, free: 8.348 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (24): * Single equations (assignments): 24 * 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 9.728e-05/0.2435, allocations: 176.5 kB / 426.1 MB, free: 8.164 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.622e-05/0.2435, allocations: 19.95 kB / 426.1 MB, free: 8.145 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004341/0.2439, allocations: 297.7 kB / 426.4 MB, free: 7.852 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.2439, allocations: 4 kB / 426.4 MB, free: 7.848 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2439, allocations: 0 / 426.4 MB, free: 7.848 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2439, allocations: 0 / 426.4 MB, free: 7.848 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007698/0.2447, allocations: 0.6368 MB / 427.1 MB, free: 7.145 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.2447, allocations: 0 / 427.1 MB, free: 7.145 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001877/0.2449, allocations: 60.06 kB / 427.1 MB, free: 7.086 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.2449, allocations: 7.984 kB / 427.1 MB, free: 7.078 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.2449, allocations: 4 kB / 427.1 MB, free: 7.074 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.2449, allocations: 7.938 kB / 427.2 MB, free: 7.066 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2449, allocations: 0 / 427.2 MB, free: 7.066 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003757/0.2453, allocations: 430.1 kB / 427.6 MB, free: 6.605 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.194e-05/0.2453, allocations: 11.91 kB / 427.6 MB, free: 6.594 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.2454, allocations: 11.94 kB / 427.6 MB, free: 6.582 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.2455, allocations: 15.92 kB / 427.6 MB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.323e-05/0.2455, allocations: 19.97 kB / 427.6 MB, free: 6.547 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.2455, allocations: 12 kB / 427.6 MB, free: 6.535 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.944e-05/0.2456, allocations: 131.8 kB / 427.8 MB, free: 6.406 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2456, allocations: 0 / 427.8 MB, free: 6.406 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002528/0.2458, allocations: 59.94 kB / 427.8 MB, free: 6.348 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (26): * Single equations (assignments): 26 * 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.0001902/0.246, allocations: 131.7 kB / 428 MB, free: 6.211 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003091/0.2463, allocations: 208.1 kB / 428.2 MB, free: 6.004 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2463, allocations: 0 / 428.2 MB, free: 6.004 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.2465, allocations: 119.5 kB / 428.3 MB, free: 5.883 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.2468, allocations: 79.61 kB / 428.4 MB, free: 5.816 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007831/0.2476, allocations: 338 kB / 428.7 MB, free: 5.441 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.687e-05/0.2477, allocations: 68 kB / 428.8 MB, free: 5.355 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002009/0.2479, allocations: 61.45 kB / 428.8 MB, free: 5.297 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.248, allocations: 40.45 kB / 428.9 MB, free: 5.258 MB / 378.7 MB Notification: Performance of SimCode: time 9.92e-07/0.248, allocations: 0 / 428.9 MB, free: 5.258 MB / 378.7 MB Notification: Performance of Templates: time 0.005959/0.2539, allocations: 4.485 MB / 433.3 MB, free: 0.8359 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 -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: 3.1280579399317503]