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_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 113.4 kB / 17.72 MB, free: 5.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 184.1 kB / 18.65 MB, free: 4.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.34/1.34, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 60.23 kB / 328.1 MB, free: 3.77 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09723/0.09856, allocations: 46.61 MB / 374.7 MB, free: 5.047 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.2361/0.3347, allocations: 32.57 MB / 407.3 MB, free: 8.594 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01882/0.3535, allocations: 15.74 MB / 423 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004361/0.3541, allocations: 9.281 kB / 423 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009407/0.355, allocations: 271 kB / 423.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008468/0.3559, allocations: 360 kB / 423.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01896/0.3749, allocations: 5.792 MB / 429.4 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001434/0.3763, allocations: 0.9916 MB / 430.4 MB, free: 7.176 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002479/0.3766, allocations: 107.5 kB / 430.5 MB, free: 7.117 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005434/0.382, allocations: 2.205 MB / 432.7 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004032/0.3824, allocations: 317.9 kB / 433 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.59e-05/0.3825, allocations: 40 kB / 433.1 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01256/0.3951, allocations: 6.068 MB / 439.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002227/0.3953, allocations: 115.6 kB / 439.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004817/0.3958, allocations: 223.2 kB / 439.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009846/0.4057, allocations: 3.78 MB / 443.2 MB, free: 11.31 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.916e-06/0.4057, allocations: 0 / 443.2 MB, free: 11.31 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.138e-06/0.4057, allocations: 7.922 kB / 443.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.4058, allocations: 0 / 443.2 MB, free: 11.3 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.002746/0.4085, allocations: 1.042 MB / 444.3 MB, free: 10.21 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.4086, allocations: 8.031 kB / 444.3 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.176e-05/0.4087, allocations: 70.72 kB / 444.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001278/0.4099, allocations: 148.6 kB / 444.5 MB, free: 9.977 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004889/0.4104, allocations: 327.8 kB / 444.8 MB, free: 9.617 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.997e-05/0.4105, allocations: 33.03 kB / 444.9 MB, free: 9.586 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.327e-05/0.4106, allocations: 28.38 kB / 444.9 MB, free: 9.559 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/0.412, allocations: 0.5502 MB / 445.4 MB, free: 8.969 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.412, allocations: 0 / 445.4 MB, free: 8.969 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.357e-05/0.4121, allocations: 20 kB / 445.5 MB, free: 8.949 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.4121, allocations: 12 kB / 445.5 MB, free: 8.938 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001553/0.4137, allocations: 0.4977 MB / 446 MB, free: 8.441 MB / 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.0031/0.4168, allocations: 2.617 MB / 448.6 MB, free: 5.566 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/0.4183, allocations: 438.9 kB / 449 MB, free: 5.129 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004887/0.4188, allocations: 169.6 kB / 449.2 MB, free: 4.961 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000745/0.4196, allocations: 0.5602 MB / 449.7 MB, free: 4.309 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.4196, allocations: 34.56 kB / 449.8 MB, free: 4.266 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 1.683e-06/0.4196, allocations: 0 / 449.8 MB, free: 4.266 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.004914/0.4245, allocations: 1.511 MB / 451.3 MB, free: 2.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.4246, allocations: 55.41 kB / 451.3 MB, free: 2.613 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002624/0.4249, allocations: 248.9 kB / 451.6 MB, free: 2.363 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.4249, allocations: 33.7 kB / 451.6 MB, free: 2.324 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.425, allocations: 192.5 kB / 451.8 MB, free: 2.133 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.009e-05/0.4251, allocations: 115 kB / 451.9 MB, free: 2.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.4253, allocations: 86 kB / 452 MB, free: 1.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.4254, allocations: 338.8 kB / 452.3 MB, free: 1.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004754/0.4259, allocations: 136.8 kB / 452.5 MB, free: 1.457 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004746/0.4264, allocations: 231.4 kB / 452.7 MB, free: 1.188 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008777/0.4273, allocations: 398.9 kB / 453.1 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.4273, allocations: 0 / 453.1 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001348/0.4286, allocations: 0.5112 MB / 453.6 MB, free: 236 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.4287, allocations: 8 kB / 453.6 MB, free: 228 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.4287, allocations: 7.938 kB / 453.6 MB, free: 220 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005104/0.4292, allocations: 102.8 kB / 453.7 MB, free: 108 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003545/0.4296, allocations: 91.83 kB / 453.8 MB, free: 16 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002279/0.4318, allocations: 2.51 MB / 456.3 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002986/0.4322, allocations: 27.98 kB / 456.3 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.66e-05/0.4322, allocations: 19.98 kB / 456.4 MB, free: 13.27 MB / 382.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: 3 (fixedMassFlowRate.medium.phase,volume.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002152/0.4324, allocations: 165.8 kB / 456.5 MB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.982e-05/0.4325, allocations: 27.86 kB / 456.5 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001942/0.4345, allocations: 1.325 MB / 457.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.972e-05/0.4345, allocations: 15.98 kB / 457.9 MB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.4345, allocations: 0 / 457.9 MB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001612/0.4361, allocations: 1.425 MB / 459.3 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002735/0.4389, allocations: 2.098 MB / 461.4 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/0.4389, allocations: 0 / 461.4 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004046/0.4393, allocations: 99.84 kB / 461.5 MB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003165/0.4396, allocations: 68.75 kB / 461.6 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.4397, allocations: 8.875 kB / 461.6 MB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003741/0.4401, allocations: 0.5952 MB / 462.2 MB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.4401, allocations: 0 / 462.2 MB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/0.4419, allocations: 1.276 MB / 463.4 MB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.4421, allocations: 140.6 kB / 463.6 MB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.8e-05/0.4421, allocations: 15.89 kB / 463.6 MB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000264/0.4424, allocations: 23.97 kB / 463.6 MB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.4425, allocations: 37.14 kB / 463.7 MB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.488e-05/0.4426, allocations: 12 kB / 463.7 MB, free: 5.695 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002522/0.4428, allocations: 239 kB / 463.9 MB, free: 5.457 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4428, allocations: 3.938 kB / 463.9 MB, free: 5.453 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002504/0.4453, allocations: 0.8657 MB / 464.8 MB, free: 4.586 MB / 382.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: 11 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.005768/0.4511, allocations: 2.704 MB / 467.5 MB, free: 1.848 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001347/0.4525, allocations: 0.6541 MB / 468.1 MB, free: 1.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4525, allocations: 0 / 468.1 MB, free: 1.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006518/0.4532, allocations: 413.3 kB / 468.5 MB, free: 0.7773 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.4543, allocations: 188.8 kB / 468.7 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007537/0.4618, allocations: 4.581 MB / 473.3 MB, free: 11.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004516/0.4623, allocations: 0.8687 MB / 474.2 MB, free: 10.95 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003811/0.4627, allocations: 152.1 kB / 474.3 MB, free: 10.8 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002398/0.4629, allocations: 187.4 kB / 474.5 MB, free: 10.62 MB / 398.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4629, allocations: 0 / 474.5 MB, free: 10.62 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09354/0.5565, allocations: 41.45 MB / 0.5039 GB, free: 1.055 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.85/14.4, allocations: 15.83 kB / 0.5039 GB, free: 1.039 MB / 430.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_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/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches