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.001106/0.001106, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.001554/0.001554, allocations: 168.9 kB / 25.33 MB, free: 9.465 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.9258/0.9258, allocations: 158.6 MB / 187.2 MB, free: 2.516 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 2.174e-06/2.174e-06, allocations: 0 / 251.1 MB, free: 3.551 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.782e-05/3e-05, allocations: 6.25 kB / 251.1 MB, free: 3.543 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.02353/0.02356, allocations: 27.42 MB / 278.5 MB, free: 8.016 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.02458, allocations: 0.6348 MB / 279.2 MB, free: 7.379 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001706/0.02476, allocations: 8 kB / 279.2 MB, free: 7.371 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000389/0.02514, allocations: 99.28 kB / 279.3 MB, free: 7.273 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004896/0.02563, allocations: 325.9 kB / 279.6 MB, free: 6.953 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004765/0.02611, allocations: 307.4 kB / 279.9 MB, free: 6.652 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006606/0.02677, allocations: 0.8832 MB / 280.8 MB, free: 5.766 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.02694, allocations: 72.88 kB / 280.8 MB, free: 5.695 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.02583/0.05277, allocations: 15.91 MB / 296.7 MB, free: 5.66 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004662/0.05323, allocations: 255.2 kB / 297 MB, free: 5.41 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.762e-05/0.05328, allocations: 32 kB / 297 MB, free: 5.379 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.05341, allocations: 43.94 kB / 297.1 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.616e-05/0.05351, allocations: 99.64 kB / 297.2 MB, free: 5.238 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.05366, allocations: 139.7 kB / 297.3 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003738/0.05403, allocations: 275.2 kB / 297.6 MB, free: 4.832 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.05404, allocations: 0 / 297.6 MB, free: 4.832 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.05404, allocations: 0 / 297.6 MB, free: 4.832 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.05405, allocations: 0 / 297.6 MB, free: 4.832 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.0007128/0.05476, allocations: 0.6243 MB / 298.2 MB, free: 4.172 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.0548, allocations: 11.98 kB / 298.2 MB, free: 4.16 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002228/0.05502, allocations: 76.55 kB / 298.3 MB, free: 4.086 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.0553, allocations: 232 kB / 298.5 MB, free: 3.832 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.05532, allocations: 20.88 kB / 298.5 MB, free: 3.812 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.838e-05/0.05537, allocations: 28.38 kB / 298.5 MB, free: 3.785 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000352/0.05572, allocations: 417.6 kB / 299 MB, free: 3.305 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.05573, allocations: 192 / 299 MB, free: 3.305 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.576e-05/0.05576, allocations: 15.94 kB / 299 MB, free: 3.289 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.05577, allocations: 8 kB / 299 MB, free: 3.281 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.05594, allocations: 130.7 kB / 299.1 MB, free: 3.156 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.05708, allocations: 1.422 MB / 300.5 MB, free: 1.668 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.0573, allocations: 127.1 kB / 300.7 MB, free: 1.531 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.484e-05/0.05738, allocations: 63.97 kB / 300.7 MB, free: 1.465 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.05741, allocations: 7.938 kB / 300.7 MB, free: 1.457 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.05743, allocations: 37.39 kB / 300.8 MB, free: 1.41 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.372e-06/0.05744, allocations: 0 / 300.8 MB, free: 1.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.001415/0.05885, allocations: 0.7269 MB / 301.5 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.05888, allocations: 55.41 kB / 301.5 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.05906, allocations: 277.4 kB / 301.8 MB, free: 288 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.851e-05/0.05907, allocations: 29.7 kB / 301.8 MB, free: 252 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.05918, allocations: 239.1 kB / 302.1 MB, free: 4 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.1368/0.196, allocations: 92.28 kB / 302.2 MB, free: 35.5 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.1961, allocations: 68.19 kB / 302.2 MB, free: 35.48 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.657e-05/0.1962, allocations: 0.5069 MB / 302.7 MB, free: 34.99 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.1963, allocations: 44.42 kB / 302.8 MB, free: 34.99 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.1965, allocations: 183.5 kB / 303 MB, free: 34.83 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002471/0.1967, allocations: 242.5 kB / 303.2 MB, free: 34.68 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.1967, allocations: 1.844 kB / 303.2 MB, free: 34.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005469/0.1973, allocations: 325.8 kB / 303.5 MB, free: 34.61 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.1973, allocations: 7.531 kB / 303.5 MB, free: 34.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.1973, allocations: 3.047 kB / 303.5 MB, free: 34.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002517/0.1976, allocations: 61 kB / 303.6 MB, free: 34.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/0.1978, allocations: 66.98 kB / 303.7 MB, free: 34.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001738/0.1995, allocations: 3.534 MB / 307.2 MB, free: 31.13 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.1997, allocations: 8.75 kB / 307.2 MB, free: 31.13 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.752e-05/0.1997, allocations: 15.22 kB / 307.2 MB, free: 31.13 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 0.0001513/0.1999, allocations: 182.9 kB / 307.4 MB, free: 30.97 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.85e-05/0.1999, allocations: 37.09 kB / 307.4 MB, free: 30.96 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.777e-05/0.2, allocations: 33.7 kB / 307.5 MB, free: 30.95 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.2, allocations: 5.359 kB / 307.5 MB, free: 30.95 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/0.2, allocations: 2.484 kB / 307.5 MB, free: 30.95 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004488/0.2005, allocations: 0.5076 MB / 308 MB, free: 30.5 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007348/0.2012, allocations: 0.5879 MB / 308.6 MB, free: 30.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.2012, allocations: 0 / 308.6 MB, free: 30.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.2013, allocations: 45.42 kB / 308.6 MB, free: 30.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002015/0.2015, allocations: 58.25 kB / 308.7 MB, free: 30.16 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.2016, allocations: 11.22 kB / 308.7 MB, free: 30.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007128/0.2023, allocations: 1.779 MB / 310.5 MB, free: 28.45 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2023, allocations: 0.6562 kB / 310.5 MB, free: 28.45 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004569/0.2027, allocations: 430.5 kB / 310.9 MB, free: 28.21 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.315e-05/0.2028, allocations: 22.8 kB / 310.9 MB, free: 28.2 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.2028, allocations: 9.344 kB / 310.9 MB, free: 28.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.765e-05/0.2029, allocations: 6.281 kB / 310.9 MB, free: 28.2 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.2029, allocations: 26.56 kB / 310.9 MB, free: 28.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.203, allocations: 8.422 kB / 310.9 MB, free: 28.2 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001364/0.2031, allocations: 188 kB / 311.1 MB, free: 28.08 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2031, allocations: 0 / 311.1 MB, free: 28.08 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003583/0.2034, allocations: 88.75 kB / 311.2 MB, free: 28.08 MB / 282.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 0.0001388/0.2036, allocations: 101.4 kB / 311.3 MB, free: 28 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000666/0.2042, allocations: 0.5233 MB / 311.8 MB, free: 27.64 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.2043, allocations: 0 / 311.8 MB, free: 27.64 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002438/0.2045, allocations: 272 kB / 312.1 MB, free: 27.46 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005241/0.205, allocations: 133.7 kB / 312.2 MB, free: 27.45 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.2063, allocations: 0.6008 MB / 312.8 MB, free: 27.17 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.521e-05/0.2064, allocations: 95.72 kB / 312.9 MB, free: 27.1 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001688/0.2066, allocations: 49.67 kB / 313 MB, free: 27.08 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.546e-05/0.2066, allocations: 29.14 kB / 313 MB, free: 27.07 MB / 282.7 MB Notification: Performance of SimCode: time 1.323e-06/0.2066, allocations: 0 / 313 MB, free: 27.07 MB / 282.7 MB Notification: Performance of Templates: time 0.008932/0.2156, allocations: 5.194 MB / 318.2 MB, free: 26.45 MB / 282.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: 3.0709549952298403]