Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002564/0.002564, allocations: 95.86 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002982/0.002982, allocations: 153.1 kB / 24.27 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 173.3 MB / 200.8 MB, free: 9.352 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Media.Examples.IdealGasH2O") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 267.3 MB, free: 6.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.896e-05/4.089e-05, allocations: 5.828 kB / 267.3 MB, free: 6.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3034/0.3034, allocations: 141.9 MB / 409.2 MB, free: 11.42 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003473/0.3069, allocations: 2.522 MB / 411.7 MB, free: 8.902 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.051e-05/0.3069, allocations: 0 / 411.7 MB, free: 8.902 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001966/0.3071, allocations: 27.78 kB / 411.7 MB, free: 8.875 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009874/0.3081, allocations: 331.7 kB / 412.1 MB, free: 8.559 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001896/0.3083, allocations: 51.75 kB / 412.1 MB, free: 8.508 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000361/0.3086, allocations: 87.45 kB / 412.2 MB, free: 8.422 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.74e-05/0.3087, allocations: 8 kB / 412.2 MB, free: 8.414 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.3088, allocations: 43.84 kB / 412.3 MB, free: 8.371 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.857e-05/0.3089, allocations: 23.91 kB / 412.3 MB, free: 8.348 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.3089, allocations: 4 kB / 412.3 MB, free: 8.344 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007754/0.3097, allocations: 347.3 kB / 412.6 MB, free: 8.004 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.029e-05/0.3097, allocations: 7.922 kB / 412.6 MB, free: 7.996 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.475e-05/0.3098, allocations: 20 kB / 412.6 MB, free: 7.977 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006746/0.3104, allocations: 331.2 kB / 413 MB, free: 7.652 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3104, allocations: 0 / 413 MB, free: 7.652 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3104, allocations: 4 kB / 413 MB, free: 7.648 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.3104, allocations: 0 / 413 MB, free: 7.648 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.0009474/0.3114, allocations: 459.7 kB / 413.4 MB, free: 7.164 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.3114, allocations: 8.922 kB / 413.4 MB, free: 7.156 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006252/0.3177, allocations: 452.6 kB / 413.9 MB, free: 6.715 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.3178, allocations: 112.5 kB / 414 MB, free: 6.578 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.3178, allocations: 8.562 kB / 414 MB, free: 6.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.803e-05/0.3179, allocations: 19.88 kB / 414 MB, free: 6.551 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008357/0.3187, allocations: 357.3 kB / 414.4 MB, free: 6.195 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.3188, allocations: 3.984 kB / 414.4 MB, free: 6.191 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.497e-05/0.3188, allocations: 7.312 kB / 414.4 MB, free: 6.188 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.3188, allocations: 4 kB / 414.4 MB, free: 6.184 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008736/0.3197, allocations: 339.8 kB / 414.7 MB, free: 5.852 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.3208, allocations: 411.4 kB / 415.1 MB, free: 5.414 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008982/0.3217, allocations: 191 kB / 415.3 MB, free: 5.215 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/0.3219, allocations: 71.66 kB / 415.4 MB, free: 5.141 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.3219, allocations: 4 kB / 415.4 MB, free: 5.137 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.322, allocations: 41.38 kB / 415.4 MB, free: 5.086 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.893e-06/0.322, allocations: 0 / 415.4 MB, free: 5.086 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001684/0.3237, allocations: 433.1 kB / 415.8 MB, free: 4.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/0.3237, allocations: 51.41 kB / 415.9 MB, free: 4.598 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.3239, allocations: 173.8 kB / 416.1 MB, free: 4.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.3239, allocations: 29.7 kB / 416.1 MB, free: 4.375 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.486e-05/0.324, allocations: 142.7 kB / 416.2 MB, free: 4.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.204e-05/0.3241, allocations: 63.47 kB / 416.3 MB, free: 4.168 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.3242, allocations: 51.34 kB / 416.3 MB, free: 4.109 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002677/0.3245, allocations: 496.1 kB / 416.8 MB, free: 3.613 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002515/0.3247, allocations: 83.95 kB / 416.9 MB, free: 3.531 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000294/0.325, allocations: 137.8 kB / 417 MB, free: 3.379 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005271/0.3255, allocations: 210.4 kB / 417.2 MB, free: 3.152 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.3255, allocations: 0 / 417.2 MB, free: 3.152 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006793/0.3262, allocations: 260.1 kB / 417.5 MB, free: 2.895 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.3262, allocations: 11.94 kB / 417.5 MB, free: 2.883 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.3262, allocations: 3.984 kB / 417.5 MB, free: 2.879 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.3263, allocations: 0 / 417.5 MB, free: 2.879 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003941/0.3267, allocations: 47.91 kB / 417.6 MB, free: 2.832 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.3267, allocations: 0 / 417.6 MB, free: 2.832 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002371/0.3269, allocations: 15.98 kB / 417.6 MB, free: 2.816 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-05/0.3269, allocations: 8 kB / 417.6 MB, free: 2.809 MB / 362.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 0.0001599/0.3271, allocations: 176.6 kB / 417.8 MB, free: 2.625 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.739e-05/0.3272, allocations: 15.89 kB / 417.8 MB, free: 2.609 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008169/0.328, allocations: 282.1 kB / 418 MB, free: 2.324 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.328, allocations: 4 kB / 418 MB, free: 2.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.328, allocations: 0 / 418 MB, free: 2.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.328, allocations: 0 / 418 MB, free: 2.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/0.3293, allocations: 0.5554 MB / 418.6 MB, free: 1.715 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.3293, allocations: 4.75 kB / 418.6 MB, free: 1.711 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003426/0.3296, allocations: 39.95 kB / 418.6 MB, free: 1.672 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.3297, allocations: 4.062 kB / 418.7 MB, free: 1.668 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.861e-05/0.3297, allocations: 8 kB / 418.7 MB, free: 1.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-06/0.3297, allocations: 4 kB / 418.7 MB, free: 1.656 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.3297, allocations: 4.812 kB / 418.7 MB, free: 1.652 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007367/0.3304, allocations: 395.4 kB / 419.1 MB, free: 1.238 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.625e-05/0.3304, allocations: 7.953 kB / 419.1 MB, free: 1.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.962e-05/0.3305, allocations: 7.984 kB / 419.1 MB, free: 1.223 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002761/0.3308, allocations: 8 kB / 419.1 MB, free: 1.215 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.3308, allocations: 19.91 kB / 419.1 MB, free: 1.195 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.847e-05/0.3308, allocations: 12 kB / 419.1 MB, free: 1.184 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.535e-05/0.3309, allocations: 127.2 kB / 419.2 MB, free: 1.059 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3309, allocations: 0 / 419.2 MB, free: 1.059 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003544/0.3313, allocations: 43.98 kB / 419.3 MB, free: 1.016 MB / 362.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.0005028/0.3318, allocations: 129.5 kB / 419.4 MB, free: 0.8828 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006074/0.3324, allocations: 213 kB / 419.6 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.3324, allocations: 0 / 419.6 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003018/0.3327, allocations: 119.5 kB / 419.7 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004427/0.3331, allocations: 45.73 kB / 419.8 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008237/0.334, allocations: 273.6 kB / 420 MB, free: 216 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.491e-05/0.334, allocations: 75.84 kB / 420.1 MB, free: 120 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002986/0.3343, allocations: 60.38 kB / 420.2 MB, free: 64 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/0.3345, allocations: 36.45 kB / 420.2 MB, free: 28 kB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.3345, allocations: 0 / 420.2 MB, free: 28 kB / 362.7 MB Notification: Performance of Templates: time 0.008066/0.3426, allocations: 3.303 MB / 423.5 MB, free: 12.77 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.937191594974138]