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.001014/0.001014, allocations: 79.73 kB / 21.97 MB, free: 2.59 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.001247/0.001247, allocations: 172.8 kB / 25.33 MB, free: 9.062 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.9098/0.9098, allocations: 158.6 MB / 187.2 MB, free: 2.449 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.094e-06/2.094e-06, allocations: 0 / 251.1 MB, free: 3.535 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.929e-05, allocations: 6.312 kB / 251.1 MB, free: 3.527 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.02627/0.0263, allocations: 27.43 MB / 278.5 MB, free: 7.988 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008746/0.02718, allocations: 0.6309 MB / 279.2 MB, free: 7.355 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.0273, allocations: 7.938 kB / 279.2 MB, free: 7.348 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003573/0.02765, allocations: 103.3 kB / 279.3 MB, free: 7.246 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004411/0.02809, allocations: 333.9 kB / 279.6 MB, free: 6.918 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004285/0.02852, allocations: 299.5 kB / 279.9 MB, free: 6.625 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007216/0.02924, allocations: 0.8754 MB / 280.8 MB, free: 5.746 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.02941, allocations: 72.88 kB / 280.8 MB, free: 5.676 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.02446/0.05387, allocations: 15.92 MB / 296.8 MB, free: 5.625 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003691/0.05424, allocations: 251.2 kB / 297 MB, free: 5.379 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.048e-05/0.05428, allocations: 28 kB / 297 MB, free: 5.352 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.05439, allocations: 43.98 kB / 297.1 MB, free: 5.309 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.133e-05/0.05448, allocations: 99.64 kB / 297.2 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.0546, allocations: 131.8 kB / 297.3 MB, free: 5.082 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003659/0.05497, allocations: 283.1 kB / 297.6 MB, free: 4.805 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.05497, allocations: 4 kB / 297.6 MB, free: 4.801 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.05497, allocations: 0 / 297.6 MB, free: 4.801 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.05498, allocations: 0 / 297.6 MB, free: 4.801 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.0007541/0.05574, allocations: 0.6087 MB / 298.2 MB, free: 4.156 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.05578, allocations: 11.98 kB / 298.2 MB, free: 4.145 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002477/0.05603, allocations: 80.48 kB / 298.3 MB, free: 4.066 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.05631, allocations: 228.1 kB / 298.5 MB, free: 3.816 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.05633, allocations: 16.88 kB / 298.5 MB, free: 3.801 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.199e-05/0.05637, allocations: 32.38 kB / 298.5 MB, free: 3.77 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000363/0.05673, allocations: 417.6 kB / 299 MB, free: 3.289 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.05675, allocations: 8.078 kB / 299 MB, free: 3.281 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.05677, allocations: 15.94 kB / 299 MB, free: 3.266 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.05679, allocations: 8 kB / 299 MB, free: 3.258 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.05696, allocations: 126.8 kB / 299.1 MB, free: 3.137 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.05805, allocations: 1.426 MB / 300.5 MB, free: 1.645 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.05825, allocations: 127.1 kB / 300.7 MB, free: 1.508 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.624e-05/0.05832, allocations: 63.97 kB / 300.7 MB, free: 1.441 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.05835, allocations: 11.88 kB / 300.7 MB, free: 1.43 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.05837, allocations: 41.39 kB / 300.8 MB, free: 1.379 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.403e-06/0.05837, allocations: 0 / 300.8 MB, free: 1.379 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.001316/0.05969, allocations: 0.7308 MB / 301.5 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.05971, allocations: 55.41 kB / 301.6 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.05988, allocations: 277.4 kB / 301.8 MB, free: 252 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.0599, allocations: 29.7 kB / 301.9 MB, free: 216 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.115/0.1749, allocations: 224.1 kB / 302.1 MB, free: 35.53 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.175, allocations: 100.6 kB / 302.2 MB, free: 35.53 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.1751, allocations: 67.62 kB / 302.2 MB, free: 35.51 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.265e-05/0.1751, allocations: 0.5048 MB / 302.7 MB, free: 35.02 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.1753, allocations: 46.66 kB / 302.8 MB, free: 35.02 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.1754, allocations: 185.3 kB / 303 MB, free: 34.86 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002498/0.1757, allocations: 241 kB / 303.2 MB, free: 34.71 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1757, allocations: 2.094 kB / 303.2 MB, free: 34.71 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005281/0.1762, allocations: 329.5 kB / 303.5 MB, free: 34.63 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1762, allocations: 10.3 kB / 303.5 MB, free: 34.63 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1762, allocations: 2.844 kB / 303.5 MB, free: 34.63 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002073/0.1764, allocations: 57.91 kB / 303.6 MB, free: 34.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002229/0.1766, allocations: 67.84 kB / 303.7 MB, free: 34.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/0.1779, allocations: 3.53 MB / 307.2 MB, free: 31.15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001613/0.1781, allocations: 12.41 kB / 307.2 MB, free: 31.15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/0.1781, allocations: 12.22 kB / 307.2 MB, free: 31.15 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 9.921e-05/0.1782, allocations: 177.9 kB / 307.4 MB, free: 30.99 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.828e-05/0.1783, allocations: 39.23 kB / 307.4 MB, free: 30.98 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.632e-05/0.1783, allocations: 32.88 kB / 307.5 MB, free: 30.97 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1783, allocations: 2.656 kB / 307.5 MB, free: 30.97 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.1783, allocations: 2.156 kB / 307.5 MB, free: 30.97 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003823/0.1787, allocations: 0.5094 MB / 308 MB, free: 30.52 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006939/0.1794, allocations: 0.5853 MB / 308.6 MB, free: 30.2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1794, allocations: 0 / 308.6 MB, free: 30.2 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.1795, allocations: 47.03 kB / 308.6 MB, free: 30.2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001631/0.1797, allocations: 61.39 kB / 308.7 MB, free: 30.18 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.1797, allocations: 7.375 kB / 308.7 MB, free: 30.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006385/0.1803, allocations: 1.781 MB / 310.5 MB, free: 28.46 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1803, allocations: 1.281 kB / 310.5 MB, free: 28.46 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004725/0.1808, allocations: 432.4 kB / 310.9 MB, free: 28.24 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.959e-05/0.1809, allocations: 19.53 kB / 310.9 MB, free: 28.23 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.933e-05/0.1809, allocations: 10.05 kB / 310.9 MB, free: 28.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.181, allocations: 8.656 kB / 310.9 MB, free: 28.22 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.181, allocations: 20.77 kB / 310.9 MB, free: 28.22 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.1811, allocations: 8.844 kB / 310.9 MB, free: 28.22 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.792e-05/0.1812, allocations: 186.9 kB / 311.1 MB, free: 28.11 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1812, allocations: 1.188 kB / 311.1 MB, free: 28.11 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003832/0.1815, allocations: 85.06 kB / 311.2 MB, free: 28.11 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 9.435e-05/0.1816, allocations: 103 kB / 311.3 MB, free: 28.02 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005362/0.1822, allocations: 0.5252 MB / 311.8 MB, free: 27.66 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1822, allocations: 4.031 kB / 311.8 MB, free: 27.66 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002521/0.1824, allocations: 267.5 kB / 312.1 MB, free: 27.48 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005973/0.183, allocations: 134.8 kB / 312.2 MB, free: 27.48 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.1842, allocations: 0.6094 MB / 312.8 MB, free: 27.2 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.135e-05/0.1842, allocations: 94.55 kB / 312.9 MB, free: 27.12 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001777/0.1844, allocations: 47.02 kB / 313 MB, free: 27.11 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.702e-05/0.1845, allocations: 30.33 kB / 313 MB, free: 27.1 MB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.1845, allocations: 0 / 313 MB, free: 27.1 MB / 282.7 MB Notification: Performance of Templates: time 0.008591/0.1931, allocations: 5.496 MB / 318.5 MB, free: 26.43 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: 2.9700957853347063]