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.0009406/0.0009406, allocations: 80.8 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.0009264/0.0009264, allocations: 163.2 kB / 25.69 MB, free: 8.402 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.9807/0.9807, allocations: 158.6 MB / 187.6 MB, free: 2.797 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.854e-06/1.854e-06, allocations: 0 / 251.6 MB, free: 7.18 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.73e-05, allocations: 6.25 kB / 251.6 MB, free: 7.172 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.0246/0.02463, allocations: 27.39 MB / 279 MB, free: 11.67 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009571/0.02559, allocations: 0.6425 MB / 279.7 MB, free: 11.03 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001408/0.02573, allocations: 7.938 kB / 279.7 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003549/0.02608, allocations: 99.34 kB / 279.8 MB, free: 10.92 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005944/0.02668, allocations: 333.8 kB / 280.1 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006569/0.02733, allocations: 299.4 kB / 280.4 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001101/0.02843, allocations: 0.8794 MB / 281.3 MB, free: 9.418 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001993/0.02863, allocations: 74.84 kB / 281.3 MB, free: 9.348 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. This is deprecated and will become an error in future releases. [/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. This is deprecated and will become an error in future releases. [/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. This is deprecated and will become an error in future releases. [/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. This is deprecated and will become an error in future releases. [/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. This is deprecated and will become an error in future releases. [/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. This is deprecated and will become an error in future releases. Notification: Performance of NFEvalConstants.evaluate: time 0.03898/0.06761, allocations: 15.45 MB / 296.8 MB, free: 9.77 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006892/0.0683, allocations: 239.2 kB / 297 MB, free: 9.535 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.255e-05/0.06838, allocations: 28 kB / 297 MB, free: 9.508 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001923/0.06857, allocations: 36 kB / 297.1 MB, free: 9.473 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.0687, allocations: 99.64 kB / 297.2 MB, free: 9.375 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002007/0.0689, allocations: 135.7 kB / 297.3 MB, free: 9.242 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005139/0.06941, allocations: 283.1 kB / 297.6 MB, free: 8.965 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.06942, allocations: 4 kB / 297.6 MB, free: 8.961 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.06942, allocations: 4 kB / 297.6 MB, free: 8.957 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.06942, allocations: 0 / 297.6 MB, free: 8.957 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.0007977/0.07022, allocations: 499.6 kB / 298.1 MB, free: 8.445 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.07027, allocations: 11.98 kB / 298.1 MB, free: 8.434 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003247/0.07059, allocations: 72.7 kB / 298.2 MB, free: 8.363 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003266/0.07092, allocations: 193.3 kB / 298.4 MB, free: 8.148 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.07094, allocations: 20.88 kB / 298.4 MB, free: 8.129 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.484e-05/0.071, allocations: 28.36 kB / 298.4 MB, free: 8.102 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000563/0.07156, allocations: 385.7 kB / 298.8 MB, free: 7.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.07158, allocations: 192 / 298.8 MB, free: 7.66 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.974e-05/0.07161, allocations: 15.94 kB / 298.8 MB, free: 7.645 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.07162, allocations: 4 kB / 298.8 MB, free: 7.641 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001751/0.07179, allocations: 95.31 kB / 298.9 MB, free: 7.551 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001262/0.07305, allocations: 0.9722 MB / 299.9 MB, free: 6.535 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.07325, allocations: 98.47 kB / 300 MB, free: 6.43 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.933e-05/0.07332, allocations: 48.83 kB / 300 MB, free: 6.379 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.07335, allocations: 4.375 kB / 300 MB, free: 6.375 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.07338, allocations: 46.48 kB / 300.1 MB, free: 6.32 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.342e-06/0.07338, allocations: 0 / 300.1 MB, free: 6.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.001711/0.07509, allocations: 0.6781 MB / 300.7 MB, free: 5.602 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.07512, allocations: 55.41 kB / 300.8 MB, free: 5.535 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.0753, allocations: 214.1 kB / 301 MB, free: 5.312 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.07532, allocations: 33.7 kB / 301 MB, free: 5.273 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.07543, allocations: 176.3 kB / 301.2 MB, free: 5.094 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.24e-05/0.07551, allocations: 99.14 kB / 301.3 MB, free: 4.996 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.766e-05/0.0756, allocations: 69.62 kB / 301.4 MB, free: 4.922 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.07572, allocations: 338.7 kB / 301.7 MB, free: 4.582 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.002e-05/0.07577, allocations: 31.98 kB / 301.7 MB, free: 4.551 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.07587, allocations: 126.9 kB / 301.9 MB, free: 4.387 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/0.0761, allocations: 193.7 kB / 302 MB, free: 4.156 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.07611, allocations: 0 / 302 MB, free: 4.156 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004134/0.07652, allocations: 239 kB / 302.3 MB, free: 3.91 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.07654, allocations: 7.984 kB / 302.3 MB, free: 3.902 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.07655, allocations: 4 kB / 302.3 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001878/0.07674, allocations: 46 kB / 302.3 MB, free: 3.848 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/0.077, allocations: 83.83 kB / 302.4 MB, free: 3.766 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001625/0.07862, allocations: 2.38 MB / 304.8 MB, free: 1.211 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.07879, allocations: 8 kB / 304.8 MB, free: 1.203 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.07881, allocations: 12 kB / 304.8 MB, free: 1.191 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.0001334/0.07894, allocations: 132.7 kB / 304.9 MB, free: 1.051 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.389e-05/0.079, allocations: 27.95 kB / 305 MB, free: 1.023 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.992e-05/0.07906, allocations: 33.97 kB / 305 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.07906, allocations: 4.031 kB / 305 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.07907, allocations: 4 kB / 305 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004037/0.07947, allocations: 480.4 kB / 305.5 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009034/0.08037, allocations: 404.4 kB / 305.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.08038, allocations: 4 kB / 305.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/0.08057, allocations: 47.91 kB / 305.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001748/0.08075, allocations: 48.83 kB / 306 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.08077, allocations: 7.984 kB / 306 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007913/0.08156, allocations: 1.209 MB / 307.2 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.08156, allocations: 0 / 307.2 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004325/0.08199, allocations: 313.5 kB / 307.5 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.073e-05/0.08203, allocations: 19.86 kB / 307.5 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.572e-05/0.08207, allocations: 11.94 kB / 307.5 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.08222, allocations: 7.938 kB / 307.5 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.08226, allocations: 19.97 kB / 307.6 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.08228, allocations: 7.984 kB / 307.6 MB, free: 14.19 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.945e-05/0.08236, allocations: 62.28 kB / 307.6 MB, free: 14.12 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.08236, allocations: 4.062 kB / 307.6 MB, free: 14.12 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004133/0.08277, allocations: 88 kB / 307.7 MB, free: 14.04 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.0001451/0.08292, allocations: 80.36 kB / 307.8 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005666/0.08348, allocations: 402.6 kB / 308.2 MB, free: 13.53 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.08349, allocations: 0 / 308.2 MB, free: 13.53 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002352/0.08372, allocations: 195.3 kB / 308.4 MB, free: 13.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005858/0.08431, allocations: 128.9 kB / 308.5 MB, free: 13.2 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.08567, allocations: 0.5864 MB / 309.1 MB, free: 12.58 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.175e-05/0.08575, allocations: 92.56 kB / 309.2 MB, free: 12.47 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002317/0.08598, allocations: 42.94 kB / 309.2 MB, free: 12.43 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000307/0.08629, allocations: 137.3 kB / 309.4 MB, free: 12.29 MB / 298.7 MB Notification: Performance of SimCode: time 1.132e-06/0.08629, allocations: 0 / 309.4 MB, free: 12.29 MB / 298.7 MB Notification: Performance of Templates: time 0.01116/0.09745, allocations: 5.705 MB / 315.1 MB, free: 6.629 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 -s gbode -gbm=radauIIA3 -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.773059959989041]