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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007976/0.0007976, allocations: 100.9 kB / 17.31 MB, free: 6.344 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.0008995/0.0008996, allocations: 177.5 kB / 18.2 MB, free: 5.531 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.486/1.486, allocations: 205.4 MB / 224.4 MB, free: 13.06 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.0004863/0.0004864, allocations: 8 kB / 281.5 MB, free: 3.305 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1029, allocations: 47.58 MB / 329.1 MB, free: 3.652 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03248/0.1354, allocations: 32.51 MB / 361.6 MB, free: 3.023 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02057/0.156, allocations: 16.41 MB / 378 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005029/0.1566, allocations: 4 kB / 378 MB, free: 2.562 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008527/0.1575, allocations: 234.8 kB / 378.2 MB, free: 2.332 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007822/0.1583, allocations: 350.2 kB / 378.6 MB, free: 1.988 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.229/0.3873, allocations: 4.664 MB / 383.2 MB, free: 11.49 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00229/0.3896, allocations: 1.455 MB / 384.7 MB, free: 11.49 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002742/0.3899, allocations: 81.81 kB / 384.8 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005528/0.3954, allocations: 2.127 MB / 386.9 MB, free: 11.04 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005143/0.396, allocations: 304 kB / 387.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.007e-05/0.396, allocations: 19.94 kB / 387.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.013/0.409, allocations: 6.003 MB / 393.2 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002154/0.4093, allocations: 90.72 kB / 393.3 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005033/0.4098, allocations: 233.4 kB / 393.5 MB, free: 10.99 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009561/0.4194, allocations: 3.767 MB / 397.3 MB, free: 10.33 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.4194, allocations: 3.719 kB / 397.3 MB, free: 10.33 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4194, allocations: 0 / 397.3 MB, free: 10.33 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.4194, allocations: 0 / 397.3 MB, free: 10.33 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.002992/0.4224, allocations: 0.904 MB / 398.2 MB, free: 9.668 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.4225, allocations: 10.03 kB / 398.2 MB, free: 9.668 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.745e-05/0.4226, allocations: 72.69 kB / 398.3 MB, free: 9.617 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001287/0.4238, allocations: 163.5 kB / 398.4 MB, free: 9.562 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003141/0.4242, allocations: 317.7 kB / 398.7 MB, free: 9.309 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.4242, allocations: 33.61 kB / 398.8 MB, free: 9.301 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.764e-05/0.4243, allocations: 33.22 kB / 398.8 MB, free: 9.301 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.4254, allocations: 0.5281 MB / 399.3 MB, free: 9.082 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.4254, allocations: 3.188 kB / 399.3 MB, free: 9.082 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.968e-05/0.4254, allocations: 15.91 kB / 399.4 MB, free: 9.082 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.4254, allocations: 7.75 kB / 399.4 MB, free: 9.082 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000561/0.426, allocations: 328.4 kB / 399.7 MB, free: 9.02 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.002311/0.4283, allocations: 2.569 MB / 402.3 MB, free: 6.812 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005299/0.4289, allocations: 271.5 kB / 402.5 MB, free: 6.754 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/0.4291, allocations: 110.3 kB / 402.6 MB, free: 6.738 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06045/0.4895, allocations: 31.2 MB / 433.8 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.789e-05/0.4896, allocations: 38.31 kB / 433.9 MB, free: 9.641 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.284e-06/0.4896, allocations: 4 kB / 433.9 MB, free: 9.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.003374/0.493, allocations: 1.217 MB / 435.1 MB, free: 8.598 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/0.493, allocations: 55.41 kB / 435.1 MB, free: 8.531 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003436/0.4934, allocations: 260.8 kB / 435.4 MB, free: 8.312 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.99e-05/0.4934, allocations: 33.64 kB / 435.4 MB, free: 8.277 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.4936, allocations: 189.5 kB / 435.6 MB, free: 8.121 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.4937, allocations: 105.9 kB / 435.7 MB, free: 8.031 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-05/0.4938, allocations: 39.77 kB / 435.8 MB, free: 8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.494, allocations: 345.6 kB / 436.1 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.4942, allocations: 95.91 kB / 436.2 MB, free: 7.602 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002491/0.4944, allocations: 207.6 kB / 436.4 MB, free: 7.391 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004356/0.4949, allocations: 348.5 kB / 436.7 MB, free: 7.113 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.4949, allocations: 4 kB / 436.7 MB, free: 7.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007131/0.4956, allocations: 412.9 kB / 437.1 MB, free: 6.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.239e-05/0.4956, allocations: 4 kB / 437.1 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.4957, allocations: 4 kB / 437.2 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003013/0.496, allocations: 65.3 kB / 437.2 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003539/0.4963, allocations: 86.12 kB / 437.3 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001674/0.498, allocations: 2.43 MB / 439.7 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002693/0.4983, allocations: 32.11 kB / 439.8 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.628e-05/0.4983, allocations: 22.33 kB / 439.8 MB, free: 4.125 MB / 350.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.000196/0.4985, allocations: 167.2 kB / 439.9 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.921e-05/0.4986, allocations: 39.12 kB / 440 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009676/0.4996, allocations: 0.8637 MB / 440.8 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.4996, allocations: 7.875 kB / 440.9 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4996, allocations: 3.984 kB / 440.9 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008507/0.5005, allocations: 1.035 MB / 441.9 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001693/0.5022, allocations: 1.494 MB / 443.4 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.315e-06/0.5022, allocations: 4 kB / 443.4 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002149/0.5024, allocations: 53.48 kB / 443.4 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003623/0.5028, allocations: 79.03 kB / 443.5 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.5028, allocations: 14.94 kB / 443.5 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004087/0.5032, allocations: 0.5888 MB / 444.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.5033, allocations: 0 / 444.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000969/0.5042, allocations: 0.8291 MB / 445 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.5044, allocations: 136.1 kB / 445.1 MB, free: 0 / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.183e-05/0.5044, allocations: 3.375 kB / 445.1 MB, free: 0 / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003688/0.5048, allocations: 43.91 kB / 445.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.856e-05/0.5049, allocations: 21.97 kB / 445.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.124e-05/0.5049, allocations: 18.23 kB / 445.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002915/0.5052, allocations: 234.2 kB / 445.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.054e-06/0.5052, allocations: 0 / 445.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004297/0.5095, allocations: 0.8577 MB / 446.3 MB, free: 14.93 MB / 366.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.006247/0.5158, allocations: 2.23 MB / 448.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000917/0.5167, allocations: 487.7 kB / 449 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.5167, allocations: 0 / 449 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003414/0.5171, allocations: 251.3 kB / 449.2 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.5182, allocations: 183.6 kB / 449.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006266/0.5245, allocations: 4.243 MB / 453.6 MB, free: 8.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.5248, allocations: 0.8211 MB / 454.5 MB, free: 7.223 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004164/0.5253, allocations: 183.8 kB / 454.6 MB, free: 7.055 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.5255, allocations: 151.2 kB / 454.8 MB, free: 6.914 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.5255, allocations: 2.516 kB / 454.8 MB, free: 6.914 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06361/0.5891, allocations: 38.94 MB / 493.7 MB, free: 12 kB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002479/0.5894, allocations: 272.2 kB / 494 MB, free: 15.72 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.787/4.376, allocations: 0 / 494 MB, free: 15.72 MB / 414.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97OnePhase_ph_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_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/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches