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.0009919/0.0009919, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0009685/0.0009685, allocations: 161 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 0.9624/0.9624, allocations: 177.1 MB / 205 MB, free: 5.625 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.2839/0.2839, 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.533e-06/1.533e-06, allocations: 0 / 376 MB, free: 4.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.584e-05/2.737e-05, allocations: 6.25 kB / 376 MB, free: 4.629 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.02429/0.02432, allocations: 26.71 MB / 402.8 MB, free: 9.812 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003337/0.02766, allocations: 3.103 MB / 405.9 MB, free: 6.699 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001625/0.02782, allocations: 0 / 405.9 MB, free: 6.699 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003614/0.02818, allocations: 63.61 kB / 405.9 MB, free: 6.637 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001984/0.03017, allocations: 0.8078 MB / 406.7 MB, free: 5.824 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002932/0.03046, allocations: 139.8 kB / 406.9 MB, free: 5.688 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006098/0.03107, allocations: 401.9 kB / 407.3 MB, free: 5.293 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.993e-05/0.03113, allocations: 9.75 kB / 407.3 MB, free: 5.285 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.027/0.05813, allocations: 15.53 MB / 422.8 MB, free: 5.633 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003476/0.05848, allocations: 139.7 kB / 422.9 MB, free: 5.496 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.475e-05/0.05851, allocations: 8 kB / 422.9 MB, free: 5.488 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005068/0.06358, allocations: 3.417 MB / 426.4 MB, free: 2.039 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.529e-05/0.06367, allocations: 43.83 kB / 426.4 MB, free: 1.996 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.06377, allocations: 83.75 kB / 426.5 MB, free: 1.914 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007452/0.06452, allocations: 458.6 kB / 426.9 MB, free: 1.465 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.06452, allocations: 4 kB / 426.9 MB, free: 1.461 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.06452, allocations: 0 / 426.9 MB, free: 1.461 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.06453, allocations: 0 / 426.9 MB, free: 1.461 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.001139/0.06567, allocations: 0.6281 MB / 427.6 MB, free: 0.7969 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.06571, allocations: 8.031 kB / 427.6 MB, free: 0.7891 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001695/0.06588, allocations: 60.67 kB / 427.6 MB, free: 0.7305 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.06609, allocations: 172.3 kB / 427.8 MB, free: 0.5352 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.06621, allocations: 222.7 kB / 428 MB, free: 276 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.173e-05/0.06624, allocations: 28.38 kB / 428 MB, free: 248 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003936/0.06663, allocations: 438.3 kB / 428.5 MB, free: 15.74 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.06665, allocations: 3.938 kB / 428.5 MB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/0.06667, allocations: 12 kB / 428.5 MB, free: 15.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-05/0.0667, allocations: 11.98 kB / 428.5 MB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003968/0.0671, allocations: 0.5255 MB / 429 MB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009523/0.06805, allocations: 1.339 MB / 430.4 MB, free: 13.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002534/0.0683, allocations: 144.2 kB / 430.5 MB, free: 13.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.742e-05/0.06838, allocations: 68.31 kB / 430.6 MB, free: 13.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009239/0.06931, allocations: 0.8244 MB / 431.4 MB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.06933, allocations: 41.38 kB / 431.4 MB, free: 12.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.06933, allocations: 0 / 431.4 MB, free: 12.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002221/0.06956, allocations: 105.6 kB / 431.5 MB, free: 12.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.06958, allocations: 55.41 kB / 431.6 MB, free: 12.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.06974, allocations: 293.3 kB / 431.9 MB, free: 12.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.06976, allocations: 25.7 kB / 431.9 MB, free: 12.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.06986, allocations: 278.2 kB / 432.2 MB, free: 11.87 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.06989, allocations: 47.67 kB / 432.2 MB, free: 11.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.032e-05/0.06996, allocations: 95.69 kB / 432.3 MB, free: 11.72 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.07008, allocations: 0.5039 MB / 432.8 MB, free: 11.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.901e-05/0.07013, allocations: 40.91 kB / 432.9 MB, free: 11.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/0.07035, allocations: 467.9 kB / 433.3 MB, free: 10.51 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006835/0.07103, allocations: 0.5551 MB / 433.9 MB, free: 9.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.07104, allocations: 4 kB / 433.9 MB, free: 9.746 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004042/0.07144, allocations: 380.9 kB / 434.2 MB, free: 9.367 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.07146, allocations: 12.97 kB / 434.3 MB, free: 9.355 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.07148, allocations: 8 kB / 434.3 MB, free: 9.348 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.864e-05/0.07151, allocations: 16 kB / 434.3 MB, free: 9.332 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.07166, allocations: 107.8 kB / 434.4 MB, free: 9.227 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.489e-05/0.07167, allocations: 19.94 kB / 434.4 MB, free: 9.207 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.07181, allocations: 59.56 kB / 434.5 MB, free: 9.148 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.07183, allocations: 31.98 kB / 434.5 MB, free: 9.117 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.904e-05/0.07192, allocations: 188.3 kB / 434.7 MB, free: 8.922 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.489e-05/0.07195, allocations: 23.86 kB / 434.7 MB, free: 8.898 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002037/0.07216, allocations: 146.6 kB / 434.8 MB, free: 8.734 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/0.07217, allocations: 4 kB / 434.9 MB, free: 8.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.07217, allocations: 3.984 kB / 434.9 MB, free: 8.727 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.07218, allocations: 0 / 434.9 MB, free: 8.727 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000306/0.07248, allocations: 408.2 kB / 435.3 MB, free: 8.273 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.07249, allocations: 3.984 kB / 435.3 MB, free: 8.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.226e-05/0.07252, allocations: 20.09 kB / 435.3 MB, free: 8.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.07252, allocations: 0 / 435.3 MB, free: 8.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.07253, allocations: 4 kB / 435.3 MB, free: 8.246 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.07253, allocations: 3.938 kB / 435.3 MB, free: 8.242 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.07254, allocations: 0 / 435.3 MB, free: 8.242 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.07267, allocations: 262.8 kB / 435.5 MB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.25e-05/0.07271, allocations: 27.78 kB / 435.6 MB, free: 7.926 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.07273, allocations: 0 / 435.6 MB, free: 7.926 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.579e-05/0.0728, allocations: 11.92 kB / 435.6 MB, free: 7.914 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.044e-05/0.07282, allocations: 7.984 kB / 435.6 MB, free: 7.906 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.07283, allocations: 12 kB / 435.6 MB, free: 7.895 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.656e-05/0.07292, allocations: 189.1 kB / 435.8 MB, free: 7.707 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.07292, allocations: 0 / 435.8 MB, free: 7.707 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003294/0.07325, allocations: 99.83 kB / 435.9 MB, free: 7.609 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.000237/0.07348, allocations: 159 kB / 436 MB, free: 7.445 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002235/0.07371, allocations: 178.7 kB / 436.2 MB, free: 7.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.07371, allocations: 0 / 436.2 MB, free: 7.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.488e-05/0.07374, allocations: 23.62 kB / 436.2 MB, free: 7.242 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.07404, allocations: 57.83 kB / 436.3 MB, free: 7.188 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.0752, allocations: 0.5313 MB / 436.8 MB, free: 6.613 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.092e-05/0.07525, allocations: 72.33 kB / 436.9 MB, free: 6.523 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001312/0.07538, allocations: 54.91 kB / 436.9 MB, free: 6.473 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.164e-05/0.07542, allocations: 32.48 kB / 437 MB, free: 6.441 MB / 410.7 MB Notification: Performance of SimCode: time 7.91e-07/0.07542, allocations: 0 / 437 MB, free: 6.441 MB / 410.7 MB Notification: Performance of Templates: time 0.005317/0.08074, allocations: 3.052 MB / 440 MB, free: 3.441 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.701030382886529]