Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001388/0.001388, allocations: 84.34 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001174/0.001174, allocations: 161.5 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9742/0.9742, allocations: 177 MB / 205.9 MB, free: 4.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1715/0.1715, allocations: 34.87 MB / 297.4 MB, free: 13.35 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.144e-05/1.333e-05, allocations: 6.031 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.01778/0.0178, allocations: 26.34 MB / 406.4 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002849/0.02065, allocations: 3.08 MB / 409.5 MB, free: 9.203 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.02078, allocations: 4 kB / 409.5 MB, free: 9.199 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003317/0.02111, allocations: 59.59 kB / 409.5 MB, free: 9.141 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001817/0.02293, allocations: 0.8156 MB / 410.3 MB, free: 8.32 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.02319, allocations: 139.8 kB / 410.5 MB, free: 8.184 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004512/0.02364, allocations: 397.9 kB / 410.9 MB, free: 7.793 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.448e-05/0.02369, allocations: 13.78 kB / 410.9 MB, free: 7.781 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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 trunk/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 trunk/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 trunk/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 trunk/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 trunk/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.02263/0.04632, allocations: 15.51 MB / 426.4 MB, free: 8.141 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002492/0.04657, allocations: 143.6 kB / 426.5 MB, free: 8 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.04659, allocations: 8 kB / 426.5 MB, free: 7.992 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00514/0.05173, allocations: 3.414 MB / 429.9 MB, free: 4.551 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.232e-05/0.0518, allocations: 51.75 kB / 430 MB, free: 4.5 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.698e-05/0.05188, allocations: 75.83 kB / 430.1 MB, free: 4.426 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006164/0.0525, allocations: 470.6 kB / 430.5 MB, free: 3.965 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.0525, allocations: 0 / 430.5 MB, free: 3.965 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.0525, allocations: 0 / 430.5 MB, free: 3.965 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.05251, allocations: 0 / 430.5 MB, free: 3.965 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.0008191/0.05333, allocations: 0.6319 MB / 431.2 MB, free: 3.297 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.05336, allocations: 8.031 kB / 431.2 MB, free: 3.289 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.05351, allocations: 56.73 kB / 431.2 MB, free: 3.234 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.0537, allocations: 172.2 kB / 431.4 MB, free: 3.039 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/0.05381, allocations: 226.7 kB / 431.6 MB, free: 2.766 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.849e-05/0.05384, allocations: 28.38 kB / 431.6 MB, free: 2.738 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003053/0.05415, allocations: 414.2 kB / 432 MB, free: 2.258 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.05416, allocations: 3.938 kB / 432.1 MB, free: 2.254 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.05418, allocations: 12 kB / 432.1 MB, free: 2.242 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.31e-05/0.0542, allocations: 8 kB / 432.1 MB, free: 2.234 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003231/0.05453, allocations: 466.6 kB / 432.5 MB, free: 1.781 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008327/0.05536, allocations: 1.328 MB / 433.9 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.05555, allocations: 128.3 kB / 434 MB, free: 260 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.359e-05/0.0556, allocations: 56.31 kB / 434 MB, free: 200 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008376/0.05644, allocations: 0.8166 MB / 434.9 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.05647, allocations: 45.38 kB / 434.9 MB, free: 15.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.483e-06/0.05647, allocations: 4 kB / 434.9 MB, free: 15.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002005/0.05667, allocations: 101.5 kB / 435 MB, free: 15.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.0567, allocations: 51.41 kB / 435.1 MB, free: 15.13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.05686, allocations: 301.1 kB / 435.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.05688, allocations: 29.7 kB / 435.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000448/0.05732, allocations: 278.1 kB / 435.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.05735, allocations: 39.67 kB / 435.7 MB, free: 14.47 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.12e-05/0.05742, allocations: 91.72 kB / 435.8 MB, free: 14.37 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.05755, allocations: 0.5117 MB / 436.3 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.597e-05/0.05759, allocations: 28.97 kB / 436.3 MB, free: 13.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.0578, allocations: 467.8 kB / 436.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003052/0.0581, allocations: 0.5432 MB / 437.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.05811, allocations: 4 kB / 437.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003358/0.05845, allocations: 361.8 kB / 437.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.05846, allocations: 12 kB / 437.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.05848, allocations: 12.12 kB / 437.7 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.05849, allocations: 16 kB / 437.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.05863, allocations: 95.83 kB / 437.8 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.05864, allocations: 27.86 kB / 437.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.05877, allocations: 51.67 kB / 437.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/0.0588, allocations: 35.98 kB / 437.9 MB, free: 11.8 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 9.049e-05/0.05889, allocations: 192.2 kB / 438.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/0.05892, allocations: 27.91 kB / 438.1 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000179/0.0591, allocations: 145.8 kB / 438.3 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.05911, allocations: 4 kB / 438.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.05911, allocations: 0 / 438.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.05911, allocations: 0 / 438.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002722/0.05938, allocations: 372.9 kB / 438.6 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.05939, allocations: 4.031 kB / 438.6 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.957e-05/0.05942, allocations: 15.98 kB / 438.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.05942, allocations: 0 / 438.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.05943, allocations: 8 kB / 438.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.05943, allocations: 0 / 438.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.05943, allocations: 7.938 kB / 438.7 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.05957, allocations: 258.8 kB / 438.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.706e-05/0.0596, allocations: 15.89 kB / 438.9 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.05962, allocations: 11.94 kB / 439 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.498e-05/0.0597, allocations: 7.984 kB / 439 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.585e-05/0.05971, allocations: 11.94 kB / 439 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.05972, allocations: 7.984 kB / 439 MB, free: 10.63 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.271e-05/0.05979, allocations: 189 kB / 439.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05979, allocations: 0 / 439.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003233/0.06012, allocations: 99.8 kB / 439.3 MB, free: 10.35 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.0002346/0.06035, allocations: 159.2 kB / 439.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001947/0.06055, allocations: 162.1 kB / 439.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.06055, allocations: 0 / 439.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.416e-05/0.06057, allocations: 33.23 kB / 439.6 MB, free: 9.988 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.06085, allocations: 48.7 kB / 439.7 MB, free: 9.938 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008876/0.06174, allocations: 0.5314 MB / 440.2 MB, free: 9.367 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.026e-05/0.06179, allocations: 72.33 kB / 440.3 MB, free: 9.277 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001219/0.06191, allocations: 55.95 kB / 440.3 MB, free: 9.227 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.06204, allocations: 126.2 kB / 440.4 MB, free: 9.102 MB / 362.7 MB Notification: Performance of SimCode: time 9.72e-07/0.06204, allocations: 0 / 440.4 MB, free: 9.102 MB / 362.7 MB Notification: Performance of Templates: time 0.005769/0.06781, allocations: 3.477 MB / 443.9 MB, free: 5.715 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.501792806200683]