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.0009668/0.0009668, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001036/0.001036, allocations: 167.1 kB / 24.82 MB, free: 9.266 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 0.9644/0.9644, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2652/0.2652, allocations: 34.26 MB / 296.1 MB, free: 0.7227 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.784e-06/1.784e-06, allocations: 0 / 378.5 MB, free: 2.371 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.186e-05/2.365e-05, allocations: 2.312 kB / 378.5 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.02689/0.02691, allocations: 26.35 MB / 404.9 MB, free: 7.918 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002421/0.02933, allocations: 3.088 MB / 408 MB, free: 4.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.765e-05/0.02942, allocations: 0 / 408 MB, free: 4.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003417/0.02976, allocations: 55.59 kB / 408 MB, free: 4.766 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001469/0.03123, allocations: 0.8078 MB / 408.8 MB, free: 3.953 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002473/0.03148, allocations: 143.8 kB / 409 MB, free: 3.812 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004579/0.03193, allocations: 393.9 kB / 409.4 MB, free: 3.426 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.798e-05/0.03199, allocations: 13.75 kB / 409.4 MB, free: 3.414 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.0245/0.0565, allocations: 15.52 MB / 424.9 MB, free: 3.77 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008022/0.0573, allocations: 147.6 kB / 425 MB, free: 3.625 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.383e-05/0.05733, allocations: 8 kB / 425 MB, free: 3.617 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004469/0.0618, allocations: 3.417 MB / 428.5 MB, free: 172 kB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.039e-05/0.06188, allocations: 43.83 kB / 428.5 MB, free: 128 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 9.045e-05/0.06197, allocations: 87.75 kB / 428.6 MB, free: 40 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006202/0.06259, allocations: 462.6 kB / 429 MB, free: 15.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.0626, allocations: 0 / 429 MB, free: 15.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.0626, allocations: 0 / 429 MB, free: 15.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.06261, allocations: 4 kB / 429 MB, free: 15.58 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.0008521/0.06346, allocations: 0.6281 MB / 429.7 MB, free: 14.92 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.0635, allocations: 8.031 kB / 429.7 MB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.06364, allocations: 60.66 kB / 429.7 MB, free: 14.85 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.06385, allocations: 168.3 kB / 429.9 MB, free: 14.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/0.06397, allocations: 226.7 kB / 430.1 MB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.064, allocations: 24.38 kB / 430.1 MB, free: 14.37 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000343/0.06434, allocations: 414.2 kB / 430.5 MB, free: 13.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.06435, allocations: 11.94 kB / 430.6 MB, free: 13.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.06437, allocations: 8 kB / 430.6 MB, free: 13.87 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.499e-05/0.0644, allocations: 8 kB / 430.6 MB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003218/0.06472, allocations: 466.6 kB / 431 MB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/0.06595, allocations: 1.328 MB / 432.4 MB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/0.06617, allocations: 132.3 kB / 432.5 MB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.674e-05/0.06622, allocations: 52.31 kB / 432.5 MB, free: 11.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008951/0.06712, allocations: 0.8512 MB / 433.4 MB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.06714, allocations: 37.33 kB / 433.4 MB, free: 10.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.06715, allocations: 0 / 433.4 MB, free: 10.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001881/0.06733, allocations: 109.5 kB / 433.5 MB, free: 10.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.06736, allocations: 51.41 kB / 433.6 MB, free: 10.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.06751, allocations: 297.1 kB / 433.9 MB, free: 10.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.06752, allocations: 29.7 kB / 433.9 MB, free: 10.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.06764, allocations: 274.2 kB / 434.2 MB, free: 10.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.06767, allocations: 43.67 kB / 434.2 MB, free: 10.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.8e-05/0.06773, allocations: 95.72 kB / 434.3 MB, free: 9.969 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.06786, allocations: 0.5 MB / 434.8 MB, free: 9.457 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.11e-05/0.06789, allocations: 32.95 kB / 434.8 MB, free: 9.426 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002275/0.06812, allocations: 463.8 kB / 435.3 MB, free: 8.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000311/0.06843, allocations: 0.5627 MB / 435.9 MB, free: 8.004 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.06843, allocations: 4 kB / 435.9 MB, free: 8 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003196/0.06875, allocations: 361.3 kB / 436.2 MB, free: 7.641 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.06877, allocations: 10.03 kB / 436.2 MB, free: 7.633 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.06878, allocations: 12 kB / 436.2 MB, free: 7.621 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.0688, allocations: 12 kB / 436.2 MB, free: 7.609 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.06894, allocations: 99.83 kB / 436.3 MB, free: 7.512 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.06895, allocations: 24.45 kB / 436.4 MB, free: 7.488 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.06909, allocations: 59.56 kB / 436.4 MB, free: 7.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/0.06911, allocations: 28 kB / 436.4 MB, free: 7.402 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.744e-05/0.06921, allocations: 196.3 kB / 436.6 MB, free: 7.199 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.06924, allocations: 23.86 kB / 436.7 MB, free: 7.176 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001851/0.06942, allocations: 146.6 kB / 436.8 MB, free: 7.012 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.06943, allocations: 0 / 436.8 MB, free: 7.012 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.06943, allocations: 0 / 436.8 MB, free: 7.012 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.06943, allocations: 0 / 436.8 MB, free: 7.012 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002627/0.0697, allocations: 372.9 kB / 437.2 MB, free: 6.602 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.0697, allocations: 3.938 kB / 437.2 MB, free: 6.598 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.918e-05/0.06973, allocations: 15.98 kB / 437.2 MB, free: 6.582 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.06973, allocations: 0 / 437.2 MB, free: 6.582 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.06974, allocations: 4 kB / 437.2 MB, free: 6.578 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.06974, allocations: 8.156 kB / 437.2 MB, free: 6.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.06974, allocations: 4 kB / 437.2 MB, free: 6.566 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.06987, allocations: 258.7 kB / 437.5 MB, free: 6.281 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.852e-05/0.0699, allocations: 27.83 kB / 437.5 MB, free: 6.254 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.06992, allocations: 4 kB / 437.5 MB, free: 6.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.301e-05/0.06999, allocations: 3.984 kB / 437.5 MB, free: 6.246 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.716e-05/0.07001, allocations: 11.94 kB / 437.5 MB, free: 6.234 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.07002, allocations: 7.984 kB / 437.5 MB, free: 6.227 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.483e-05/0.07009, allocations: 185 kB / 437.7 MB, free: 6.043 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.07009, allocations: 4 kB / 437.7 MB, free: 6.039 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002965/0.07039, allocations: 103.8 kB / 437.8 MB, free: 5.938 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.0002184/0.07061, allocations: 163 kB / 438 MB, free: 5.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001675/0.07077, allocations: 155.5 kB / 438.1 MB, free: 5.617 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.07078, allocations: 12.06 kB / 438.1 MB, free: 5.605 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.233e-05/0.0708, allocations: 27.61 kB / 438.2 MB, free: 5.574 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.07107, allocations: 48.58 kB / 438.2 MB, free: 5.527 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008923/0.07196, allocations: 0.5314 MB / 438.7 MB, free: 4.953 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.07233, allocations: 72.33 kB / 438.8 MB, free: 4.863 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001108/0.07244, allocations: 50.92 kB / 438.8 MB, free: 4.816 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.07256, allocations: 130.2 kB / 439 MB, free: 4.688 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.07256, allocations: 0 / 439 MB, free: 4.688 MB / 410.7 MB Notification: Performance of Templates: time 0.005063/0.07762, allocations: 3.441 MB / 442.4 MB, free: 1.281 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.4987063030712306]