Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.001518/0.001518, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001331/0.001331, allocations: 168 kB / 25 MB, free: 8.871 MB / 18.57 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 1.067/1.067, allocations: 177.1 MB / 205.3 MB, free: 5.617 MB / 186.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.3029/0.3029, allocations: 34.26 MB / 296 MB, free: 0.7656 MB / 266.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.LinearWater_pT_Ambient,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.LinearWater_pT_Ambient") translateModel(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,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.LinearWater_pT_Ambient") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 3.938 kB / 378.1 MB, free: 2.934 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.398e-05/2.575e-05, allocations: 2.312 kB / 378.1 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.02332/0.02335, allocations: 26.65 MB / 404.7 MB, free: 8.18 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002321/0.02567, allocations: 3.076 MB / 407.8 MB, free: 5.094 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.598e-05/0.02574, allocations: 0 / 407.8 MB, free: 5.094 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002852/0.02603, allocations: 47.62 kB / 407.8 MB, free: 5.047 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001661/0.02769, allocations: 0.7649 MB / 408.6 MB, free: 4.277 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002506/0.02794, allocations: 131.7 kB / 408.7 MB, free: 4.148 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003934/0.02833, allocations: 377.9 kB / 409.1 MB, free: 3.777 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.367e-05/0.02838, allocations: 9.75 kB / 409.1 MB, free: 3.77 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02554/0.05391, allocations: 15.49 MB / 424.6 MB, free: 4.156 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003153/0.05423, allocations: 127.7 kB / 424.7 MB, free: 4.031 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.136e-05/0.05426, allocations: 8 kB / 424.7 MB, free: 4.023 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005414/0.05967, allocations: 3.394 MB / 428.1 MB, free: 0.5977 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 9.283e-05/0.05976, allocations: 51.75 kB / 428.2 MB, free: 0.5469 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.0599, allocations: 83.77 kB / 428.2 MB, free: 476 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001055/0.06095, allocations: 466.6 kB / 428.7 MB, free: 8 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.06096, allocations: 0 / 428.7 MB, free: 8 kB / 394.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.06096, allocations: 0 / 428.7 MB, free: 8 kB / 394.7 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.06097, allocations: 0 / 428.7 MB, free: 8 kB / 394.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.001119/0.06209, allocations: 0.6203 MB / 429.3 MB, free: 15.35 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/0.06215, allocations: 16.03 kB / 429.3 MB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002477/0.06239, allocations: 56.67 kB / 429.4 MB, free: 15.28 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005338/0.06293, allocations: 164.4 kB / 429.6 MB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001659/0.06309, allocations: 230.7 kB / 429.8 MB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.552e-05/0.06313, allocations: 28.31 kB / 429.8 MB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004378/0.06357, allocations: 442.3 kB / 430.2 MB, free: 14.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.06358, allocations: 7.875 kB / 430.2 MB, free: 14.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.798e-05/0.06361, allocations: 12 kB / 430.3 MB, free: 14.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.274e-05/0.06364, allocations: 4 kB / 430.3 MB, free: 14.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004324/0.06407, allocations: 0.5255 MB / 430.8 MB, free: 13.74 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.06535, allocations: 1.339 MB / 432.1 MB, free: 12.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002826/0.06563, allocations: 144.2 kB / 432.3 MB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.896e-05/0.06571, allocations: 68.31 kB / 432.3 MB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001022/0.06673, allocations: 0.8321 MB / 433.2 MB, free: 11.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.06677, allocations: 41.39 kB / 433.2 MB, free: 11.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.06677, allocations: 0 / 433.2 MB, free: 11.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002484/0.06702, allocations: 113.4 kB / 433.3 MB, free: 11.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.06706, allocations: 55.41 kB / 433.4 MB, free: 11.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.06722, allocations: 289.3 kB / 433.7 MB, free: 10.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.06724, allocations: 29.7 kB / 433.7 MB, free: 10.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.06735, allocations: 274.2 kB / 433.9 MB, free: 10.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.06737, allocations: 43.69 kB / 434 MB, free: 10.37 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.857e-05/0.06744, allocations: 91.75 kB / 434.1 MB, free: 10.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.06756, allocations: 0.504 MB / 434.6 MB, free: 9.754 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.596e-05/0.0676, allocations: 32.97 kB / 434.6 MB, free: 9.723 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002267/0.06783, allocations: 479.8 kB / 435.1 MB, free: 9.051 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003465/0.06817, allocations: 0.555 MB / 435.6 MB, free: 8.293 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.06818, allocations: 4 kB / 435.6 MB, free: 8.289 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003697/0.06855, allocations: 385.7 kB / 436 MB, free: 7.906 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.06857, allocations: 8.188 kB / 436 MB, free: 7.898 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.06858, allocations: 16 kB / 436 MB, free: 7.883 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.0686, allocations: 12 kB / 436.1 MB, free: 7.871 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004617/0.06906, allocations: 99.83 kB / 436.2 MB, free: 7.773 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.742e-05/0.06908, allocations: 19.92 kB / 436.2 MB, free: 7.754 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.06922, allocations: 55.56 kB / 436.2 MB, free: 7.699 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.645e-05/0.06925, allocations: 28 kB / 436.3 MB, free: 7.672 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (51): * Single equations (assignments): 50 * 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 9.99e-05/0.06935, allocations: 196.3 kB / 436.4 MB, free: 7.469 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.467e-05/0.06938, allocations: 27.84 kB / 436.5 MB, free: 7.441 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000214/0.0696, allocations: 150.6 kB / 436.6 MB, free: 7.273 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.06961, allocations: 4 kB / 436.6 MB, free: 7.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.06961, allocations: 0 / 436.6 MB, free: 7.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.06962, allocations: 0 / 436.6 MB, free: 7.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003202/0.06994, allocations: 412.3 kB / 437 MB, free: 6.812 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.06994, allocations: 0 / 437 MB, free: 6.812 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.374e-05/0.06998, allocations: 15.94 kB / 437 MB, free: 6.797 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.06998, allocations: 3.984 kB / 437 MB, free: 6.793 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.06999, allocations: 0 / 437 MB, free: 6.793 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.06999, allocations: 12 kB / 437.1 MB, free: 6.781 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.07, allocations: 0 / 437.1 MB, free: 6.781 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/0.07013, allocations: 258.8 kB / 437.3 MB, free: 6.496 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.459e-05/0.07017, allocations: 23.83 kB / 437.3 MB, free: 6.473 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.07019, allocations: 7.984 kB / 437.3 MB, free: 6.465 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.099e-05/0.07027, allocations: 16 kB / 437.4 MB, free: 6.449 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.996e-05/0.07029, allocations: 12.02 kB / 437.4 MB, free: 6.438 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.0703, allocations: 4 kB / 437.4 MB, free: 6.434 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.993e-05/0.07039, allocations: 193.1 kB / 437.6 MB, free: 6.242 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.07039, allocations: 0 / 437.6 MB, free: 6.242 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003306/0.07072, allocations: 95.81 kB / 437.7 MB, free: 6.148 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * 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.0002531/0.07097, allocations: 163 kB / 437.8 MB, free: 5.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002242/0.0712, allocations: 171.5 kB / 438 MB, free: 5.812 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.0712, allocations: 0 / 438 MB, free: 5.812 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.453e-05/0.07123, allocations: 31.61 kB / 438 MB, free: 5.777 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.07152, allocations: 55.52 kB / 438.1 MB, free: 5.727 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.07258, allocations: 0.5235 MB / 438.6 MB, free: 5.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.473e-05/0.07262, allocations: 76.27 kB / 438.7 MB, free: 5.066 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001192/0.07274, allocations: 59.03 kB / 438.7 MB, free: 5.012 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.625e-05/0.07278, allocations: 24.5 kB / 438.7 MB, free: 4.988 MB / 410.7 MB Notification: Performance of SimCode: time 9.92e-07/0.07278, allocations: 0 / 438.7 MB, free: 4.988 MB / 410.7 MB Notification: Performance of Templates: time 0.005518/0.07829, allocations: 3.109 MB / 441.9 MB, free: 1.926 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.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.LinearWater_pT_Ambient_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5756856249645352]