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.001694/0.001694, allocations: 102.6 kB / 17.58 MB, free: 5.414 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.002491/0.002491, allocations: 191.9 kB / 18.5 MB, free: 4.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.517/2.517, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.002358/0.002358, allocations: 56.14 kB / 280.8 MB, free: 3.078 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1506, allocations: 46.63 MB / 327.4 MB, free: 4.383 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.07843/0.2291, allocations: 32.57 MB / 360 MB, free: 3.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.04745/0.2766, allocations: 15.74 MB / 375.7 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005706/0.2773, allocations: 7.938 kB / 375.7 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001351/0.2787, allocations: 262.4 kB / 376 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001436/0.2801, allocations: 365.9 kB / 376.3 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3148/0.595, allocations: 5.768 MB / 382.1 MB, free: 11.78 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002633/0.5976, allocations: 0.995 MB / 383.1 MB, free: 11.78 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004539/0.5981, allocations: 108.3 kB / 383.2 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009818/0.608, allocations: 2.201 MB / 385.4 MB, free: 11.3 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00116/0.6092, allocations: 313.2 kB / 385.7 MB, free: 11.3 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002195/0.6094, allocations: 39.75 kB / 385.7 MB, free: 11.3 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02676/0.6362, allocations: 5.931 MB / 391.7 MB, free: 11.3 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005102/0.6368, allocations: 114.9 kB / 391.8 MB, free: 11.3 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008897/0.6377, allocations: 227.8 kB / 392 MB, free: 11.3 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01587/0.6536, allocations: 3.772 MB / 395.8 MB, free: 11.24 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.064e-05/0.6537, allocations: 0 / 395.8 MB, free: 11.24 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.867e-06/0.6537, allocations: 0 / 395.8 MB, free: 11.24 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.676e-05/0.6538, allocations: 3.094 kB / 395.8 MB, free: 11.24 MB / 318.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.005617/0.6594, allocations: 1.019 MB / 396.8 MB, free: 10.62 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/0.6595, allocations: 9.875 kB / 396.8 MB, free: 10.62 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001097/0.6596, allocations: 74.83 kB / 396.9 MB, free: 10.58 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002327/0.662, allocations: 141.1 kB / 397 MB, free: 10.56 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006691/0.6627, allocations: 322.6 kB / 397.3 MB, free: 10.34 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.744e-05/0.6627, allocations: 31.28 kB / 397.4 MB, free: 10.34 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.004e-05/0.6628, allocations: 35.78 kB / 397.4 MB, free: 10.33 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002229/0.6651, allocations: 0.5478 MB / 397.9 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.829e-05/0.6651, allocations: 4.438 kB / 397.9 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.296e-05/0.6652, allocations: 16.97 kB / 398 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.995e-05/0.6652, allocations: 6.188 kB / 398 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002248/0.6675, allocations: 0.4993 MB / 398.5 MB, free: 10.1 MB / 318.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.004196/0.6717, allocations: 2.614 MB / 401.1 MB, free: 7.883 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00231/0.674, allocations: 437.5 kB / 401.5 MB, free: 7.77 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006542/0.6747, allocations: 168.3 kB / 401.7 MB, free: 7.738 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001117/0.6758, allocations: 0.5621 MB / 402.2 MB, free: 7.207 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/0.6759, allocations: 33.78 kB / 402.3 MB, free: 7.168 MB / 318.1 MB Notification: Performance of pre-optimization done (n=30): time 4.198e-06/0.6759, allocations: 0 / 402.3 MB, free: 7.168 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.007693/0.6836, allocations: 1.518 MB / 403.8 MB, free: 6.496 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.6837, allocations: 53.94 kB / 403.8 MB, free: 6.434 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003607/0.6841, allocations: 247.9 kB / 404.1 MB, free: 6.305 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.233e-05/0.6841, allocations: 32.36 kB / 404.1 MB, free: 6.273 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.6843, allocations: 182.8 kB / 404.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.6844, allocations: 121.7 kB / 404.4 MB, free: 6.051 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001868/0.6846, allocations: 78.12 kB / 404.5 MB, free: 6.023 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.627e-05/0.6847, allocations: 337.2 kB / 404.8 MB, free: 5.703 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005768/0.6853, allocations: 143.1 kB / 405 MB, free: 5.676 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006275/0.6859, allocations: 237.5 kB / 405.2 MB, free: 5.539 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001329/0.6873, allocations: 393.6 kB / 405.6 MB, free: 5.395 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.6873, allocations: 0 / 405.6 MB, free: 5.395 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.002294/0.6896, allocations: 0.506 MB / 406.1 MB, free: 5.25 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.407e-05/0.6896, allocations: 7.656 kB / 406.1 MB, free: 5.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.6897, allocations: 6.875 kB / 406.1 MB, free: 5.246 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008186/0.6905, allocations: 111.4 kB / 406.2 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005643/0.6911, allocations: 85.45 kB / 406.3 MB, free: 5.188 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002285/0.6934, allocations: 2.511 MB / 408.8 MB, free: 2.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005874/0.694, allocations: 29.22 kB / 408.8 MB, free: 2.742 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.792e-05/0.6941, allocations: 16.41 kB / 408.8 MB, free: 2.742 MB / 318.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.0003146/0.6944, allocations: 163.1 kB / 409 MB, free: 2.621 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/0.6945, allocations: 30.75 kB / 409 MB, free: 2.609 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003026/0.6976, allocations: 1.333 MB / 410.4 MB, free: 2.289 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.872e-05/0.6976, allocations: 22.5 kB / 410.4 MB, free: 2.277 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.6977, allocations: 2.875 kB / 410.4 MB, free: 2.277 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002471/0.7001, allocations: 1.419 MB / 411.8 MB, free: 1.648 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004003/0.7042, allocations: 2.106 MB / 413.9 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.779e-06/0.7042, allocations: 2.812 kB / 413.9 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006221/0.7048, allocations: 88.36 kB / 414 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005009/0.7054, allocations: 72.86 kB / 414.1 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.718e-05/0.7054, allocations: 11.19 kB / 414.1 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005376/0.706, allocations: 0.5898 MB / 414.7 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.706, allocations: 1.094 kB / 414.7 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002908/0.7089, allocations: 1.276 MB / 416 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002673/0.7092, allocations: 132.5 kB / 416.1 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.89e-05/0.7093, allocations: 14.59 kB / 416.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004415/0.7098, allocations: 25.78 kB / 416.1 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.7099, allocations: 33.05 kB / 416.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-05/0.71, allocations: 13.36 kB / 416.2 MB, free: 14.87 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004193/0.7104, allocations: 234.2 kB / 416.4 MB, free: 14.72 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.7104, allocations: 7.656 kB / 416.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.005732/0.7161, allocations: 0.853 MB / 417.3 MB, free: 14.18 MB / 334.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.01661/0.7328, allocations: 2.697 MB / 420 MB, free: 11.54 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003344/0.7362, allocations: 0.6684 MB / 420.6 MB, free: 10.87 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/0.7363, allocations: 0 / 420.6 MB, free: 10.87 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001449/0.7377, allocations: 411.2 kB / 421 MB, free: 10.48 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002244/0.74, allocations: 202.4 kB / 421.2 MB, free: 10.29 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01651/0.7565, allocations: 4.595 MB / 425.8 MB, free: 5.57 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009477/0.7576, allocations: 0.8688 MB / 426.7 MB, free: 4.676 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0008903/0.7585, allocations: 147.1 kB / 426.8 MB, free: 4.535 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004491/0.759, allocations: 191.4 kB / 427 MB, free: 4.348 MB / 334.1 MB Notification: Performance of SimCode: time 1.773e-06/0.759, allocations: 0 / 427 MB, free: 4.348 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1974/0.9564, allocations: 41.37 MB / 468.4 MB, free: 10.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 21.15/22.1, allocations: 0.625 kB / 468.4 MB, free: 10.93 MB / 382.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