Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.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.0009384/0.0009384, allocations: 76.81 kB / 22.28 MB, free: 2.207 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.001366/0.001366, allocations: 164.2 kB / 25.69 MB, free: 7.957 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8248/0.8248, allocations: 158.6 MB / 187.6 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 251.6 MB, free: 7.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.352e-05/1.479e-05, allocations: 6.25 kB / 251.6 MB, free: 7.215 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.01998/0.01999, allocations: 27.35 MB / 278.9 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007343/0.02073, allocations: 0.6425 MB / 279.6 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.02084, allocations: 7.938 kB / 279.6 MB, free: 11.1 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002991/0.02114, allocations: 99.34 kB / 279.7 MB, free: 11 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003906/0.02153, allocations: 333.9 kB / 280 MB, free: 10.67 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003646/0.02189, allocations: 299.4 kB / 280.3 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005786/0.02247, allocations: 0.8833 MB / 281.2 MB, free: 9.492 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.0226, allocations: 70.84 kB / 281.2 MB, free: 9.426 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/Water/IF97_Utilities.mo:897:9-897:73:writable] Warning: Output parameter bpro.cv was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/Water/IF97_Utilities.mo:934:9-934:73:writable] Warning: Output parameter bpro.cv was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/Water/IF97_Utilities.mo:897:9-897:73:writable] Warning: Output parameter bpro.cv was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/Water/IF97_Utilities.mo:934:9-934:73:writable] Warning: Output parameter bpro.cv was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/Water/IF97_Utilities.mo:897:9-897:73:writable] Warning: Output parameter bpro.cv was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/Water/IF97_Utilities.mo:934:9-934:73:writable] Warning: Output parameter bpro.cv was not assigned a value Notification: Performance of NFEvalConstants.evaluate: time 0.022/0.0446, allocations: 15.96 MB / 297.2 MB, free: 9.336 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003498/0.04495, allocations: 231.3 kB / 297.4 MB, free: 9.109 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.818e-05/0.04499, allocations: 32 kB / 297.5 MB, free: 9.078 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.906e-05/0.04509, allocations: 36 kB / 297.5 MB, free: 9.043 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.43e-05/0.04517, allocations: 103.6 kB / 297.6 MB, free: 8.941 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.04528, allocations: 131.7 kB / 297.7 MB, free: 8.812 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003204/0.0456, allocations: 275.2 kB / 298 MB, free: 8.543 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.04561, allocations: 0 / 298 MB, free: 8.543 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.04561, allocations: 0 / 298 MB, free: 8.543 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.04561, allocations: 0 / 298 MB, free: 8.543 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0005365/0.04615, allocations: 0.4957 MB / 298.5 MB, free: 8.023 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.04618, allocations: 19.92 kB / 298.5 MB, free: 8.004 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001911/0.04637, allocations: 68.64 kB / 298.6 MB, free: 7.938 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.04658, allocations: 197.4 kB / 298.8 MB, free: 7.719 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.04659, allocations: 16.88 kB / 298.8 MB, free: 7.703 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.46e-05/0.04663, allocations: 28.38 kB / 298.8 MB, free: 7.676 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002562/0.04688, allocations: 389.7 kB / 299.2 MB, free: 7.23 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.04689, allocations: 192 / 299.2 MB, free: 7.23 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.04692, allocations: 15.94 kB / 299.2 MB, free: 7.215 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.04692, allocations: 8 kB / 299.2 MB, free: 7.207 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.833e-05/0.04702, allocations: 91.31 kB / 299.3 MB, free: 7.121 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008401/0.04786, allocations: 0.9799 MB / 300.3 MB, free: 6.098 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.048, allocations: 98.52 kB / 300.4 MB, free: 5.992 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.355e-05/0.04805, allocations: 40.84 kB / 300.4 MB, free: 5.949 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.04807, allocations: 8.375 kB / 300.4 MB, free: 5.941 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.04809, allocations: 38.5 kB / 300.5 MB, free: 5.895 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.183e-06/0.04809, allocations: 0 / 300.5 MB, free: 5.895 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.001182/0.04927, allocations: 0.6781 MB / 301.2 MB, free: 5.176 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.458e-05/0.0493, allocations: 59.34 kB / 301.2 MB, free: 5.105 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.04941, allocations: 210.2 kB / 301.4 MB, free: 4.887 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.04943, allocations: 33.7 kB / 301.4 MB, free: 4.848 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.902e-05/0.0495, allocations: 172.4 kB / 301.6 MB, free: 4.672 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.428e-05/0.04954, allocations: 99.14 kB / 301.7 MB, free: 4.574 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.386e-05/0.04961, allocations: 69.64 kB / 301.8 MB, free: 4.5 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.754e-05/0.04968, allocations: 338.7 kB / 302.1 MB, free: 4.16 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.882e-05/0.04972, allocations: 31.98 kB / 302.1 MB, free: 4.129 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.922e-05/0.0498, allocations: 122.9 kB / 302.3 MB, free: 3.969 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.04997, allocations: 197.7 kB / 302.5 MB, free: 3.734 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.04997, allocations: 0 / 302.5 MB, free: 3.734 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002498/0.05022, allocations: 239.3 kB / 302.7 MB, free: 3.488 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.05023, allocations: 8 kB / 302.7 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.05024, allocations: 3.938 kB / 302.7 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000128/0.05037, allocations: 53.59 kB / 302.8 MB, free: 3.418 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.05051, allocations: 71.84 kB / 302.8 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001151/0.05166, allocations: 2.384 MB / 305.2 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.711e-05/0.05175, allocations: 12.12 kB / 305.2 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.05176, allocations: 12 kB / 305.2 MB, free: 0.7656 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 8.061e-05/0.05184, allocations: 132.5 kB / 305.4 MB, free: 0.625 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.485e-05/0.05188, allocations: 27.97 kB / 305.4 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.198e-05/0.05191, allocations: 29.97 kB / 305.4 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.05191, allocations: 4 kB / 305.4 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.05192, allocations: 0 / 305.4 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005236/0.05244, allocations: 480.4 kB / 305.9 MB, free: 0 / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004235/0.05286, allocations: 404.2 kB / 306.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.05286, allocations: 0 / 306.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.567e-05/0.05296, allocations: 47.91 kB / 306.3 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001127/0.05307, allocations: 44.8 kB / 306.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.05308, allocations: 12.03 kB / 306.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005173/0.0536, allocations: 1.201 MB / 307.6 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.0536, allocations: 0 / 307.6 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.05386, allocations: 321.5 kB / 307.9 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.937e-05/0.05387, allocations: 19.86 kB / 307.9 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.0539, allocations: 7.938 kB / 307.9 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.155e-05/0.05398, allocations: 8 kB / 307.9 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.301e-05/0.054, allocations: 15.95 kB / 308 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.05401, allocations: 8 kB / 308 MB, free: 13.79 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.612e-05/0.05406, allocations: 66.28 kB / 308 MB, free: 13.72 MB / 298.7 MB Notification: Performance of sort global known variables: time 3e-08/0.05406, allocations: 0 / 308 MB, free: 13.72 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002204/0.05428, allocations: 84 kB / 308.1 MB, free: 13.64 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.221e-05/0.05437, allocations: 88.39 kB / 308.2 MB, free: 13.54 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003275/0.0547, allocations: 386.6 kB / 308.6 MB, free: 13.14 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.0547, allocations: 4.75 kB / 308.6 MB, free: 13.13 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.05485, allocations: 195.4 kB / 308.8 MB, free: 12.93 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.05521, allocations: 132.2 kB / 308.9 MB, free: 12.8 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.05633, allocations: 0.5864 MB / 309.5 MB, free: 12.18 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.988e-05/0.05638, allocations: 92.56 kB / 309.6 MB, free: 12.07 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001197/0.0565, allocations: 46.94 kB / 309.6 MB, free: 12.02 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001883/0.05669, allocations: 137.2 kB / 309.8 MB, free: 11.89 MB / 298.7 MB Notification: Performance of SimCode: time 6.91e-07/0.05669, allocations: 0 / 309.8 MB, free: 11.89 MB / 298.7 MB Notification: Performance of Templates: time 0.006539/0.06323, allocations: 5.661 MB / 315.4 MB, free: 6.273 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6549671799875796]