Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.0009947/0.0009947, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001534/0.002529, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001105/0.001105, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00144/0.002544, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9881/0.9881, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08433/1.072, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2678/0.2678, allocations: 34.25 MB / 278.4 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02086/0.2887, allocations: 13.1 MB / 291.5 MB, free: 7.34 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,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.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,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.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 4 kB / 292.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.568e-06/1.174e-05, allocations: 3.719 kB / 292.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.004068/0.00408, allocations: 5.186 MB / 298.1 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00336/0.00744, allocations: 4.73 MB / 302.8 MB, free: 12.22 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.007e-05/0.00752, allocations: 4 kB / 302.8 MB, free: 12.22 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001613/0.007681, allocations: 47.62 kB / 302.8 MB, free: 12.17 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001328/0.009009, allocations: 0.7103 MB / 303.5 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002701/0.009279, allocations: 163.7 kB / 303.7 MB, free: 11.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00043/0.009709, allocations: 398 kB / 304.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.092e-05/0.00976, allocations: 10.41 kB / 304.1 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002831/0.01004, allocations: 215.4 kB / 304.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001827/0.01023, allocations: 103.7 kB / 304.4 MB, free: 10.58 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.01025, allocations: 15.94 kB / 304.4 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006354/0.01089, allocations: 343.4 kB / 304.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.002e-05/0.01095, allocations: 27.88 kB / 304.8 MB, free: 10.2 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.521e-05/0.01101, allocations: 67.86 kB / 304.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000443/0.01146, allocations: 394.7 kB / 305.2 MB, free: 9.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.033e-05/0.01147, allocations: 0 / 305.2 MB, free: 9.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.01147, allocations: 0 / 305.2 MB, free: 9.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.968e-06/0.01148, allocations: 0 / 305.2 MB, free: 9.75 MB / 298.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.0008245/0.0123, allocations: 0.6579 MB / 305.9 MB, free: 9.051 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.01233, allocations: 8.031 kB / 305.9 MB, free: 9.043 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.01246, allocations: 48.84 kB / 306 MB, free: 8.996 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.01264, allocations: 153.5 kB / 306.1 MB, free: 8.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000111/0.01275, allocations: 230.7 kB / 306.3 MB, free: 8.547 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.502e-05/0.01278, allocations: 28.38 kB / 306.4 MB, free: 8.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003197/0.0131, allocations: 426.9 kB / 306.8 MB, free: 8.027 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.01312, allocations: 4.188 kB / 306.8 MB, free: 8.023 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.01314, allocations: 11.94 kB / 306.8 MB, free: 8.012 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.277e-05/0.01317, allocations: 12 kB / 306.8 MB, free: 8 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00032/0.01349, allocations: 439.5 kB / 307.2 MB, free: 7.566 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007478/0.01424, allocations: 0.9421 MB / 308.2 MB, free: 6.586 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.01442, allocations: 152 kB / 308.3 MB, free: 6.43 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.329e-05/0.01446, allocations: 44.84 kB / 308.4 MB, free: 6.383 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007676/0.01523, allocations: 0.6849 MB / 309.1 MB, free: 5.684 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.01525, allocations: 34.56 kB / 309.1 MB, free: 5.641 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.022e-06/0.01525, allocations: 0 / 309.1 MB, free: 5.641 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004361/0.01569, allocations: 242.3 kB / 309.3 MB, free: 5.398 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.01571, allocations: 55.41 kB / 309.4 MB, free: 5.332 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.01582, allocations: 231 kB / 309.6 MB, free: 5.094 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.01584, allocations: 29.64 kB / 309.6 MB, free: 5.059 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.921e-05/0.01592, allocations: 219.5 kB / 309.8 MB, free: 4.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.01594, allocations: 55.61 kB / 309.9 MB, free: 4.785 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.954e-05/0.016, allocations: 82.06 kB / 310 MB, free: 4.699 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.479e-05/0.01607, allocations: 326.8 kB / 310.3 MB, free: 4.371 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.71e-05/0.01611, allocations: 35.75 kB / 310.3 MB, free: 4.336 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.01625, allocations: 296.1 kB / 310.6 MB, free: 3.918 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002339/0.01649, allocations: 420.1 kB / 311 MB, free: 3.379 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.01649, allocations: 8 kB / 311 MB, free: 3.371 MB / 298.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002317/0.01672, allocations: 280.6 kB / 311.3 MB, free: 3.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.01674, allocations: 12 kB / 311.3 MB, free: 3.078 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.01675, allocations: 12.12 kB / 311.3 MB, free: 3.066 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.01677, allocations: 15.98 kB / 311.4 MB, free: 3.051 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.01698, allocations: 119.8 kB / 311.5 MB, free: 2.934 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.01699, allocations: 15.94 kB / 311.5 MB, free: 2.918 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.01712, allocations: 55.59 kB / 311.5 MB, free: 2.863 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.01714, allocations: 20 kB / 311.6 MB, free: 2.844 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (50): * Single equations (assignments): 49 * Array equations: 1 * 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 7.59e-05/0.01722, allocations: 152.4 kB / 311.7 MB, free: 2.684 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.01724, allocations: 11.98 kB / 311.7 MB, free: 2.672 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001496/0.01739, allocations: 125.1 kB / 311.8 MB, free: 2.551 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.0174, allocations: 4 kB / 311.9 MB, free: 2.547 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.0174, allocations: 0 / 311.9 MB, free: 2.547 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.0174, allocations: 3.984 kB / 311.9 MB, free: 2.543 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.01754, allocations: 125.7 kB / 312 MB, free: 2.402 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.01754, allocations: 3.938 kB / 312 MB, free: 2.398 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.273e-05/0.01762, allocations: 31.92 kB / 312 MB, free: 2.367 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.266e-05/0.01765, allocations: 27.83 kB / 312 MB, free: 2.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.01766, allocations: 3.984 kB / 312 MB, free: 2.336 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.01766, allocations: 4 kB / 312 MB, free: 2.332 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.01767, allocations: 0 / 312 MB, free: 2.332 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01767, allocations: 0 / 312 MB, free: 2.332 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.01778, allocations: 230.2 kB / 312.3 MB, free: 2.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.0178, allocations: 4 kB / 312.3 MB, free: 2.086 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.605e-05/0.01788, allocations: 15.97 kB / 312.3 MB, free: 2.07 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.49e-05/0.0179, allocations: 7.984 kB / 312.3 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.01791, allocations: 8.125 kB / 312.3 MB, free: 2.055 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.333e-05/0.01795, allocations: 66.78 kB / 312.4 MB, free: 1.992 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01795, allocations: 0 / 312.4 MB, free: 1.992 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002703/0.01822, allocations: 103.8 kB / 312.5 MB, free: 1.891 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 12 * Array equations: 1 * 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.0001983/0.01842, allocations: 152.1 kB / 312.6 MB, free: 1.734 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001669/0.01859, allocations: 154.9 kB / 312.8 MB, free: 1.582 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-05/0.0186, allocations: 8.5 kB / 312.8 MB, free: 1.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.788e-05/0.01864, allocations: 45.19 kB / 312.8 MB, free: 1.527 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.01889, allocations: 107.5 kB / 312.9 MB, free: 1.422 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003195/0.02208, allocations: 496.1 kB / 313.4 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.133e-05/0.02212, allocations: 76.33 kB / 313.5 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001177/0.02224, allocations: 60.48 kB / 313.5 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.02238, allocations: 113.3 kB / 313.7 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of SimCode: time 4.31e-07/0.02238, allocations: 0 / 313.7 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of Templates: time 0.00509/0.02747, allocations: 3.634 MB / 317.3 MB, free: 13.09 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_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.293499873019755]