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.001719/0.001719, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.002087/0.002087, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.345/1.345, allocations: 207.6 MB / 235.3 MB, free: 10 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.001786/0.001786, allocations: 51.92 kB / 347.2 MB, free: 9.992 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2741, allocations: 49.16 MB / 396.4 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.0374/0.3115, allocations: 33.03 MB / 429.4 MB, free: 328 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02128/0.3328, allocations: 15.87 MB / 445.3 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004237/0.3332, allocations: 7.938 kB / 445.3 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008582/0.3341, allocations: 270.4 kB / 445.6 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007858/0.3349, allocations: 373.9 kB / 445.9 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0169/0.3518, allocations: 5.799 MB / 451.7 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001567/0.3533, allocations: 1.024 MB / 452.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002147/0.3536, allocations: 81.23 kB / 452.8 MB, free: 10.72 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005018/0.3586, allocations: 2.216 MB / 455 MB, free: 8.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005126/0.3591, allocations: 322.8 kB / 455.4 MB, free: 8.164 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.963e-05/0.3592, allocations: 40 kB / 455.4 MB, free: 8.125 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01221/0.3714, allocations: 6.08 MB / 461.5 MB, free: 2.039 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002204/0.3716, allocations: 119.6 kB / 461.6 MB, free: 1.922 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000376/0.372, allocations: 235.1 kB / 461.8 MB, free: 1.691 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008154/0.3801, allocations: 3.8 MB / 465.6 MB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3801, allocations: 0 / 465.6 MB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3801, allocations: 4 kB / 465.6 MB, free: 13.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.3801, allocations: 0 / 465.6 MB, free: 13.88 MB / 382.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.002185/0.3823, allocations: 0.9434 MB / 466.6 MB, free: 12.9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.3824, allocations: 19.92 kB / 466.6 MB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.277e-05/0.3825, allocations: 66.72 kB / 466.7 MB, free: 12.81 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001263/0.3837, allocations: 152.6 kB / 466.8 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004669/0.3842, allocations: 261.9 kB / 467.1 MB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.3842, allocations: 25.03 kB / 467.1 MB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.368e-05/0.3843, allocations: 36.12 kB / 467.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.3855, allocations: 0.5075 MB / 467.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.3856, allocations: 3.938 kB / 467.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.2e-05/0.3856, allocations: 20 kB / 467.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.3856, allocations: 12 kB / 467.7 MB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006785/0.3863, allocations: 330.3 kB / 468 MB, free: 11.42 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.003191/0.3895, allocations: 2.44 MB / 470.4 MB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006134/0.3901, allocations: 262.8 kB / 470.7 MB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.3903, allocations: 104.8 kB / 470.8 MB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06072/0.451, allocations: 16.79 MB / 487.6 MB, free: 7.559 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.356e-05/0.451, allocations: 38.5 kB / 487.6 MB, free: 7.512 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 2.224e-06/0.451, allocations: 0 / 487.6 MB, free: 7.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.003476/0.4545, allocations: 1.045 MB / 488.7 MB, free: 6.426 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.4546, allocations: 59.41 kB / 488.7 MB, free: 6.355 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003062/0.4549, allocations: 261.8 kB / 489 MB, free: 6.09 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.666e-05/0.4549, allocations: 37.7 kB / 489 MB, free: 6.047 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.4551, allocations: 188.4 kB / 489.2 MB, free: 5.855 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.715e-05/0.4552, allocations: 115 kB / 489.3 MB, free: 5.742 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.4553, allocations: 78.12 kB / 489.4 MB, free: 5.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.4554, allocations: 338.8 kB / 489.7 MB, free: 5.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/0.4556, allocations: 92.83 kB / 489.8 MB, free: 5.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002708/0.4559, allocations: 218.9 kB / 490 MB, free: 4.961 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000481/0.4564, allocations: 342.3 kB / 490.4 MB, free: 4.574 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.4564, allocations: 4 kB / 490.4 MB, free: 4.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007658/0.4571, allocations: 415.2 kB / 490.8 MB, free: 4.152 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.4571, allocations: 8 kB / 490.8 MB, free: 4.145 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/0.4572, allocations: 4 kB / 490.8 MB, free: 4.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002868/0.4574, allocations: 57.69 kB / 490.8 MB, free: 4.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003868/0.4578, allocations: 91.83 kB / 490.9 MB, free: 3.988 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002014/0.4598, allocations: 2.425 MB / 493.3 MB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.46, allocations: 12 kB / 493.4 MB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.185e-05/0.4601, allocations: 20 kB / 493.4 MB, free: 1.371 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.0002249/0.4603, allocations: 165.6 kB / 493.5 MB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.573e-05/0.4604, allocations: 31.97 kB / 493.6 MB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/0.4616, allocations: 0.8947 MB / 494.5 MB, free: 268 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.736e-05/0.4616, allocations: 15.92 kB / 494.5 MB, free: 252 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.4616, allocations: 0 / 494.5 MB, free: 252 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001083/0.4627, allocations: 1.065 MB / 495.5 MB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001899/0.4646, allocations: 1.506 MB / 497.1 MB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.4646, allocations: 3.938 kB / 497.1 MB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002338/0.4648, allocations: 59.91 kB / 497.1 MB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003431/0.4651, allocations: 68.8 kB / 497.2 MB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.4652, allocations: 8 kB / 497.2 MB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004656/0.4656, allocations: 0.5992 MB / 497.8 MB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4656, allocations: 0 / 497.8 MB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.4668, allocations: 0.8465 MB / 498.6 MB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.262e-05/0.4668, allocations: 31.73 kB / 498.7 MB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.589e-05/0.4669, allocations: 19.89 kB / 498.7 MB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000307/0.4672, allocations: 27.97 kB / 498.7 MB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.4672, allocations: 24.11 kB / 498.7 MB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-05/0.4673, allocations: 15.94 kB / 498.8 MB, free: 11.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002784/0.4675, allocations: 239 kB / 499 MB, free: 11.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4675, allocations: 0 / 499 MB, free: 11.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002524/0.4701, allocations: 0.8618 MB / 499.8 MB, free: 10.68 MB / 414.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.005205/0.4753, allocations: 2.26 MB / 0.4903 GB, free: 8.383 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001045/0.4763, allocations: 479.9 kB / 0.4908 GB, free: 7.898 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.4763, allocations: 4 kB / 0.4908 GB, free: 7.895 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003687/0.4767, allocations: 232.4 kB / 0.491 GB, free: 7.668 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.4777, allocations: 197 kB / 0.4912 GB, free: 7.473 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006186/0.4839, allocations: 3.997 MB / 0.4951 GB, free: 3.285 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004879/0.4844, allocations: 0.8172 MB / 0.4959 GB, free: 2.445 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004233/0.4848, allocations: 175 kB / 0.4961 GB, free: 2.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001927/0.485, allocations: 143.4 kB / 0.4962 GB, free: 2.129 MB / 414.1 MB Notification: Performance of SimCode: time 9.02e-07/0.485, allocations: 0 / 0.4962 GB, free: 2.129 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08721/0.5722, allocations: 40.15 MB / 0.5354 GB, free: 9.875 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.06/15.64, allocations: 7.938 kB / 0.5354 GB, free: 9.867 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.31722782200086]