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.001054/0.001054, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009831/0.0009831, allocations: 167.9 kB / 25.61 MB, free: 8.582 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.9859/0.9859, allocations: 177.2 MB / 206.1 MB, free: 4.473 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.1542/0.1542, allocations: 32.81 MB / 295.4 MB, free: 15.36 MB / 282.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.733e-06/1.733e-06, allocations: 4 kB / 377.3 MB, free: 25.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.019e-05/2.192e-05, allocations: 2.312 kB / 377.3 MB, free: 25.55 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.01778/0.0178, allocations: 26.34 MB / 403.6 MB, free: 15.1 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002285/0.02008, allocations: 3.08 MB / 406.7 MB, free: 12.01 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.02019, allocations: 4 kB / 406.7 MB, free: 12.01 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002698/0.02046, allocations: 63.59 kB / 406.8 MB, free: 11.95 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001764/0.02222, allocations: 0.8117 MB / 407.6 MB, free: 11.13 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002572/0.02248, allocations: 139.8 kB / 407.7 MB, free: 10.99 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004617/0.02294, allocations: 397.9 kB / 408.1 MB, free: 10.6 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.04e-05/0.02299, allocations: 13.8 kB / 408.1 MB, free: 10.59 MB / 330.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.02435/0.04733, allocations: 15.51 MB / 423.7 MB, free: 10.95 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003029/0.04764, allocations: 139.6 kB / 423.8 MB, free: 10.81 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.78e-05/0.04766, allocations: 8 kB / 423.8 MB, free: 10.8 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004921/0.05259, allocations: 3.414 MB / 427.2 MB, free: 7.359 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.55e-05/0.05266, allocations: 43.83 kB / 427.3 MB, free: 7.316 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.987e-05/0.05276, allocations: 87.75 kB / 427.3 MB, free: 7.23 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007717/0.05353, allocations: 462.6 kB / 427.8 MB, free: 6.777 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.05354, allocations: 4 kB / 427.8 MB, free: 6.773 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.05354, allocations: 0 / 427.8 MB, free: 6.773 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.05354, allocations: 0 / 427.8 MB, free: 6.773 MB / 346.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.0008396/0.05438, allocations: 0.628 MB / 428.4 MB, free: 6.109 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.05442, allocations: 15.98 kB / 428.4 MB, free: 6.094 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.05457, allocations: 56.73 kB / 428.5 MB, free: 6.039 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.05479, allocations: 168.3 kB / 428.7 MB, free: 5.848 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/0.05491, allocations: 230.7 kB / 428.9 MB, free: 5.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.032e-05/0.05495, allocations: 24.38 kB / 428.9 MB, free: 5.547 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003669/0.05532, allocations: 422.2 kB / 429.3 MB, free: 5.059 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.05533, allocations: 3.938 kB / 429.3 MB, free: 5.055 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.513e-05/0.05536, allocations: 12 kB / 429.3 MB, free: 5.043 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.82e-05/0.05539, allocations: 4 kB / 429.3 MB, free: 5.039 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003507/0.05574, allocations: 470.6 kB / 429.8 MB, free: 4.578 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.057, allocations: 1.328 MB / 431.1 MB, free: 3.188 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002237/0.05722, allocations: 124.3 kB / 431.2 MB, free: 3.055 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.063e-05/0.05728, allocations: 60.31 kB / 431.3 MB, free: 2.992 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009714/0.05825, allocations: 0.8166 MB / 432.1 MB, free: 2.156 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.05828, allocations: 37.39 kB / 432.2 MB, free: 2.109 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.924e-06/0.05828, allocations: 4 kB / 432.2 MB, free: 2.105 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002074/0.05849, allocations: 109.4 kB / 432.3 MB, free: 1.992 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.05852, allocations: 55.41 kB / 432.3 MB, free: 1.926 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.05868, allocations: 297.1 kB / 432.6 MB, free: 1.617 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.0587, allocations: 25.7 kB / 432.6 MB, free: 1.586 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.05882, allocations: 278.1 kB / 432.9 MB, free: 1.309 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.816e-05/0.05885, allocations: 47.67 kB / 433 MB, free: 1.262 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.326e-05/0.05892, allocations: 91.72 kB / 433 MB, free: 1.164 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.05906, allocations: 0.5 MB / 433.5 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.856e-05/0.0591, allocations: 32.97 kB / 433.6 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/0.05935, allocations: 467.8 kB / 434 MB, free: 15.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003545/0.05971, allocations: 0.5511 MB / 434.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.05971, allocations: 4 kB / 434.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003495/0.06006, allocations: 361.8 kB / 434.9 MB, free: 14.85 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.06008, allocations: 8 kB / 435 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.06009, allocations: 12 kB / 435 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.06011, allocations: 16.06 kB / 435 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.06026, allocations: 99.83 kB / 435.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/0.06027, allocations: 23.86 kB / 435.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.06042, allocations: 55.62 kB / 435.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.06044, allocations: 20 kB / 435.2 MB, free: 14.62 MB / 362.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 0.0001197/0.06056, allocations: 196.3 kB / 435.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.552e-05/0.0606, allocations: 23.91 kB / 435.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002345/0.06084, allocations: 154.5 kB / 435.5 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.06085, allocations: 0 / 435.5 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.06085, allocations: 0 / 435.5 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.06086, allocations: 0 / 435.5 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003057/0.06116, allocations: 376.9 kB / 435.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.06117, allocations: 8.094 kB / 435.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.171e-05/0.0612, allocations: 15.98 kB / 435.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.0612, allocations: 0 / 435.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.06121, allocations: 0 / 435.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.06121, allocations: 4 kB / 435.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.06121, allocations: 0 / 435.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001666/0.06138, allocations: 262.7 kB / 436.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.351e-05/0.06141, allocations: 23.92 kB / 436.2 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.06144, allocations: 11.88 kB / 436.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.719e-05/0.06151, allocations: 4 kB / 436.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.97e-05/0.06153, allocations: 15.92 kB / 436.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.06154, allocations: 7.938 kB / 436.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.809e-05/0.06163, allocations: 185.1 kB / 436.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.06163, allocations: 0 / 436.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003693/0.062, allocations: 103.8 kB / 436.5 MB, free: 13.15 MB / 362.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.0002372/0.06224, allocations: 159.3 kB / 436.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001984/0.06244, allocations: 162.4 kB / 436.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.06244, allocations: 4 kB / 436.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.492e-05/0.06246, allocations: 27.61 kB / 436.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.06276, allocations: 45.84 kB / 436.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.064, allocations: 0.5314 MB / 437.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.776e-05/0.06405, allocations: 72.33 kB / 437.5 MB, free: 12.08 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001301/0.06418, allocations: 53.81 kB / 437.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.0643, allocations: 126.2 kB / 437.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.0643, allocations: 0 / 437.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of Templates: time 0.005235/0.06954, allocations: 3.475 MB / 441.2 MB, free: 8.488 MB / 362.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.3397165071219206]