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.0013/0.0013, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.00176/0.00176, allocations: 161 kB / 24.55 MB, free: 20 kB / 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 0.9855/0.9855, allocations: 177.2 MB / 205 MB, free: 5.578 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.2542/0.2542, allocations: 34.26 MB / 295.7 MB, free: 0.7578 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.724e-06/1.724e-06, allocations: 0 / 378.1 MB, free: 2.617 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.893e-05/3.066e-05, allocations: 5.828 kB / 378.1 MB, free: 2.613 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.02364/0.02367, allocations: 26.71 MB / 404.8 MB, free: 7.805 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002257/0.02593, allocations: 3.107 MB / 407.9 MB, free: 4.688 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.21e-05/0.02601, allocations: 4 kB / 407.9 MB, free: 4.684 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002839/0.02629, allocations: 55.56 kB / 407.9 MB, free: 4.629 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001391/0.02768, allocations: 0.8079 MB / 408.8 MB, free: 3.816 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000251/0.02794, allocations: 143.8 kB / 408.9 MB, free: 3.676 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004192/0.02835, allocations: 397.9 kB / 409.3 MB, free: 3.285 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.237e-05/0.0284, allocations: 9.75 kB / 409.3 MB, free: 3.277 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Media/Water/IF97_Utilities.mo:900:9-900:73:writable] Warning: Output parameter bpro.cv was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Media/Water/IF97_Utilities.mo:937:9-937:73:writable] Warning: Output parameter bpro.cv was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Media/Water/IF97_Utilities.mo:900:9-900:73:writable] Warning: Output parameter bpro.cv was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Media/Water/IF97_Utilities.mo:937:9-937:73:writable] Warning: Output parameter bpro.cv was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Media/Water/IF97_Utilities.mo:900:9-900:73:writable] Warning: Output parameter bpro.cv was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Media/Water/IF97_Utilities.mo:937:9-937:73:writable] Warning: Output parameter bpro.cv was not assigned a value Notification: Performance of NFEvalConstants.evaluate: time 0.02479/0.05319, allocations: 15.52 MB / 424.8 MB, free: 3.625 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003585/0.05355, allocations: 131.7 kB / 424.9 MB, free: 3.496 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.705e-05/0.05358, allocations: 12 kB / 425 MB, free: 3.484 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005725/0.05931, allocations: 3.414 MB / 428.4 MB, free: 40 kB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 9.715e-05/0.05941, allocations: 51.81 kB / 428.4 MB, free: 15.99 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.05953, allocations: 83.77 kB / 428.5 MB, free: 15.91 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007899/0.06032, allocations: 462.6 kB / 429 MB, free: 15.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.06032, allocations: 0 / 429 MB, free: 15.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.06032, allocations: 0 / 429 MB, free: 15.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.06033, allocations: 0 / 429 MB, free: 15.45 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.0008376/0.06117, allocations: 0.628 MB / 429.6 MB, free: 14.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.06121, allocations: 12.03 kB / 429.6 MB, free: 14.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/0.06137, allocations: 52.67 kB / 429.6 MB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.06157, allocations: 176.3 kB / 429.8 MB, free: 14.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/0.06168, allocations: 222.7 kB / 430 MB, free: 14.26 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.961e-05/0.06171, allocations: 24.38 kB / 430.1 MB, free: 14.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003662/0.06208, allocations: 442.2 kB / 430.5 MB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.06209, allocations: 7.938 kB / 430.5 MB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.06211, allocations: 8 kB / 430.5 MB, free: 13.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.754e-05/0.06214, allocations: 12 kB / 430.5 MB, free: 13.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003926/0.06253, allocations: 0.5332 MB / 431.1 MB, free: 13.17 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009629/0.0635, allocations: 1.339 MB / 432.4 MB, free: 11.76 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002521/0.06375, allocations: 140.2 kB / 432.5 MB, free: 11.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.948e-05/0.06383, allocations: 68.31 kB / 432.6 MB, free: 11.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001076/0.0649, allocations: 0.8244 MB / 433.4 MB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.06493, allocations: 41.39 kB / 433.5 MB, free: 10.65 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.253e-06/0.06493, allocations: 0 / 433.5 MB, free: 10.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.000229/0.06516, allocations: 109.8 kB / 433.6 MB, free: 10.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.06519, allocations: 51.41 kB / 433.6 MB, free: 10.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.06533, allocations: 293.3 kB / 433.9 MB, free: 10.17 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.06535, allocations: 37.58 kB / 433.9 MB, free: 10.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.924e-05/0.06545, allocations: 274.2 kB / 434.2 MB, free: 9.852 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.06547, allocations: 43.69 kB / 434.3 MB, free: 9.809 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.872e-05/0.06554, allocations: 91.75 kB / 434.3 MB, free: 9.711 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.06565, allocations: 0.5 MB / 434.8 MB, free: 9.199 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.987e-05/0.0657, allocations: 40.97 kB / 434.9 MB, free: 9.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/0.06592, allocations: 471.9 kB / 435.3 MB, free: 8.496 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003137/0.06623, allocations: 0.5589 MB / 435.9 MB, free: 7.734 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.06624, allocations: 8 kB / 435.9 MB, free: 7.727 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003656/0.0666, allocations: 377.8 kB / 436.3 MB, free: 7.352 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.06662, allocations: 12.06 kB / 436.3 MB, free: 7.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.06663, allocations: 12 kB / 436.3 MB, free: 7.328 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.06666, allocations: 12 kB / 436.3 MB, free: 7.316 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.0668, allocations: 107.8 kB / 436.4 MB, free: 7.211 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.06681, allocations: 15.94 kB / 436.4 MB, free: 7.195 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.06695, allocations: 55.56 kB / 436.5 MB, free: 7.141 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.06697, allocations: 31.98 kB / 436.5 MB, free: 7.109 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 8.811e-05/0.06706, allocations: 196.3 kB / 436.7 MB, free: 6.906 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/0.06709, allocations: 23.86 kB / 436.7 MB, free: 6.883 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001975/0.06729, allocations: 142.2 kB / 436.9 MB, free: 6.723 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.0673, allocations: 0 / 436.9 MB, free: 6.723 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.0673, allocations: 0 / 436.9 MB, free: 6.723 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.06731, allocations: 4 kB / 436.9 MB, free: 6.719 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/0.0676, allocations: 412.2 kB / 437.3 MB, free: 6.262 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.0676, allocations: 4 kB / 437.3 MB, free: 6.258 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.028e-05/0.06763, allocations: 11.98 kB / 437.3 MB, free: 6.246 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.06763, allocations: 4 kB / 437.3 MB, free: 6.242 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.06764, allocations: 0 / 437.3 MB, free: 6.242 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.06764, allocations: 7.938 kB / 437.3 MB, free: 6.234 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.06764, allocations: 3.938 kB / 437.3 MB, free: 6.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.06778, allocations: 262.8 kB / 437.6 MB, free: 5.941 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.905e-05/0.06781, allocations: 23.83 kB / 437.6 MB, free: 5.918 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.06783, allocations: 8.094 kB / 437.6 MB, free: 5.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.688e-05/0.06791, allocations: 15.98 kB / 437.6 MB, free: 5.895 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.74e-05/0.06792, allocations: 4 kB / 437.6 MB, free: 5.891 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-06/0.06793, allocations: 7.984 kB / 437.6 MB, free: 5.883 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.738e-05/0.06802, allocations: 197.1 kB / 437.8 MB, free: 5.688 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06802, allocations: 0 / 437.8 MB, free: 5.688 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003323/0.06835, allocations: 95.81 kB / 437.9 MB, free: 5.594 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.0002537/0.0686, allocations: 159.1 kB / 438.1 MB, free: 5.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002161/0.06882, allocations: 169.5 kB / 438.2 MB, free: 5.262 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.06882, allocations: 2 kB / 438.2 MB, free: 5.262 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.623e-05/0.06885, allocations: 35.61 kB / 438.3 MB, free: 5.223 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.06914, allocations: 48.88 kB / 438.3 MB, free: 5.176 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.07017, allocations: 0.5352 MB / 438.9 MB, free: 4.598 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.41e-05/0.07021, allocations: 72.33 kB / 438.9 MB, free: 4.508 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001151/0.07033, allocations: 50.92 kB / 439 MB, free: 4.461 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.652e-05/0.07036, allocations: 24.5 kB / 439 MB, free: 4.438 MB / 410.7 MB Notification: Performance of SimCode: time 8.01e-07/0.07036, allocations: 0 / 439 MB, free: 4.438 MB / 410.7 MB Notification: Performance of Templates: time 0.005182/0.07555, allocations: 3.069 MB / 442.1 MB, free: 1.422 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.6196941710077226]