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.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_pT,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT",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.002195/0.002195, allocations: 110.5 kB / 17.73 MB, free: 5.316 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.002396/0.002396, allocations: 187 kB / 18.66 MB, free: 4.391 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.387/1.387, allocations: 205.1 MB / 224.5 MB, free: 12.22 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.001571/0.001571, allocations: 51.92 kB / 328.1 MB, free: 3.762 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09602/0.0976, allocations: 46.62 MB / 374.7 MB, free: 5.035 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.2052/0.3029, allocations: 32.57 MB / 407.3 MB, free: 8.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02012/0.3231, allocations: 15.74 MB / 423 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005676/0.3237, allocations: 4.156 kB / 423 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001196/0.3249, allocations: 274.6 kB / 423.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001008/0.3259, allocations: 350 kB / 423.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01999/0.346, allocations: 5.796 MB / 429.4 MB, free: 7.742 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001405/0.3474, allocations: 0.9767 MB / 430.4 MB, free: 7.188 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000211/0.3476, allocations: 101.4 kB / 430.5 MB, free: 7.133 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005461/0.3531, allocations: 2.187 MB / 432.7 MB, free: 5.762 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004481/0.3535, allocations: 301 kB / 433 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.309e-05/0.3536, allocations: 35.84 kB / 433 MB, free: 5.574 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007394/0.361, allocations: 3.609 MB / 436.6 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001895/0.3612, allocations: 107.6 kB / 436.7 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003952/0.3616, allocations: 219.1 kB / 436.9 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00456/0.3662, allocations: 2.362 MB / 439.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3662, allocations: 0 / 439.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3663, allocations: 0 / 439.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.3663, allocations: 0 / 439.3 MB, free: 15.27 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.001638/0.3679, allocations: 0.8328 MB / 440.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.368, allocations: 8.031 kB / 440.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.64e-05/0.3681, allocations: 70.72 kB / 440.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007124/0.3688, allocations: 88.64 kB / 440.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004271/0.3692, allocations: 307.8 kB / 440.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/0.3693, allocations: 25.03 kB / 440.6 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.571e-05/0.3693, allocations: 32.38 kB / 440.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008548/0.3702, allocations: 458.9 kB / 441.1 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.3702, allocations: 0 / 441.1 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.689e-05/0.3702, allocations: 16 kB / 441.1 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.3703, allocations: 8 kB / 441.1 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006484/0.3709, allocations: 317.8 kB / 441.4 MB, free: 12.99 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.003065/0.374, allocations: 2.63 MB / 444.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005763/0.3746, allocations: 249.4 kB / 444.3 MB, free: 9.867 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.3748, allocations: 108.8 kB / 444.4 MB, free: 9.758 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03385/0.4086, allocations: 15.55 MB / 460 MB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.1e-05/0.4087, allocations: 38.56 kB / 460 MB, free: 8.359 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 2.154e-06/0.4087, allocations: 0 / 460 MB, free: 8.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.004612/0.4134, allocations: 1.3 MB / 461.3 MB, free: 6.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.4134, allocations: 59.41 kB / 461.3 MB, free: 6.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003487/0.4138, allocations: 274.5 kB / 461.6 MB, free: 6.637 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.249e-05/0.4138, allocations: 29.7 kB / 461.6 MB, free: 6.602 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.414, allocations: 204.3 kB / 461.8 MB, free: 6.398 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.4141, allocations: 107.1 kB / 461.9 MB, free: 6.293 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.4142, allocations: 78.08 kB / 462 MB, free: 6.211 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.4144, allocations: 338.8 kB / 462.4 MB, free: 5.871 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.4146, allocations: 104.8 kB / 462.5 MB, free: 5.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002915/0.4149, allocations: 214.9 kB / 462.7 MB, free: 5.504 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005214/0.4155, allocations: 358.3 kB / 463 MB, free: 5.102 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.4155, allocations: 5.5 kB / 463 MB, free: 5.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008588/0.4163, allocations: 443.1 kB / 463.5 MB, free: 4.652 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.4164, allocations: 8 kB / 463.5 MB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.4164, allocations: 4 kB / 463.5 MB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003058/0.4194, allocations: 261.4 kB / 463.7 MB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003067/0.4198, allocations: 79.84 kB / 463.8 MB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00192/0.4217, allocations: 1.983 MB / 465.8 MB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/0.4219, allocations: 12 kB / 465.8 MB, free: 2.137 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.488e-05/0.422, allocations: 16 kB / 465.8 MB, free: 2.121 MB / 382.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.0002621/0.4223, allocations: 177.5 kB / 466 MB, free: 1.938 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.978e-05/0.4223, allocations: 31.81 kB / 466 MB, free: 1.906 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001263/0.4236, allocations: 0.9408 MB / 467 MB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.4236, allocations: 7.984 kB / 467 MB, free: 0.957 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.4237, allocations: 0 / 467 MB, free: 0.957 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001189/0.4248, allocations: 1.122 MB / 468.1 MB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001996/0.4269, allocations: 1.592 MB / 469.7 MB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.4269, allocations: 0 / 469.7 MB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002125/0.4271, allocations: 56.66 kB / 469.7 MB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001613/0.4287, allocations: 284 kB / 470 MB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/0.4287, allocations: 8 kB / 470 MB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006197/0.4294, allocations: 0.6694 MB / 470.7 MB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.4294, allocations: 0.75 kB / 470.7 MB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/0.4309, allocations: 0.9656 MB / 471.7 MB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.431, allocations: 108.8 kB / 471.8 MB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.274e-05/0.4311, allocations: 11.95 kB / 471.8 MB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/0.4313, allocations: 8 kB / 471.8 MB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.351e-05/0.4313, allocations: 19.97 kB / 471.8 MB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.345e-05/0.4314, allocations: 15.98 kB / 471.8 MB, free: 11.87 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002819/0.4317, allocations: 235.1 kB / 472 MB, free: 11.64 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4317, allocations: 0 / 472 MB, free: 11.64 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001525/0.4332, allocations: 0.4995 MB / 472.5 MB, free: 11.14 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.003357/0.4366, allocations: 1.912 MB / 474.5 MB, free: 9.191 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00095/0.4375, allocations: 0.5278 MB / 475 MB, free: 8.652 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4375, allocations: 0 / 475 MB, free: 8.652 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004718/0.438, allocations: 300.7 kB / 475.3 MB, free: 8.359 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.4391, allocations: 196.6 kB / 475.5 MB, free: 8.168 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00568/0.4447, allocations: 3.961 MB / 479.4 MB, free: 4.016 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004654/0.4452, allocations: 0.8206 MB / 480.3 MB, free: 3.172 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003316/0.4456, allocations: 111.2 kB / 480.4 MB, free: 3.059 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001914/0.4458, allocations: 147.4 kB / 480.5 MB, free: 2.914 MB / 398.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4458, allocations: 4 kB / 480.5 MB, free: 2.91 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05981/0.5056, allocations: 23.28 MB / 0.492 GB, free: 11.55 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/12.99, allocations: 11.84 kB / 0.492 GB, free: 11.54 MB / 430.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_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_pT.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_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_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) Reference file matches