Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.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.001364/0.001364, allocations: 107.6 kB / 21.18 MB, free: 452 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.001483/0.001483, allocations: 215 kB / 24.47 MB, free: 3.777 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.413/1.413, allocations: 207.7 MB / 235.3 MB, free: 9.797 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: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97OnePhase_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97OnePhase_ph",fmuType="me",version="2.0",platforms={"static"}) [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.001871/0.001871, allocations: 58.52 kB / 347.2 MB, free: 9.852 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2555, allocations: 49.16 MB / 396.4 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03193/0.2875, allocations: 29.83 MB / 426.2 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01911/0.3066, allocations: 14.01 MB / 440.2 MB, free: 7.184 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003757/0.3069, allocations: 7.938 kB / 440.2 MB, free: 7.176 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008471/0.3078, allocations: 242.5 kB / 440.5 MB, free: 6.938 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008992/0.3087, allocations: 369.9 kB / 440.8 MB, free: 6.574 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01728/0.326, allocations: 5.712 MB / 446.5 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001452/0.3274, allocations: 1.021 MB / 447.6 MB, free: 15.81 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002119/0.3276, allocations: 77.22 kB / 447.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004885/0.3325, allocations: 2.2 MB / 449.8 MB, free: 13.51 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004841/0.333, allocations: 306.7 kB / 450.1 MB, free: 13.21 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.905e-05/0.3331, allocations: 40 kB / 450.2 MB, free: 13.17 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01148/0.3445, allocations: 5.818 MB / 456 MB, free: 7.348 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002312/0.3448, allocations: 115.6 kB / 456.1 MB, free: 7.234 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003493/0.3451, allocations: 203.4 kB / 456.3 MB, free: 7.035 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009209/0.3543, allocations: 3.804 MB / 460.1 MB, free: 3.223 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.3543, allocations: 0 / 460.1 MB, free: 3.223 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3543, allocations: 0 / 460.1 MB, free: 3.223 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.3543, allocations: 3.938 kB / 460.1 MB, free: 3.219 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.002202/0.3565, allocations: 0.9395 MB / 461.1 MB, free: 2.246 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.3566, allocations: 11.98 kB / 461.1 MB, free: 2.234 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.229e-05/0.3567, allocations: 70.72 kB / 461.1 MB, free: 2.156 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001317/0.358, allocations: 152.6 kB / 461.3 MB, free: 2.008 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004647/0.3585, allocations: 265.9 kB / 461.5 MB, free: 1.723 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.3585, allocations: 21.03 kB / 461.6 MB, free: 1.703 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.84e-05/0.3586, allocations: 40.12 kB / 461.6 MB, free: 1.664 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.36, allocations: 0.7373 MB / 462.3 MB, free: 0.832 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.36, allocations: 7.938 kB / 462.4 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.138e-05/0.36, allocations: 12 kB / 462.4 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.36, allocations: 15.92 kB / 462.4 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006607/0.3607, allocations: 322.3 kB / 462.7 MB, free: 496 kB / 366.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.002817/0.3635, allocations: 1.727 MB / 464.4 MB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006136/0.3641, allocations: 266.8 kB / 464.7 MB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/0.3643, allocations: 108.8 kB / 464.8 MB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06183/0.4261, allocations: 16.85 MB / 481.6 MB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.993e-05/0.4262, allocations: 34.56 kB / 481.7 MB, free: 13.38 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.944e-06/0.4262, allocations: 0 / 481.7 MB, free: 13.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.003343/0.4295, allocations: 1.054 MB / 482.7 MB, free: 12.29 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.4296, allocations: 55.41 kB / 482.8 MB, free: 12.22 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003151/0.4299, allocations: 261.8 kB / 483 MB, free: 11.95 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.651e-05/0.4299, allocations: 33.7 kB / 483.1 MB, free: 11.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.4301, allocations: 192.4 kB / 483.3 MB, free: 11.72 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.444e-05/0.4302, allocations: 118.9 kB / 483.4 MB, free: 11.6 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.4303, allocations: 86.03 kB / 483.5 MB, free: 11.51 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.4304, allocations: 342.7 kB / 483.8 MB, free: 11.17 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.4306, allocations: 100.8 kB / 483.9 MB, free: 11.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002706/0.4309, allocations: 210.9 kB / 484.1 MB, free: 10.81 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004943/0.4314, allocations: 338.3 kB / 484.4 MB, free: 10.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4314, allocations: 0 / 484.4 MB, free: 10.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007495/0.4321, allocations: 422.7 kB / 484.8 MB, free: 10 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.4321, allocations: 8 kB / 484.9 MB, free: 9.992 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.4322, allocations: 7.984 kB / 484.9 MB, free: 9.984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002684/0.4324, allocations: 62.19 kB / 484.9 MB, free: 9.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003596/0.4328, allocations: 83.91 kB / 485 MB, free: 9.836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001922/0.4347, allocations: 2.417 MB / 487.4 MB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.4349, allocations: 12 kB / 487.4 MB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/0.4349, allocations: 16.34 kB / 487.4 MB, free: 7.23 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): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002095/0.4351, allocations: 165.7 kB / 487.6 MB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.535e-05/0.4352, allocations: 35.81 kB / 487.6 MB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/0.4364, allocations: 0.9023 MB / 488.5 MB, free: 6.109 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.4364, allocations: 11.98 kB / 488.6 MB, free: 6.098 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.4364, allocations: 0 / 488.6 MB, free: 6.098 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00115/0.4376, allocations: 1.073 MB / 489.6 MB, free: 4.938 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001857/0.4394, allocations: 1.394 MB / 491 MB, free: 3.492 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.4394, allocations: 0 / 491 MB, free: 3.492 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/0.4396, allocations: 59.91 kB / 491.1 MB, free: 3.434 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003114/0.44, allocations: 68.8 kB / 491.2 MB, free: 3.363 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.44, allocations: 11.98 kB / 491.2 MB, free: 3.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004374/0.4404, allocations: 0.5953 MB / 491.8 MB, free: 2.73 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.4404, allocations: 3.938 kB / 491.8 MB, free: 2.727 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.4415, allocations: 0.8427 MB / 492.6 MB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.213e-05/0.4416, allocations: 39.72 kB / 492.6 MB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.496e-05/0.4416, allocations: 15.89 kB / 492.7 MB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003018/0.4419, allocations: 19.97 kB / 492.7 MB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.442, allocations: 23.91 kB / 492.7 MB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.039e-05/0.442, allocations: 19.98 kB / 492.7 MB, free: 1.746 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002673/0.4423, allocations: 231 kB / 492.9 MB, free: 1.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4423, allocations: 4 kB / 493 MB, free: 1.516 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002284/0.4446, allocations: 0.8618 MB / 493.8 MB, free: 0.6523 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.h) * 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 (32): * Single equations (assignments): 29 * 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 {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00489/0.4495, allocations: 2.264 MB / 496.1 MB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009856/0.4504, allocations: 487.9 kB / 496.6 MB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.4505, allocations: 4 kB / 496.6 MB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003906/0.4508, allocations: 240.3 kB / 496.8 MB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.4519, allocations: 188.4 kB / 497 MB, free: 13.44 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006078/0.458, allocations: 3.989 MB / 0.4892 GB, free: 9.254 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.4582, allocations: 221.7 kB / 0.4894 GB, free: 9.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004124/0.4586, allocations: 179 kB / 0.4896 GB, free: 8.844 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002/0.4588, allocations: 143.4 kB / 0.4897 GB, free: 8.703 MB / 414.1 MB Notification: Performance of SimCode: time 7.52e-07/0.4588, allocations: 0 / 0.4897 GB, free: 8.703 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08742/0.5463, allocations: 40.75 MB / 0.5295 GB, free: 15.82 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.93/15.48, allocations: 64 / 0.5295 GB, free: 15.82 MB / 462.1 MB " [Timeout remaining time 644] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97OnePhase_ph.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.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: 18.171665905974805]