Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.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.0007523/0.0007523, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001123/0.001875, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0007067/0.0007067, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009753/0.001682, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 0.8863/0.8863, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1754/1.062, allocations: 52.48 MB / 238.5 MB, free: 7.621 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1389/0.1389, allocations: 32.81 MB / 272 MB, free: 6.285 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01949/0.1584, allocations: 12.53 MB / 284.5 MB, free: 9.707 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Media.TestAllProperties.CO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2") translateModel(ModelicaTest.Media.TestAllProperties.CO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 285.9 MB, free: 8.379 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.047e-06/1.024e-05, allocations: 5.406 kB / 285.9 MB, free: 8.375 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.2681/0.2681, allocations: 143 MB / 428.9 MB, free: 9.109 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.004609/0.2728, allocations: 5.463 MB / 434.3 MB, free: 3.656 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.2729, allocations: 3.938 kB / 434.3 MB, free: 3.652 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002241/0.2731, allocations: 59.61 kB / 434.4 MB, free: 3.594 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003446/0.2765, allocations: 1.356 MB / 435.7 MB, free: 2.23 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003322/0.2769, allocations: 147.7 kB / 435.9 MB, free: 2.086 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006917/0.2776, allocations: 429.9 kB / 436.3 MB, free: 1.664 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.533e-05/0.2776, allocations: 10.45 kB / 436.3 MB, free: 1.648 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000338/0.278, allocations: 243.9 kB / 436.6 MB, free: 1.41 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002473/0.2782, allocations: 147.7 kB / 436.7 MB, free: 1.266 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.038e-05/0.2782, allocations: 8 kB / 436.7 MB, free: 1.258 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001821/0.2801, allocations: 1.047 MB / 437.8 MB, free: 216 kB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.97e-05/0.2801, allocations: 27.92 kB / 437.8 MB, free: 188 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 8.419e-05/0.2802, allocations: 67.88 kB / 437.8 MB, free: 120 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001362/0.2816, allocations: 0.8065 MB / 438.7 MB, free: 15.31 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.308e-05/0.2816, allocations: 0 / 438.7 MB, free: 15.31 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.2816, allocations: 4 kB / 438.7 MB, free: 15.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.2816, allocations: 0 / 438.7 MB, free: 15.3 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001057/0.2827, allocations: 0.7854 MB / 439.4 MB, free: 14.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.735e-05/0.2827, allocations: 8.031 kB / 439.4 MB, free: 14.47 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003304/0.286, allocations: 0.7335 MB / 440.2 MB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005783/0.2866, allocations: 165.5 kB / 440.3 MB, free: 13.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001118/0.2867, allocations: 230.7 kB / 440.6 MB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.378e-05/0.2868, allocations: 27.94 kB / 440.6 MB, free: 13.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005774/0.2873, allocations: 0.6598 MB / 441.3 MB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.2874, allocations: 0 / 441.3 MB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.205e-05/0.2874, allocations: 12 kB / 441.3 MB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/0.2874, allocations: 11.98 kB / 441.3 MB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004248/0.2879, allocations: 379.8 kB / 441.7 MB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.289, allocations: 1.296 MB / 442.9 MB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.2891, allocations: 107.7 kB / 443.1 MB, free: 10.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.861e-05/0.2892, allocations: 44.83 kB / 443.1 MB, free: 10.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005583/0.2898, allocations: 454.2 kB / 443.5 MB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.2898, allocations: 46.55 kB / 443.6 MB, free: 10.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 9.82e-07/0.2898, allocations: 0 / 443.6 MB, free: 10.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006414/0.2904, allocations: 321.1 kB / 443.9 MB, free: 9.766 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.234e-05/0.2904, allocations: 51.41 kB / 443.9 MB, free: 9.703 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.2905, allocations: 202.9 kB / 444.1 MB, free: 9.492 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.2906, allocations: 33.64 kB / 444.2 MB, free: 9.453 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.2906, allocations: 191.8 kB / 444.4 MB, free: 9.258 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.628e-05/0.2907, allocations: 67.42 kB / 444.4 MB, free: 9.191 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.03e-05/0.2908, allocations: 93.92 kB / 444.5 MB, free: 9.094 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.442e-05/0.2908, allocations: 330.8 kB / 444.8 MB, free: 8.762 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.191e-05/0.2909, allocations: 32.73 kB / 444.9 MB, free: 8.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.291, allocations: 239 kB / 445.1 MB, free: 8.406 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002347/0.2912, allocations: 344.9 kB / 445.4 MB, free: 7.973 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.2912, allocations: 7.938 kB / 445.5 MB, free: 7.965 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002579/0.2915, allocations: 272.8 kB / 445.7 MB, free: 7.695 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.2915, allocations: 11.98 kB / 445.7 MB, free: 7.684 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.2915, allocations: 8.5 kB / 445.7 MB, free: 7.676 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.2915, allocations: 8 kB / 445.8 MB, free: 7.668 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/0.2918, allocations: 131.8 kB / 445.9 MB, free: 7.539 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002589/0.292, allocations: 0.5953 MB / 446.5 MB, free: 6.922 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.2922, allocations: 46.55 kB / 446.5 MB, free: 6.879 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.718e-05/0.2922, allocations: 35.94 kB / 446.6 MB, free: 6.844 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.909e-05/0.2923, allocations: 144.7 kB / 446.7 MB, free: 6.691 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.801e-05/0.2924, allocations: 23.97 kB / 446.7 MB, free: 6.668 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004172/0.2928, allocations: 398.5 kB / 447.1 MB, free: 6.266 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.2928, allocations: 4 kB / 447.1 MB, free: 6.262 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.2928, allocations: 0 / 447.1 MB, free: 6.262 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.2928, allocations: 4 kB / 447.1 MB, free: 6.258 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006883/0.2935, allocations: 414.3 kB / 447.5 MB, free: 5.801 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.2935, allocations: 0 / 447.5 MB, free: 5.801 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.2936, allocations: 55.95 kB / 447.6 MB, free: 5.746 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.922e-05/0.2936, allocations: 27.83 kB / 447.6 MB, free: 5.719 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.2936, allocations: 4.25 kB / 447.6 MB, free: 5.715 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.2937, allocations: 8 kB / 447.6 MB, free: 5.707 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001838/0.2938, allocations: 0.5912 MB / 448.2 MB, free: 5.094 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.2938, allocations: 4 kB / 448.2 MB, free: 5.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/0.294, allocations: 254.2 kB / 448.5 MB, free: 4.801 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.294, allocations: 8 kB / 448.5 MB, free: 4.793 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.2941, allocations: 7.984 kB / 448.5 MB, free: 4.785 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.904e-05/0.2942, allocations: 31.78 kB / 448.5 MB, free: 4.754 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.2942, allocations: 16.06 kB / 448.5 MB, free: 4.738 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.598e-05/0.2942, allocations: 53.97 kB / 448.6 MB, free: 4.684 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2942, allocations: 4 kB / 448.6 MB, free: 4.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004522/0.2947, allocations: 159.7 kB / 448.7 MB, free: 4.523 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005394/0.2952, allocations: 298.6 kB / 449 MB, free: 4.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002841/0.2955, allocations: 202.6 kB / 449.2 MB, free: 4.047 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/0.2955, allocations: 4 kB / 449.2 MB, free: 4.043 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.2956, allocations: 83.31 kB / 449.3 MB, free: 3.957 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.296, allocations: 244.6 kB / 449.5 MB, free: 3.699 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003668/0.2996, allocations: 0.8191 MB / 450.4 MB, free: 2.832 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.225e-05/0.2997, allocations: 76.19 kB / 450.4 MB, free: 2.738 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003863/0.3001, allocations: 378.1 kB / 450.8 MB, free: 2.371 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002228/0.3003, allocations: 151.2 kB / 451 MB, free: 2.223 MB / 410.7 MB Notification: Performance of SimCode: time 7.82e-07/0.3003, allocations: 0 / 451 MB, free: 2.223 MB / 410.7 MB Notification: Performance of Templates: time 0.007829/0.3081, allocations: 6.588 MB / 457.5 MB, free: 11.7 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat failed! " [Timeout remaining time 660] Not compared, constant in the reference and not in the result: eps Reference file matches [Calling sys.exit(0), Time elapsed: 3.39586116746068]