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.0008059/0.0008059, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.003837/0.003837, allocations: 157.7 kB / 24.7 MB, free: 8.891 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.8671/0.8671, allocations: 177 MB / 204.9 MB, free: 5.73 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.363e-06/1.363e-06, allocations: 0 / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.193e-05/2.329e-05, allocations: 3.125 kB / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2774/0.2774, allocations: 131.3 MB / 457.1 MB, free: 6.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0015/0.2789, allocations: 2.257 MB / 459.3 MB, free: 6.223 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.84e-05/0.279, allocations: 0.875 kB / 459.3 MB, free: 6.223 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001322/0.2791, allocations: 27.53 kB / 459.4 MB, free: 6.223 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006003/0.2797, allocations: 351.7 kB / 459.7 MB, free: 6.219 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001246/0.2798, allocations: 61.14 kB / 459.8 MB, free: 6.219 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.855e-05/0.2799, allocations: 111.4 kB / 459.9 MB, free: 6.219 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.45e-05/0.28, allocations: 3.406 kB / 459.9 MB, free: 6.219 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.2801, allocations: 61.98 kB / 459.9 MB, free: 6.219 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.306e-05/0.2801, allocations: 27.66 kB / 460 MB, free: 6.219 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.2801, allocations: 2.938 kB / 460 MB, free: 6.219 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004063/0.2806, allocations: 353.7 kB / 460.3 MB, free: 6.211 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.464e-05/0.2806, allocations: 10.42 kB / 460.3 MB, free: 6.211 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.19e-05/0.2806, allocations: 34.05 kB / 460.4 MB, free: 6.211 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003364/0.2809, allocations: 356.5 kB / 460.7 MB, free: 6.191 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.2809, allocations: 1 kB / 460.7 MB, free: 6.191 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2809, allocations: 1.094 kB / 460.7 MB, free: 6.191 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.2809, allocations: 0 / 460.7 MB, free: 6.191 MB / 410.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.000559/0.2815, allocations: 383.8 kB / 461.1 MB, free: 5.891 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.2815, allocations: 15.11 kB / 461.1 MB, free: 5.887 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002746/0.2843, allocations: 488.2 kB / 461.6 MB, free: 5.883 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.841e-05/0.2844, allocations: 119.8 kB / 461.7 MB, free: 5.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.2844, allocations: 14.83 kB / 461.7 MB, free: 5.746 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.185e-05/0.2844, allocations: 7.5 kB / 461.7 MB, free: 5.746 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004153/0.2848, allocations: 301.4 kB / 462 MB, free: 5.711 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.2848, allocations: 3.141 kB / 462 MB, free: 5.711 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.372e-05/0.2849, allocations: 4.719 kB / 462 MB, free: 5.711 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.2849, allocations: 0 / 462 MB, free: 5.711 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004208/0.2853, allocations: 275.9 kB / 462.3 MB, free: 5.711 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002273/0.2855, allocations: 177.8 kB / 462.5 MB, free: 5.562 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.2857, allocations: 149 kB / 462.6 MB, free: 5.539 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.2859, allocations: 86.83 kB / 462.7 MB, free: 5.527 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.2859, allocations: 3.375 kB / 462.7 MB, free: 5.527 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.416e-05/0.2859, allocations: 35.97 kB / 462.7 MB, free: 5.488 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 9.62e-07/0.2859, allocations: 0.9688 kB / 462.7 MB, free: 5.488 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.001107/0.287, allocations: 0.58 MB / 463.3 MB, free: 5.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.299e-05/0.287, allocations: 55.81 kB / 463.4 MB, free: 5.367 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.991e-05/0.2871, allocations: 111.3 kB / 463.5 MB, free: 5.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.2871, allocations: 31.95 kB / 463.5 MB, free: 5.238 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.462e-05/0.2871, allocations: 87.09 kB / 463.6 MB, free: 5.156 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.444e-05/0.2871, allocations: 86.86 kB / 463.7 MB, free: 5.102 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.776e-05/0.2872, allocations: 44.59 kB / 463.7 MB, free: 5.086 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.854e-05/0.2872, allocations: 325.4 kB / 464 MB, free: 4.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.2874, allocations: 98.64 kB / 464.1 MB, free: 4.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.2875, allocations: 114.2 kB / 464.2 MB, free: 4.762 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/0.2878, allocations: 219.6 kB / 464.4 MB, free: 4.754 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.2878, allocations: 5.891 kB / 464.5 MB, free: 4.754 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003619/0.2882, allocations: 284.5 kB / 464.7 MB, free: 4.711 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.2882, allocations: 11.66 kB / 464.7 MB, free: 4.711 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.2882, allocations: 1.031 kB / 464.7 MB, free: 4.711 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.2882, allocations: 0 / 464.7 MB, free: 4.711 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.2884, allocations: 52.78 kB / 464.8 MB, free: 4.711 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.2884, allocations: 0 / 464.8 MB, free: 4.711 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.2885, allocations: 15.03 kB / 464.8 MB, free: 4.711 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/0.2886, allocations: 11.11 kB / 464.8 MB, free: 4.711 MB / 410.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 5.932e-05/0.2886, allocations: 127.9 kB / 464.9 MB, free: 4.594 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.2886, allocations: 13.12 kB / 465 MB, free: 4.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004911/0.2891, allocations: 355.2 kB / 465.3 MB, free: 4.551 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.2891, allocations: 2.656 kB / 465.3 MB, free: 4.551 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2891, allocations: 3.984 kB / 465.3 MB, free: 4.551 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.2891, allocations: 0 / 465.3 MB, free: 4.551 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007378/0.2899, allocations: 0.6171 MB / 465.9 MB, free: 4.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2899, allocations: 3.656 kB / 465.9 MB, free: 4.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.2901, allocations: 63.23 kB / 466 MB, free: 4.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.2901, allocations: 3.188 kB / 466 MB, free: 4.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.2901, allocations: 10.75 kB / 466 MB, free: 4.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.2901, allocations: 10.22 kB / 466 MB, free: 4.266 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.2901, allocations: 1.625 kB / 466 MB, free: 4.266 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003821/0.2905, allocations: 404.2 kB / 466.4 MB, free: 4.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.033e-05/0.2905, allocations: 13.34 kB / 466.4 MB, free: 4.082 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.2905, allocations: 16.09 kB / 466.4 MB, free: 4.074 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.2906, allocations: 19.08 kB / 466.5 MB, free: 4.074 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.522e-05/0.2906, allocations: 17.69 kB / 466.5 MB, free: 4.074 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.2907, allocations: 15.38 kB / 466.5 MB, free: 4.074 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.596e-05/0.2907, allocations: 87.38 kB / 466.6 MB, free: 4 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2907, allocations: 1.031 kB / 466.6 MB, free: 4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000214/0.2909, allocations: 59.28 kB / 466.6 MB, free: 3.996 MB / 410.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.0001631/0.2911, allocations: 127.9 kB / 466.8 MB, free: 3.906 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003679/0.2914, allocations: 250.4 kB / 467 MB, free: 3.895 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2914, allocations: 0.9688 kB / 467 MB, free: 3.895 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.2916, allocations: 135.5 kB / 467.1 MB, free: 3.895 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.2919, allocations: 59.25 kB / 467.2 MB, free: 3.891 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004992/0.2924, allocations: 361 kB / 467.6 MB, free: 3.664 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.445e-05/0.2925, allocations: 88.2 kB / 467.6 MB, free: 3.594 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.2926, allocations: 46.89 kB / 467.7 MB, free: 3.582 MB / 410.7 MB Notification: Performance of SimCode: time 4.41e-07/0.2926, allocations: 0 / 467.7 MB, free: 3.582 MB / 410.7 MB Notification: Performance of Templates: time 0.002942/0.2955, allocations: 2.979 MB / 470.7 MB, free: 3.488 MB / 410.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.517006352543831]