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: 85.95 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.001087/0.001087, allocations: 158.7 kB / 25.6 MB, free: 8.895 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.9797/0.9797, allocations: 158.6 MB / 187.5 MB, free: 2.816 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 3.687e-06/3.687e-06, allocations: 3.984 kB / 251.5 MB, free: 7.191 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.864e-05/3.233e-05, allocations: 2.312 kB / 251.5 MB, free: 7.188 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.02481/0.02484, allocations: 27.05 MB / 278.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.02596, allocations: 0.627 MB / 279.2 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002048/0.02617, allocations: 7.938 kB / 279.2 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004227/0.02659, allocations: 99.3 kB / 279.3 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005812/0.02717, allocations: 337.9 kB / 279.6 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000552/0.02773, allocations: 307.4 kB / 279.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008784/0.0286, allocations: 0.8716 MB / 280.8 MB, free: 9.781 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002355/0.02884, allocations: 76.86 kB / 280.9 MB, free: 9.707 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.0257/0.05454, allocations: 15.92 MB / 296.8 MB, free: 9.66 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005226/0.05507, allocations: 255.2 kB / 297.1 MB, free: 9.41 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.669e-05/0.05512, allocations: 28 kB / 297.1 MB, free: 9.383 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00018/0.0553, allocations: 36 kB / 297.1 MB, free: 9.348 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.317e-05/0.0554, allocations: 103.6 kB / 297.2 MB, free: 9.246 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.05553, allocations: 135.7 kB / 297.4 MB, free: 9.113 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004429/0.05597, allocations: 275.2 kB / 297.6 MB, free: 8.844 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.05598, allocations: 0 / 297.6 MB, free: 8.844 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.05598, allocations: 0 / 297.6 MB, free: 8.844 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.05599, allocations: 0 / 297.6 MB, free: 8.844 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.0007331/0.05672, allocations: 0.6165 MB / 298.2 MB, free: 8.191 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.05677, allocations: 19.91 kB / 298.3 MB, free: 8.172 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002215/0.05699, allocations: 80.44 kB / 298.3 MB, free: 8.094 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/0.05726, allocations: 220.1 kB / 298.6 MB, free: 7.852 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.05728, allocations: 20.88 kB / 298.6 MB, free: 7.832 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.92e-05/0.05732, allocations: 28.33 kB / 298.6 MB, free: 7.805 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003258/0.05765, allocations: 405.5 kB / 299 MB, free: 7.336 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.05766, allocations: 4.188 kB / 299 MB, free: 7.332 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.05768, allocations: 11.94 kB / 299 MB, free: 7.32 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.05769, allocations: 8 kB / 299 MB, free: 7.312 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.05781, allocations: 103.3 kB / 299.1 MB, free: 7.215 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.05892, allocations: 1.387 MB / 300.5 MB, free: 5.77 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.0591, allocations: 118.7 kB / 300.6 MB, free: 5.645 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.204e-05/0.05915, allocations: 51.64 kB / 300.7 MB, free: 5.59 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.05917, allocations: 12.38 kB / 300.7 MB, free: 5.578 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.05919, allocations: 37.33 kB / 300.7 MB, free: 5.531 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.392e-06/0.0592, allocations: 0 / 300.7 MB, free: 5.531 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.00117/0.06037, allocations: 0.6646 MB / 301.4 MB, free: 4.82 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.06039, allocations: 63.34 kB / 301.5 MB, free: 4.746 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.06054, allocations: 269.4 kB / 301.7 MB, free: 4.465 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.06056, allocations: 29.7 kB / 301.7 MB, free: 4.43 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.06067, allocations: 235.1 kB / 302 MB, free: 4.191 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.347e-05/0.06072, allocations: 103.1 kB / 302.1 MB, free: 4.09 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.065e-05/0.06079, allocations: 71.28 kB / 302.1 MB, free: 4.012 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.06091, allocations: 0.504 MB / 302.6 MB, free: 3.496 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.131e-05/0.06097, allocations: 39.97 kB / 302.7 MB, free: 3.457 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.06107, allocations: 171.6 kB / 302.9 MB, free: 3.234 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.06125, allocations: 227.7 kB / 303.1 MB, free: 2.957 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.06125, allocations: 0 / 303.1 MB, free: 2.957 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003327/0.06159, allocations: 300.8 kB / 303.4 MB, free: 2.648 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.0616, allocations: 8 kB / 303.4 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.06161, allocations: 7.938 kB / 303.4 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001475/0.06176, allocations: 55.33 kB / 303.4 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.06191, allocations: 71.84 kB / 303.5 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/0.06353, allocations: 3.485 MB / 307 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.06364, allocations: 12 kB / 307 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.06365, allocations: 8.094 kB / 307 MB, free: 14.76 MB / 298.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.0001054/0.06376, allocations: 180.5 kB / 307.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.12e-05/0.0638, allocations: 27.86 kB / 307.2 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.071e-05/0.06384, allocations: 37.95 kB / 307.3 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.06385, allocations: 11.94 kB / 307.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.06385, allocations: 0 / 307.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003189/0.06417, allocations: 499.3 kB / 307.8 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005595/0.06473, allocations: 0.54 MB / 308.3 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.06473, allocations: 0 / 308.3 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.06485, allocations: 47.91 kB / 308.3 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001484/0.065, allocations: 47.62 kB / 308.4 MB, free: 13.24 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.06501, allocations: 4 kB / 308.4 MB, free: 13.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008851/0.0659, allocations: 1.771 MB / 310.2 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.0659, allocations: 0 / 310.2 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000342/0.06624, allocations: 407.5 kB / 310.6 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.366e-05/0.06626, allocations: 19.81 kB / 310.6 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.06629, allocations: 16.05 kB / 310.6 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.207e-05/0.06638, allocations: 8 kB / 310.6 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.804e-05/0.06641, allocations: 11.97 kB / 310.6 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.06642, allocations: 11.98 kB / 310.6 MB, free: 10.86 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.711e-05/0.0665, allocations: 176.6 kB / 310.8 MB, free: 10.68 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0665, allocations: 0 / 310.8 MB, free: 10.68 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002745/0.06677, allocations: 88 kB / 310.9 MB, free: 10.6 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 0.0001138/0.06688, allocations: 99.19 kB / 311 MB, free: 10.49 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004433/0.06733, allocations: 0.5154 MB / 311.5 MB, free: 9.934 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.06733, allocations: 4 kB / 311.5 MB, free: 9.93 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001885/0.06752, allocations: 266.1 kB / 311.8 MB, free: 9.648 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004455/0.06796, allocations: 124.2 kB / 311.9 MB, free: 9.527 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.06898, allocations: 0.5959 MB / 312.5 MB, free: 8.898 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.931e-05/0.06904, allocations: 92.56 kB / 312.6 MB, free: 8.789 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001483/0.06919, allocations: 46.94 kB / 312.6 MB, free: 8.742 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000215/0.0694, allocations: 178.1 kB / 312.8 MB, free: 8.566 MB / 298.7 MB Notification: Performance of SimCode: time 7.52e-07/0.0694, allocations: 0 / 312.8 MB, free: 8.566 MB / 298.7 MB Notification: Performance of Templates: time 0.007472/0.07688, allocations: 5.665 MB / 318.5 MB, free: 2.934 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.89745541382581]