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.001191/0.001191, allocations: 109.5 kB / 17.73 MB, free: 5.363 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.001181/0.001181, allocations: 188.1 kB / 18.66 MB, free: 4.441 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.262/1.262, allocations: 205.1 MB / 224.5 MB, free: 12.29 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.001227/0.001227, allocations: 52.58 kB / 328.1 MB, free: 3.77 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09475/0.09599, allocations: 46.62 MB / 374.7 MB, free: 5.031 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.2183/0.3143, allocations: 32.57 MB / 407.3 MB, free: 8.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01691/0.3313, allocations: 15.73 MB / 423 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003505/0.3317, allocations: 7.875 kB / 423 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007782/0.3325, allocations: 264.7 kB / 423.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007187/0.3332, allocations: 356.6 kB / 423.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01668/0.3499, allocations: 5.792 MB / 429.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001193/0.3511, allocations: 0.9812 MB / 430.4 MB, free: 7.191 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002061/0.3513, allocations: 120.2 kB / 430.5 MB, free: 7.121 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004902/0.3562, allocations: 2.203 MB / 432.7 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003913/0.3566, allocations: 318.1 kB / 433 MB, free: 5.547 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.29e-05/0.3567, allocations: 40 kB / 433 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01089/0.3676, allocations: 6.068 MB / 439.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001611/0.3678, allocations: 107.7 kB / 439.2 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003423/0.3682, allocations: 227.1 kB / 439.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006743/0.3749, allocations: 3.774 MB / 443.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.3749, allocations: 0 / 443.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3749, allocations: 0 / 443.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.3749, allocations: 0 / 443.2 MB, free: 11.32 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.001961/0.3769, allocations: 1.018 MB / 444.2 MB, free: 10.26 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.377, allocations: 8.031 kB / 444.2 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.212e-05/0.377, allocations: 70.72 kB / 444.3 MB, free: 10.17 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/0.3783, allocations: 152.3 kB / 444.5 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004423/0.3787, allocations: 327.5 kB / 444.8 MB, free: 9.664 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.887e-05/0.3788, allocations: 33.03 kB / 444.8 MB, free: 9.633 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.654e-05/0.3788, allocations: 33.19 kB / 444.8 MB, free: 9.602 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.3803, allocations: 0.5541 MB / 445.4 MB, free: 9.008 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.3804, allocations: 4 kB / 445.4 MB, free: 9.004 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.683e-05/0.3804, allocations: 16 kB / 445.4 MB, free: 8.988 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.3804, allocations: 8 kB / 445.4 MB, free: 8.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/0.382, allocations: 0.4938 MB / 445.9 MB, free: 8.488 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.002859/0.3849, allocations: 2.617 MB / 448.5 MB, free: 5.613 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00148/0.3864, allocations: 438.3 kB / 449 MB, free: 5.176 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003765/0.3868, allocations: 165.6 kB / 449.1 MB, free: 5.012 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007515/0.3875, allocations: 0.5679 MB / 449.7 MB, free: 4.352 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.3876, allocations: 34.56 kB / 449.7 MB, free: 4.309 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 1.633e-06/0.3876, allocations: 0 / 449.7 MB, free: 4.309 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.00434/0.3919, allocations: 1.492 MB / 451.2 MB, free: 2.738 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.392, allocations: 63.34 kB / 451.3 MB, free: 2.664 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.3922, allocations: 252.9 kB / 451.5 MB, free: 2.406 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.95e-05/0.3923, allocations: 29.7 kB / 451.6 MB, free: 2.371 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.3924, allocations: 180.2 kB / 451.7 MB, free: 2.191 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.642e-05/0.3924, allocations: 122.2 kB / 451.9 MB, free: 2.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.3926, allocations: 78.12 kB / 451.9 MB, free: 1.988 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.3927, allocations: 334.8 kB / 452.3 MB, free: 1.652 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003626/0.393, allocations: 144.8 kB / 452.4 MB, free: 1.512 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004092/0.3935, allocations: 235.4 kB / 452.6 MB, free: 1.238 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00078/0.3943, allocations: 397.8 kB / 453 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3943, allocations: 0 / 453 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00114/0.3954, allocations: 0.5072 MB / 453.5 MB, free: 296 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3954, allocations: 12.27 kB / 453.5 MB, free: 284 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.3955, allocations: 11.94 kB / 453.5 MB, free: 272 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000474/0.3959, allocations: 94.52 kB / 453.6 MB, free: 168 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003414/0.3963, allocations: 91.88 kB / 453.7 MB, free: 76 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001797/0.3981, allocations: 2.503 MB / 456.2 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002874/0.3984, allocations: 28.19 kB / 456.3 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.087e-05/0.3984, allocations: 21 kB / 456.3 MB, free: 13.34 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.000198/0.3986, allocations: 173.6 kB / 456.5 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.173e-05/0.3987, allocations: 27.72 kB / 456.5 MB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001694/0.4004, allocations: 1.309 MB / 457.8 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.789e-05/0.4004, allocations: 23.97 kB / 457.8 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.4005, allocations: 0 / 457.8 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001494/0.402, allocations: 1.428 MB / 459.2 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00232/0.4043, allocations: 2.101 MB / 461.3 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.4043, allocations: 4 kB / 461.3 MB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003709/0.4047, allocations: 91.86 kB / 461.4 MB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002986/0.405, allocations: 68.78 kB / 461.5 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.405, allocations: 12 kB / 461.5 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000325/0.4054, allocations: 0.5913 MB / 462.1 MB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.4054, allocations: 3.938 kB / 462.1 MB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001622/0.407, allocations: 1.276 MB / 463.4 MB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.95e-05/0.4071, allocations: 136.3 kB / 463.5 MB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.183e-05/0.4072, allocations: 15.84 kB / 463.5 MB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002469/0.4074, allocations: 24.05 kB / 463.6 MB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.299e-05/0.4075, allocations: 35.94 kB / 463.6 MB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/0.4075, allocations: 12 kB / 463.6 MB, free: 5.758 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002108/0.4077, allocations: 235 kB / 463.8 MB, free: 5.523 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4077, allocations: 0 / 463.8 MB, free: 5.523 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002056/0.4098, allocations: 0.8551 MB / 464.7 MB, free: 4.668 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.004755/0.4146, allocations: 2.695 MB / 467.4 MB, free: 1.945 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001206/0.4158, allocations: 0.6431 MB / 468 MB, free: 1.285 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.4158, allocations: 4 kB / 468 MB, free: 1.281 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005931/0.4164, allocations: 416.6 kB / 468.4 MB, free: 0.875 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009718/0.4174, allocations: 193.7 kB / 468.6 MB, free: 0.6875 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006411/0.4238, allocations: 4.556 MB / 473.2 MB, free: 11.96 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/0.4242, allocations: 0.8804 MB / 474.1 MB, free: 11.06 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003194/0.4245, allocations: 147.7 kB / 474.2 MB, free: 10.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002106/0.4248, allocations: 191.4 kB / 474.4 MB, free: 10.73 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4248, allocations: 4 kB / 474.4 MB, free: 10.72 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07749/0.5023, allocations: 41.66 MB / 0.504 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.25/13.75, allocations: 8 kB / 0.504 GB, free: 0.9375 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.mat","/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