Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_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.001593/0.001593, allocations: 120.2 kB / 21.94 MB, free: 8 kB / 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.001974/0.001974, allocations: 204.7 kB / 25.23 MB, free: 3.551 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.436/1.436, allocations: 207.6 MB / 236 MB, free: 9.996 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.Water.WaterIF97_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.Water.WaterIF97_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_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.Water.WaterIF97_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.001926/0.001926, allocations: 55.92 kB / 348.5 MB, free: 9.488 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2606, allocations: 49.17 MB / 397.7 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.03479/0.2954, allocations: 33.04 MB / 430.7 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02258/0.3179, allocations: 15.86 MB / 446.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00048/0.3184, allocations: 4 kB / 446.6 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009614/0.3194, allocations: 270.4 kB / 446.8 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009885/0.3204, allocations: 370 kB / 447.2 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0175/0.3379, allocations: 5.786 MB / 453 MB, free: 11.93 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001833/0.3397, allocations: 1.001 MB / 454 MB, free: 10.92 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000289/0.34, allocations: 81.17 kB / 454 MB, free: 10.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005449/0.3454, allocations: 2.2 MB / 456.2 MB, free: 8.613 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005981/0.346, allocations: 306.8 kB / 456.5 MB, free: 8.312 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.482e-05/0.3461, allocations: 40 kB / 456.6 MB, free: 8.273 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007467/0.3536, allocations: 3.617 MB / 460.2 MB, free: 4.652 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001805/0.3538, allocations: 103.6 kB / 460.3 MB, free: 4.551 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003504/0.3541, allocations: 227.1 kB / 460.5 MB, free: 4.328 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0049/0.359, allocations: 2.358 MB / 462.9 MB, free: 1.965 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.359, allocations: 4 kB / 462.9 MB, free: 1.961 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.359, allocations: 0 / 462.9 MB, free: 1.961 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.55e-05/0.359, allocations: 0 / 462.9 MB, free: 1.961 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001956/0.361, allocations: 0.7614 MB / 463.6 MB, free: 1.168 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.361, allocations: 11.98 kB / 463.7 MB, free: 1.156 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008656/0.3619, allocations: 92.66 kB / 463.8 MB, free: 1.066 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005671/0.3625, allocations: 249.9 kB / 464 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.165e-05/0.3625, allocations: 25.02 kB / 464 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.535e-05/0.3626, allocations: 32.38 kB / 464.1 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008836/0.3634, allocations: 450.3 kB / 464.5 MB, free: 260 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.3635, allocations: 3.938 kB / 464.5 MB, free: 256 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.384e-05/0.3635, allocations: 12 kB / 464.5 MB, free: 244 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.3635, allocations: 8 kB / 464.5 MB, free: 236 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006646/0.3642, allocations: 318.3 kB / 464.8 MB, free: 15.92 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003065/0.3673, allocations: 2.516 MB / 467.3 MB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005859/0.3678, allocations: 246.5 kB / 467.6 MB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001775/0.368, allocations: 104.8 kB / 467.7 MB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04145/0.4095, allocations: 8.31 MB / 476 MB, free: 4.508 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.132e-05/0.4095, allocations: 38.55 kB / 476 MB, free: 4.461 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 3.156e-06/0.4095, allocations: 4 kB / 476 MB, free: 4.457 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.007202/0.4167, allocations: 1.151 MB / 477.2 MB, free: 3.266 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/0.4168, allocations: 55.41 kB / 477.2 MB, free: 3.199 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005454/0.4173, allocations: 273.8 kB / 477.5 MB, free: 2.922 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.712e-05/0.4174, allocations: 29.7 kB / 477.5 MB, free: 2.887 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000217/0.4176, allocations: 196.4 kB / 477.7 MB, free: 2.691 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/0.4178, allocations: 115 kB / 477.8 MB, free: 2.578 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002006/0.418, allocations: 78.09 kB / 477.9 MB, free: 2.496 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002507/0.4182, allocations: 342.8 kB / 478.3 MB, free: 2.152 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002891/0.4185, allocations: 100.8 kB / 478.4 MB, free: 2.055 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004549/0.419, allocations: 218.9 kB / 478.6 MB, free: 1.785 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008022/0.4198, allocations: 362.3 kB / 478.9 MB, free: 1.379 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.4198, allocations: 4 kB / 478.9 MB, free: 1.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001278/0.4211, allocations: 438.7 kB / 479.4 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.4211, allocations: 4 kB / 479.4 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.4211, allocations: 4 kB / 479.4 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004984/0.4261, allocations: 269.8 kB / 479.6 MB, free: 0.6562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004969/0.4266, allocations: 83.89 kB / 479.7 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002608/0.4292, allocations: 1.874 MB / 481.6 MB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003942/0.4296, allocations: 8 kB / 481.6 MB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-05/0.4296, allocations: 23.94 kB / 481.6 MB, free: 14.53 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003685/0.43, allocations: 170 kB / 481.8 MB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001602/0.4302, allocations: 31.81 kB / 481.8 MB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001947/0.4321, allocations: 0.9661 MB / 482.8 MB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.167e-05/0.4322, allocations: 11.98 kB / 482.8 MB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.4322, allocations: 4 kB / 482.8 MB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001785/0.4339, allocations: 1.145 MB / 483.9 MB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003149/0.4371, allocations: 1.601 MB / 485.5 MB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.4371, allocations: 0 / 485.5 MB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002988/0.4374, allocations: 51.92 kB / 485.6 MB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002535/0.4399, allocations: 295.9 kB / 485.9 MB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.617e-05/0.44, allocations: 8 kB / 485.9 MB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009677/0.4409, allocations: 0.685 MB / 486.6 MB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.441, allocations: 4.062 kB / 486.6 MB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001945/0.4429, allocations: 0.9768 MB / 487.5 MB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001794/0.4431, allocations: 35.69 kB / 487.6 MB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.4432, allocations: 19.89 kB / 487.6 MB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003441/0.4435, allocations: 8 kB / 487.6 MB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.014e-05/0.4436, allocations: 23.89 kB / 487.6 MB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.509e-05/0.4436, allocations: 12.06 kB / 487.6 MB, free: 8.273 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004674/0.4441, allocations: 247 kB / 487.9 MB, free: 8.027 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4441, allocations: 0 / 487.9 MB, free: 8.027 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002626/0.4467, allocations: 499.4 kB / 488.4 MB, free: 7.539 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003517/0.4502, allocations: 0.5023 MB / 488.9 MB, free: 7.023 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001613/0.4519, allocations: 0.5225 MB / 489.4 MB, free: 6.488 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/0.4519, allocations: 0 / 489.4 MB, free: 6.488 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000708/0.4526, allocations: 280.3 kB / 489.7 MB, free: 6.215 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001725/0.4543, allocations: 192.6 kB / 489.9 MB, free: 6.027 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002699/0.457, allocations: 1.061 MB / 490.9 MB, free: 4.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005812/0.4576, allocations: 0.8244 MB / 491.7 MB, free: 4.078 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.4577, allocations: 31.44 kB / 491.8 MB, free: 4.051 MB / 398.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4577, allocations: 0 / 491.8 MB, free: 4.051 MB / 398.1 MB Notification: Performance of Templates: time 0.02661/0.4843, allocations: 15.19 MB / 0.4951 GB, free: 4.828 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_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/Water/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_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.988941732095554]