Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001012/0.001012, 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.0009793/0.0009793, allocations: 165 kB / 24.56 MB, free: 16 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 1.016/1.016, allocations: 177.1 MB / 205 MB, free: 5.266 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2431/0.2431, allocations: 32.8 MB / 294.3 MB, free: 1.262 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 376 MB, free: 4.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.331e-05/2.471e-05, allocations: 9.203 kB / 376 MB, free: 4.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.02227/0.0223, allocations: 26.71 MB / 402.7 MB, free: 9.855 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002587/0.02488, allocations: 3.107 MB / 405.9 MB, free: 6.738 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.025, allocations: 4 kB / 405.9 MB, free: 6.734 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003069/0.0253, allocations: 59.53 kB / 405.9 MB, free: 6.676 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001817/0.02712, allocations: 0.8118 MB / 406.7 MB, free: 5.859 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002868/0.02741, allocations: 139.8 kB / 406.9 MB, free: 5.723 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000501/0.02791, allocations: 397.9 kB / 407.3 MB, free: 5.332 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.033e-05/0.02796, allocations: 13.75 kB / 407.3 MB, free: 5.32 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.02387/0.05183, allocations: 15.52 MB / 422.8 MB, free: 5.676 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003235/0.05215, allocations: 143.6 kB / 422.9 MB, free: 5.535 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.163e-05/0.05218, allocations: 8 kB / 422.9 MB, free: 5.527 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004913/0.0571, allocations: 3.418 MB / 426.4 MB, free: 2.078 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.713e-05/0.05717, allocations: 43.77 kB / 426.4 MB, free: 2.035 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 9.669e-05/0.05727, allocations: 79.81 kB / 426.5 MB, free: 1.957 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007522/0.05802, allocations: 462.6 kB / 426.9 MB, free: 1.504 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.05803, allocations: 4 kB / 426.9 MB, free: 1.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.05803, allocations: 0 / 426.9 MB, free: 1.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.05803, allocations: 0 / 426.9 MB, free: 1.5 MB / 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.0008087/0.05884, allocations: 0.6281 MB / 427.6 MB, free: 0.8359 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.05888, allocations: 12.03 kB / 427.6 MB, free: 0.8242 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001553/0.05904, allocations: 60.67 kB / 427.6 MB, free: 0.7656 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.05922, allocations: 168.2 kB / 427.8 MB, free: 0.5742 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.05933, allocations: 230.7 kB / 428 MB, free: 308 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.05935, allocations: 20.38 kB / 428 MB, free: 288 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000372/0.05972, allocations: 446.3 kB / 428.5 MB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.05973, allocations: 3.938 kB / 428.5 MB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.05975, allocations: 8 kB / 428.5 MB, free: 15.76 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.211e-05/0.05977, allocations: 4 kB / 428.5 MB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003804/0.06016, allocations: 0.5333 MB / 429 MB, free: 15.22 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009758/0.06113, allocations: 1.335 MB / 430.4 MB, free: 13.81 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.06137, allocations: 144.2 kB / 430.5 MB, free: 13.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.975e-05/0.06145, allocations: 68.3 kB / 430.6 MB, free: 13.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009509/0.0624, allocations: 0.8283 MB / 431.4 MB, free: 12.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.06242, allocations: 33.39 kB / 431.4 MB, free: 12.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.06243, allocations: 4 kB / 431.4 MB, free: 12.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001931/0.06262, allocations: 105.5 kB / 431.5 MB, free: 12.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.06265, allocations: 59.39 kB / 431.6 MB, free: 12.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.0628, allocations: 293.3 kB / 431.9 MB, free: 12.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.06282, allocations: 25.7 kB / 431.9 MB, free: 12.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.975e-05/0.06292, allocations: 278.2 kB / 432.2 MB, free: 11.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.06294, allocations: 43.67 kB / 432.2 MB, free: 11.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.805e-05/0.06301, allocations: 91.75 kB / 432.3 MB, free: 11.76 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002495/0.06326, allocations: 0.504 MB / 432.8 MB, free: 11.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.589e-05/0.0633, allocations: 40.91 kB / 432.8 MB, free: 11.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.06352, allocations: 475.9 kB / 433.3 MB, free: 10.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003405/0.06386, allocations: 0.5551 MB / 433.9 MB, free: 9.785 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.06387, allocations: 4 kB / 433.9 MB, free: 9.781 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003541/0.06422, allocations: 381.8 kB / 434.2 MB, free: 9.402 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.06424, allocations: 10.66 kB / 434.3 MB, free: 9.395 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.06425, allocations: 12 kB / 434.3 MB, free: 9.383 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.06427, allocations: 16.03 kB / 434.3 MB, free: 9.367 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.06442, allocations: 103.8 kB / 434.4 MB, free: 9.266 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.06443, allocations: 19.92 kB / 434.4 MB, free: 9.246 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.06456, allocations: 55.56 kB / 434.5 MB, free: 9.191 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.06459, allocations: 28 kB / 434.5 MB, free: 9.164 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.088e-05/0.06468, allocations: 192.3 kB / 434.7 MB, free: 8.965 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.06471, allocations: 27.86 kB / 434.7 MB, free: 8.938 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001823/0.06489, allocations: 146.6 kB / 434.8 MB, free: 8.773 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.0649, allocations: 0 / 434.8 MB, free: 8.773 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.0649, allocations: 4 kB / 434.8 MB, free: 8.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.0649, allocations: 0 / 434.8 MB, free: 8.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002749/0.06518, allocations: 416.2 kB / 435.3 MB, free: 8.309 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.06518, allocations: 96 / 435.3 MB, free: 8.309 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.782e-05/0.06521, allocations: 16 kB / 435.3 MB, free: 8.293 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.06521, allocations: 0 / 435.3 MB, free: 8.293 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.06522, allocations: 3.984 kB / 435.3 MB, free: 8.289 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.06522, allocations: 7.938 kB / 435.3 MB, free: 8.281 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.06522, allocations: 3.938 kB / 435.3 MB, free: 8.277 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.06536, allocations: 258.8 kB / 435.5 MB, free: 7.992 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.796e-05/0.06539, allocations: 23.83 kB / 435.6 MB, free: 7.969 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.06541, allocations: 7.938 kB / 435.6 MB, free: 7.961 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.051e-05/0.06548, allocations: 11.94 kB / 435.6 MB, free: 7.949 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.0655, allocations: 7.984 kB / 435.6 MB, free: 7.941 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.06551, allocations: 12.06 kB / 435.6 MB, free: 7.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003367/0.06584, allocations: 193.1 kB / 435.8 MB, free: 7.738 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06584, allocations: 0 / 435.8 MB, free: 7.738 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000331/0.06617, allocations: 95.83 kB / 435.9 MB, free: 7.645 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.0002117/0.06638, allocations: 159.1 kB / 436 MB, free: 7.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002117/0.0666, allocations: 170.5 kB / 436.2 MB, free: 7.312 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.0666, allocations: 4 kB / 436.2 MB, free: 7.309 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.758e-05/0.06663, allocations: 31.61 kB / 436.2 MB, free: 7.273 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.0669, allocations: 45.84 kB / 436.3 MB, free: 7.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.06792, allocations: 0.5352 MB / 436.8 MB, free: 6.652 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.701e-05/0.06797, allocations: 76.33 kB / 436.9 MB, free: 6.559 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000158/0.06813, allocations: 54.91 kB / 436.9 MB, free: 6.508 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.915e-05/0.06818, allocations: 24.5 kB / 437 MB, free: 6.484 MB / 410.7 MB Notification: Performance of SimCode: time 9.51e-07/0.06818, allocations: 0 / 437 MB, free: 6.484 MB / 410.7 MB Notification: Performance of Templates: time 0.005755/0.07393, allocations: 3.491 MB / 440.5 MB, free: 3.051 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.411029420327395]