Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009653/0.0009653, allocations: 84.98 kB / 23 MB, free: 1.5 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 180.2 kB / 26.4 MB, free: 7.961 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.008/1.008, allocations: 158.6 MB / 188.3 MB, free: 2.805 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Media.Examples.IdealGasH2O") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 252.2 MB, free: 7.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.215e-05/4.461e-05, allocations: 2.312 kB / 252.2 MB, free: 7.262 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2705/0.2706, allocations: 140.7 MB / 392.9 MB, free: 10.82 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.2717, allocations: 1.541 MB / 394.4 MB, free: 10.72 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.95e-05/0.2717, allocations: 6.812 kB / 394.4 MB, free: 10.71 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001312/0.2719, allocations: 20.56 kB / 394.5 MB, free: 10.71 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000644/0.2725, allocations: 332.6 kB / 394.8 MB, free: 10.66 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000115/0.2726, allocations: 58.77 kB / 394.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 8.578e-05/0.2727, allocations: 80.58 kB / 394.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.542e-05/0.2728, allocations: 6.969 kB / 394.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.2729, allocations: 48.11 kB / 395 MB, free: 10.65 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.029e-05/0.2729, allocations: 23.2 kB / 395 MB, free: 10.65 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.498e-06/0.2729, allocations: 2.938 kB / 395 MB, free: 10.65 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004035/0.2733, allocations: 338.2 kB / 395.3 MB, free: 10.64 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.489e-05/0.2733, allocations: 19.19 kB / 395.4 MB, free: 10.63 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.336e-05/0.2734, allocations: 15.89 kB / 395.4 MB, free: 10.63 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003309/0.2737, allocations: 338.2 kB / 395.7 MB, free: 10.61 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.2737, allocations: 0 / 395.7 MB, free: 10.61 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.2737, allocations: 0 / 395.7 MB, free: 10.61 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.2737, allocations: 0 / 395.7 MB, free: 10.61 MB / 330.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.0004098/0.2741, allocations: 456.7 kB / 396.1 MB, free: 10.22 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.2742, allocations: 14.61 kB / 396.2 MB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002729/0.2769, allocations: 459.7 kB / 396.6 MB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.314e-05/0.2769, allocations: 114.8 kB / 396.7 MB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.2769, allocations: 5.781 kB / 396.7 MB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.088e-05/0.277, allocations: 6.969 kB / 396.7 MB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003029/0.2773, allocations: 274.1 kB / 397 MB, free: 10 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.2773, allocations: 4 kB / 397 MB, free: 10 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.113e-05/0.2773, allocations: 3.375 kB / 397 MB, free: 10 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.2773, allocations: 4.031 kB / 397 MB, free: 10 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002231/0.2776, allocations: 200 kB / 397.2 MB, free: 9.996 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004478/0.278, allocations: 372.7 kB / 397.6 MB, free: 9.742 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003045/0.2783, allocations: 148.7 kB / 397.7 MB, free: 9.703 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.208e-05/0.2784, allocations: 48.73 kB / 397.8 MB, free: 9.691 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.2784, allocations: 5.828 kB / 397.8 MB, free: 9.691 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.433e-05/0.2784, allocations: 36.23 kB / 397.8 MB, free: 9.648 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.072e-06/0.2784, allocations: 3.938 kB / 397.8 MB, free: 9.645 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005824/0.279, allocations: 303.9 kB / 398.1 MB, free: 9.586 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.839e-05/0.279, allocations: 56.78 kB / 398.2 MB, free: 9.523 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.045e-05/0.279, allocations: 163.4 kB / 398.3 MB, free: 9.355 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.2791, allocations: 29.27 kB / 398.4 MB, free: 9.324 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.565e-05/0.2791, allocations: 148.1 kB / 398.5 MB, free: 9.18 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.2791, allocations: 63.09 kB / 398.6 MB, free: 9.141 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.552e-05/0.2792, allocations: 50.36 kB / 398.6 MB, free: 9.109 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.681e-05/0.2792, allocations: 0.4888 MB / 399.1 MB, free: 8.613 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.104e-05/0.2792, allocations: 49.42 kB / 399.1 MB, free: 8.598 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.373e-05/0.2793, allocations: 91.22 kB / 399.2 MB, free: 8.531 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001955/0.2795, allocations: 140.5 kB / 399.4 MB, free: 8.465 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.2795, allocations: 1.203 kB / 399.4 MB, free: 8.465 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002809/0.2798, allocations: 184.2 kB / 399.6 MB, free: 8.395 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.2798, allocations: 5.656 kB / 399.6 MB, free: 8.395 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.2798, allocations: 1.969 kB / 399.6 MB, free: 8.395 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.2798, allocations: 7.375 kB / 399.6 MB, free: 8.391 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.28, allocations: 44.75 kB / 399.6 MB, free: 8.379 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-06/0.28, allocations: 2.875 kB / 399.6 MB, free: 8.379 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.305e-05/0.2801, allocations: 9.922 kB / 399.6 MB, free: 8.375 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.2801, allocations: 15.95 kB / 399.6 MB, free: 8.371 MB / 330.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.014e-05/0.2802, allocations: 169.2 kB / 399.8 MB, free: 8.203 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.018e-05/0.2802, allocations: 12.89 kB / 399.8 MB, free: 8.199 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002748/0.2805, allocations: 207 kB / 400 MB, free: 8.113 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.2805, allocations: 6.938 kB / 400 MB, free: 8.109 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.2805, allocations: 3.984 kB / 400 MB, free: 8.105 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2805, allocations: 0 / 400 MB, free: 8.105 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004384/0.2809, allocations: 482.1 kB / 400.5 MB, free: 7.762 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.2809, allocations: 3.984 kB / 400.5 MB, free: 7.758 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.281, allocations: 42.62 kB / 400.5 MB, free: 7.746 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.281, allocations: 6.906 kB / 400.6 MB, free: 7.742 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.2811, allocations: 2.219 kB / 400.6 MB, free: 7.742 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.2811, allocations: 6.312 kB / 400.6 MB, free: 7.742 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2811, allocations: 3.938 kB / 400.6 MB, free: 7.738 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.2813, allocations: 330.4 kB / 400.9 MB, free: 7.504 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.087e-06/0.2813, allocations: 10.2 kB / 400.9 MB, free: 7.496 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.2813, allocations: 6.438 kB / 400.9 MB, free: 7.496 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.2814, allocations: 14.91 kB / 400.9 MB, free: 7.488 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.658e-05/0.2815, allocations: 9.828 kB / 400.9 MB, free: 7.484 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.2815, allocations: 11.95 kB / 400.9 MB, free: 7.48 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.899e-05/0.2815, allocations: 125.4 kB / 401.1 MB, free: 7.363 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2815, allocations: 0 / 401.1 MB, free: 7.363 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00027/0.2818, allocations: 42.06 kB / 401.1 MB, free: 7.363 MB / 330.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.0001473/0.2819, allocations: 132 kB / 401.2 MB, free: 7.258 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001713/0.2821, allocations: 129 kB / 401.4 MB, free: 7.223 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2821, allocations: 3.062 kB / 401.4 MB, free: 7.223 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.042e-05/0.2822, allocations: 88.2 kB / 401.4 MB, free: 7.188 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.2824, allocations: 53.27 kB / 401.5 MB, free: 7.172 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005989/0.283, allocations: 262.7 kB / 401.8 MB, free: 6.969 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.64e-05/0.283, allocations: 64.69 kB / 401.8 MB, free: 6.895 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001677/0.2832, allocations: 58.92 kB / 401.9 MB, free: 6.859 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.2834, allocations: 122.9 kB / 402 MB, free: 6.773 MB / 330.7 MB Notification: Performance of SimCode: time 8.81e-07/0.2834, allocations: 0 / 402 MB, free: 6.773 MB / 330.7 MB Notification: Performance of Templates: time 0.004419/0.2878, allocations: 3.747 MB / 405.7 MB, free: 4.844 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.042435866780579]