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.0008776/0.0008776, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001366/0.002243, allocations: 449.7 kB / 10.37 MB, free: 328 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.0008934/0.0008934, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007761/0.008654, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.9838/0.9838, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09373/1.078, allocations: 53.64 MB / 243.3 MB, free: 15.58 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.2801/0.2801, allocations: 34.26 MB / 278.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02385/0.304, allocations: 13.1 MB / 291.3 MB, free: 7.363 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 1.433e-06/1.433e-06, allocations: 0 / 292.7 MB, free: 6.262 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.313e-05/1.457e-05, allocations: 5.438 kB / 292.7 MB, free: 6.258 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.004273/0.004288, allocations: 5.182 MB / 297.8 MB, free: 1.051 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003902/0.00819, allocations: 4.718 MB / 302.6 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.728e-05/0.008267, allocations: 4 kB / 302.6 MB, free: 12.31 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001659/0.008433, allocations: 51.66 kB / 302.6 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001238/0.009671, allocations: 0.7181 MB / 303.3 MB, free: 11.54 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002163/0.009887, allocations: 167.7 kB / 303.5 MB, free: 11.38 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003417/0.01023, allocations: 394 kB / 303.9 MB, free: 10.99 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.788e-05/0.01027, allocations: 14.47 kB / 303.9 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001999/0.01047, allocations: 203.4 kB / 304.1 MB, free: 10.78 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.01059, allocations: 119.6 kB / 304.2 MB, free: 10.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.01061, allocations: 8 kB / 304.2 MB, free: 10.65 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004266/0.01103, allocations: 343.3 kB / 304.5 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.281e-05/0.01109, allocations: 35.86 kB / 304.6 MB, free: 10.28 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.855e-05/0.01114, allocations: 63.94 kB / 304.6 MB, free: 10.22 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004092/0.01155, allocations: 390.8 kB / 305 MB, free: 9.836 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.145e-05/0.01157, allocations: 0 / 305 MB, free: 9.836 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.01157, allocations: 0 / 305 MB, free: 9.836 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.01158, allocations: 0 / 305 MB, free: 9.836 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.0007095/0.01229, allocations: 0.6462 MB / 305.7 MB, free: 9.148 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.01232, allocations: 12.03 kB / 305.7 MB, free: 9.137 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.01242, allocations: 48.84 kB / 305.7 MB, free: 9.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.01259, allocations: 169.5 kB / 305.9 MB, free: 8.898 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-05/0.01269, allocations: 226.7 kB / 306.1 MB, free: 8.629 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.01271, allocations: 20.38 kB / 306.1 MB, free: 8.609 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.01298, allocations: 434.9 kB / 306.6 MB, free: 8.109 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.01299, allocations: 192 / 306.6 MB, free: 8.109 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.01301, allocations: 11.94 kB / 306.6 MB, free: 8.098 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.028e-05/0.01303, allocations: 15.98 kB / 306.6 MB, free: 8.082 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003563/0.01339, allocations: 447.4 kB / 307 MB, free: 7.645 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006615/0.01405, allocations: 0.9304 MB / 308 MB, free: 6.672 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.01422, allocations: 151.9 kB / 308.1 MB, free: 6.516 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.302e-05/0.01426, allocations: 52.81 kB / 308.2 MB, free: 6.461 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006859/0.01495, allocations: 0.6771 MB / 308.8 MB, free: 5.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.01497, allocations: 38.55 kB / 308.9 MB, free: 5.723 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 9.32e-07/0.01497, allocations: 4 kB / 308.9 MB, free: 5.719 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002369/0.01521, allocations: 167.9 kB / 309 MB, free: 5.551 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.01523, allocations: 55.41 kB / 309.1 MB, free: 5.484 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.01535, allocations: 227.1 kB / 309.3 MB, free: 5.25 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.01537, allocations: 29.7 kB / 309.3 MB, free: 5.215 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.884e-05/0.01544, allocations: 219.5 kB / 309.6 MB, free: 4.996 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.01547, allocations: 55.55 kB / 309.6 MB, free: 4.941 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.908e-05/0.01553, allocations: 86 kB / 309.7 MB, free: 4.852 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.483e-05/0.0156, allocations: 326.8 kB / 310 MB, free: 4.523 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.394e-05/0.01564, allocations: 35.81 kB / 310.1 MB, free: 4.488 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.01577, allocations: 292.1 kB / 310.3 MB, free: 4.074 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002122/0.01599, allocations: 388.2 kB / 310.7 MB, free: 3.566 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.01599, allocations: 7.938 kB / 310.7 MB, free: 3.559 MB / 298.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002291/0.01622, allocations: 292.2 kB / 311 MB, free: 3.266 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.01623, allocations: 8 kB / 311 MB, free: 3.258 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.01624, allocations: 8 kB / 311 MB, free: 3.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.01625, allocations: 12 kB / 311 MB, free: 3.238 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.01646, allocations: 119.8 kB / 311.2 MB, free: 3.121 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.01647, allocations: 20.42 kB / 311.2 MB, free: 3.102 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.01659, allocations: 51.67 kB / 311.2 MB, free: 3.051 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.01661, allocations: 24 kB / 311.3 MB, free: 3.027 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.092e-05/0.01668, allocations: 148.3 kB / 311.4 MB, free: 2.871 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.01671, allocations: 23.97 kB / 311.4 MB, free: 2.848 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.01684, allocations: 125.2 kB / 311.5 MB, free: 2.723 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.01685, allocations: 3.938 kB / 311.5 MB, free: 2.719 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.01685, allocations: 0 / 311.5 MB, free: 2.719 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.01685, allocations: 0 / 311.5 MB, free: 2.719 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/0.01698, allocations: 117.7 kB / 311.7 MB, free: 2.586 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01698, allocations: 3.938 kB / 311.7 MB, free: 2.582 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.205e-05/0.01707, allocations: 39.91 kB / 311.7 MB, free: 2.543 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.138e-05/0.0171, allocations: 19.91 kB / 311.7 MB, free: 2.523 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.0171, allocations: 0 / 311.7 MB, free: 2.523 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.01711, allocations: 11.98 kB / 311.7 MB, free: 2.512 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.01711, allocations: 128 / 311.7 MB, free: 2.512 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.01711, allocations: 4 kB / 311.7 MB, free: 2.508 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.01723, allocations: 220.3 kB / 312 MB, free: 2.277 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.01725, allocations: 11.92 kB / 312 MB, free: 2.266 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.484e-05/0.01734, allocations: 15.97 kB / 312 MB, free: 2.25 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.278e-05/0.01735, allocations: 3.984 kB / 312 MB, free: 2.246 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.01736, allocations: 7.984 kB / 312 MB, free: 2.238 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.155e-05/0.0174, allocations: 66.78 kB / 312.1 MB, free: 2.172 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0174, allocations: 0 / 312.1 MB, free: 2.172 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002488/0.01765, allocations: 107.8 kB / 312.2 MB, free: 2.066 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.0001829/0.01783, allocations: 148.2 kB / 312.3 MB, free: 1.914 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001472/0.01798, allocations: 151.6 kB / 312.5 MB, free: 1.766 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.146e-05/0.01799, allocations: 4.5 kB / 312.5 MB, free: 1.762 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.581e-05/0.01802, allocations: 40.97 kB / 312.5 MB, free: 1.719 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.01824, allocations: 80.38 kB / 312.6 MB, free: 1.641 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003219/0.02146, allocations: 498.9 kB / 313.1 MB, free: 1.121 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.769e-05/0.0215, allocations: 76.33 kB / 313.1 MB, free: 1.027 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001215/0.02162, allocations: 55.73 kB / 313.2 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.02176, allocations: 121.3 kB / 313.3 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of SimCode: time 6.52e-07/0.02176, allocations: 0 / 313.3 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of Templates: time 0.005142/0.0269, allocations: 3.909 MB / 317.2 MB, free: 13.03 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,rangeDelta=0.001) [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.2052274188026786]