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.006055/0.006055, allocations: 98.41 kB / 21.93 MB, free: 5.188 MB / 14.72 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.001614/0.001614, allocations: 221.8 kB / 25.23 MB, free: 3.156 MB / 14.72 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 1.461/1.461, allocations: 207.7 MB / 236.1 MB, free: 9.949 MB / 190.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 51.92 kB / 348.5 MB, free: 9.359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2923, allocations: 49.15 MB / 397.6 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04473/0.3371, allocations: 35.4 MB / 433 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003164/0.3402, allocations: 1.899 MB / 434.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002135/0.3405, allocations: 11.88 kB / 434.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006618/0.3411, allocations: 166.9 kB / 435.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006729/0.3418, allocations: 318.3 kB / 435.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007183/0.3425, allocations: 291.4 kB / 435.7 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009893/0.3435, allocations: 0.8485 MB / 436.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001885/0.3437, allocations: 64.91 kB / 436.6 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1024/0.4461, allocations: 43.71 MB / 480.3 MB, free: 15.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000637/0.4467, allocations: 278.9 kB / 480.6 MB, free: 15.71 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.67e-05/0.4468, allocations: 28 kB / 480.6 MB, free: 15.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001719/0.447, allocations: 39.98 kB / 480.7 MB, free: 15.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001393/0.4471, allocations: 95.66 kB / 480.8 MB, free: 15.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001989/0.4473, allocations: 155.4 kB / 480.9 MB, free: 15.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006909/0.448, allocations: 442.5 kB / 481.3 MB, free: 14.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.448, allocations: 0 / 481.3 MB, free: 14.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.448, allocations: 0 / 481.3 MB, free: 14.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.448, allocations: 0 / 481.3 MB, free: 14.96 MB / 398.1 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.001016/0.4491, allocations: 0.5131 MB / 481.9 MB, free: 14.42 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.4491, allocations: 15.98 kB / 481.9 MB, free: 14.4 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000288/0.4494, allocations: 40.69 kB / 481.9 MB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004866/0.4499, allocations: 234 kB / 482.1 MB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.4499, allocations: 16.88 kB / 482.2 MB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.959e-05/0.4499, allocations: 24.38 kB / 482.2 MB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000613/0.4506, allocations: 461 kB / 482.6 MB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.4506, allocations: 0 / 482.6 MB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.654e-05/0.4506, allocations: 12 kB / 482.6 MB, free: 13.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.4506, allocations: 8 kB / 482.6 MB, free: 13.53 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003621/0.451, allocations: 189.6 kB / 482.8 MB, free: 13.35 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001728/0.4527, allocations: 1.121 MB / 484 MB, free: 12.17 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003599/0.4531, allocations: 170.5 kB / 484.1 MB, free: 12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.4532, allocations: 88.84 kB / 484.2 MB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.186e-05/0.4533, allocations: 4 kB / 484.2 MB, free: 11.9 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.723e-05/0.4533, allocations: 34.56 kB / 484.2 MB, free: 11.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=21): time 1.723e-06/0.4533, allocations: 0 / 484.2 MB, free: 11.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.002632/0.4559, allocations: 0.8497 MB / 485.1 MB, free: 10.97 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.948e-05/0.456, allocations: 59.39 kB / 485.2 MB, free: 10.9 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/0.4563, allocations: 226.9 kB / 485.4 MB, free: 10.67 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.735e-05/0.4563, allocations: 41.69 kB / 485.4 MB, free: 10.62 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.4565, allocations: 180.4 kB / 485.6 MB, free: 10.44 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.98e-05/0.4565, allocations: 99.2 kB / 485.7 MB, free: 10.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.4567, allocations: 65.66 kB / 485.8 MB, free: 10.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002747/0.4569, allocations: 334.8 kB / 486.1 MB, free: 9.938 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.4571, allocations: 83.97 kB / 486.2 MB, free: 9.855 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003086/0.4574, allocations: 182.8 kB / 486.3 MB, free: 9.637 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004403/0.4578, allocations: 283 kB / 486.6 MB, free: 9.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4578, allocations: 0 / 486.6 MB, free: 9.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007074/0.4585, allocations: 386.8 kB / 487 MB, free: 8.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.4586, allocations: 4 kB / 487 MB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.547e-06/0.4586, allocations: 4 kB / 487 MB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002856/0.4589, allocations: 61.67 kB / 487.1 MB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003066/0.4592, allocations: 72.22 kB / 487.1 MB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002664/0.4618, allocations: 2.634 MB / 489.8 MB, free: 5.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/0.4621, allocations: 8 kB / 489.8 MB, free: 5.941 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.707e-05/0.4621, allocations: 16 kB / 489.8 MB, free: 5.926 MB / 398.1 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.0001989/0.4623, allocations: 153.7 kB / 489.9 MB, free: 5.766 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.015e-05/0.4623, allocations: 27.84 kB / 490 MB, free: 5.738 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.016e-05/0.4624, allocations: 33.97 kB / 490 MB, free: 5.695 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.4624, allocations: 4 kB / 490 MB, free: 5.691 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4624, allocations: 0 / 490 MB, free: 5.691 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007604/0.4632, allocations: 0.5709 MB / 490.6 MB, free: 5.031 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.4642, allocations: 0.5893 MB / 491.2 MB, free: 4.398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.4642, allocations: 0 / 491.2 MB, free: 4.398 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/0.4644, allocations: 55.84 kB / 491.2 MB, free: 4.344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002251/0.4647, allocations: 48.8 kB / 491.3 MB, free: 4.293 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.4647, allocations: 8.031 kB / 491.3 MB, free: 4.285 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001302/0.466, allocations: 1.366 MB / 492.6 MB, free: 2.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.466, allocations: 3.938 kB / 492.6 MB, free: 2.816 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007872/0.4668, allocations: 466.2 kB / 493.1 MB, free: 2.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.323e-05/0.4668, allocations: 27.94 kB / 493.1 MB, free: 2.312 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/0.4669, allocations: 12 kB / 493.1 MB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.4671, allocations: 4 kB / 493.1 MB, free: 2.297 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.881e-05/0.4671, allocations: 19.97 kB / 493.2 MB, free: 2.277 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/0.4671, allocations: 7.984 kB / 493.2 MB, free: 2.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001973/0.4673, allocations: 164.5 kB / 493.3 MB, free: 2.109 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4673, allocations: 4 kB / 493.3 MB, free: 2.105 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00046/0.4678, allocations: 84 kB / 493.4 MB, free: 2.023 MB / 398.1 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.0001631/0.468, allocations: 99.19 kB / 493.5 MB, free: 1.918 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008916/0.4689, allocations: 469.3 kB / 494 MB, free: 1.434 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.4689, allocations: 3.938 kB / 494 MB, free: 1.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004116/0.4693, allocations: 231.3 kB / 494.2 MB, free: 1.191 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007992/0.4701, allocations: 133.4 kB / 494.3 MB, free: 1.062 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.4715, allocations: 0.7198 MB / 495.1 MB, free: 312 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001776/0.4717, allocations: 159.1 kB / 495.2 MB, free: 128 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.547e-05/0.4717, allocations: 31.38 kB / 495.2 MB, free: 96 kB / 398.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4717, allocations: 0 / 495.2 MB, free: 96 kB / 398.1 MB Notification: Performance of Templates: time 0.009335/0.4811, allocations: 5.799 MB / 0.4893 GB, free: 10.28 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins1/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.163199000991881]