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.00169/0.00169, allocations: 113.2 kB / 17.73 MB, free: 5.336 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.001444/0.001444, allocations: 188.2 kB / 18.67 MB, free: 4.406 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.419/1.419, 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.001664/0.001664, allocations: 56.14 kB / 328.1 MB, free: 3.766 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08795/0.08962, 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.WaterIF97OnePhase_ph): time 0.21/0.2997, allocations: 32.57 MB / 407.3 MB, free: 8.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01967/0.3194, allocations: 15.73 MB / 423 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003568/0.3198, allocations: 3.531 kB / 423 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008295/0.3207, allocations: 272.4 kB / 423.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007752/0.3215, allocations: 356.7 kB / 423.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01672/0.3382, allocations: 5.789 MB / 429.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001461/0.3397, allocations: 1.012 MB / 430.4 MB, free: 7.168 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002278/0.3399, allocations: 99.48 kB / 430.5 MB, free: 7.117 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005371/0.3453, allocations: 2.199 MB / 432.7 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004579/0.3458, allocations: 310.9 kB / 433 MB, free: 5.555 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.005e-05/0.3459, allocations: 40 kB / 433.1 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01277/0.3586, allocations: 6.076 MB / 439.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002503/0.3589, allocations: 111.7 kB / 439.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004784/0.3594, allocations: 227.2 kB / 439.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008947/0.3684, allocations: 3.796 MB / 443.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3684, allocations: 0 / 443.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3684, allocations: 0 / 443.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.744e-06/0.3685, allocations: 0 / 443.3 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.002166/0.3706, allocations: 1.026 MB / 444.3 MB, free: 10.22 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.3707, allocations: 8.031 kB / 444.3 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.674e-05/0.3708, allocations: 70.72 kB / 444.4 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001248/0.372, allocations: 148.6 kB / 444.5 MB, free: 9.988 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004551/0.3725, allocations: 335.7 kB / 444.8 MB, free: 9.621 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/0.3725, allocations: 25.03 kB / 444.9 MB, free: 9.598 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.244e-05/0.3726, allocations: 32.38 kB / 444.9 MB, free: 9.566 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.3739, allocations: 0.515 MB / 445.4 MB, free: 9.012 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.3739, allocations: 3.984 kB / 445.4 MB, free: 9.008 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.521e-05/0.374, allocations: 16 kB / 445.4 MB, free: 8.992 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.958e-05/0.374, allocations: 8 kB / 445.4 MB, free: 8.984 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006576/0.3747, allocations: 329.9 kB / 445.8 MB, free: 8.664 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.003245/0.3779, allocations: 2.55 MB / 448.3 MB, free: 5.852 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006129/0.3786, allocations: 274.8 kB / 448.6 MB, free: 5.574 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.3788, allocations: 113.8 kB / 448.7 MB, free: 5.461 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06638/0.4451, allocations: 31.04 MB / 479.7 MB, free: 2.879 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.059e-05/0.4452, allocations: 39.44 kB / 479.8 MB, free: 2.832 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.873e-06/0.4452, allocations: 0 / 479.8 MB, free: 2.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.003409/0.4487, allocations: 1.198 MB / 481 MB, free: 1.559 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.4487, allocations: 55.41 kB / 481 MB, free: 1.492 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002986/0.449, allocations: 258.6 kB / 481.3 MB, free: 1.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.652e-05/0.4491, allocations: 41.64 kB / 481.3 MB, free: 1.184 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.4492, allocations: 192.4 kB / 481.5 MB, free: 0.9922 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.74e-05/0.4493, allocations: 119 kB / 481.6 MB, free: 0.875 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.4494, allocations: 74.14 kB / 481.7 MB, free: 0.7969 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.4496, allocations: 342.7 kB / 482 MB, free: 464 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.4498, allocations: 88.84 kB / 482.1 MB, free: 376 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002601/0.45, allocations: 214.9 kB / 482.3 MB, free: 104 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004938/0.4505, allocations: 342.3 kB / 482.7 MB, free: 15.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4506, allocations: 0 / 482.7 MB, free: 15.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007477/0.4513, allocations: 418.8 kB / 483.1 MB, free: 15.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.4513, allocations: 8.5 kB / 483.1 MB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.4514, allocations: 8 kB / 483.1 MB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002701/0.4516, allocations: 57.69 kB / 483.1 MB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003702/0.452, allocations: 91.83 kB / 483.2 MB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001984/0.454, allocations: 2.525 MB / 485.8 MB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001861/0.4542, allocations: 12 kB / 485.8 MB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.4543, allocations: 22.36 kB / 485.8 MB, free: 12.38 MB / 414.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.0002043/0.4545, allocations: 161.7 kB / 485.9 MB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.018e-05/0.4546, allocations: 31.81 kB / 486 MB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/0.4557, allocations: 0.8696 MB / 486.8 MB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/0.4557, allocations: 11.92 kB / 486.9 MB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.4557, allocations: 3.984 kB / 486.9 MB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001027/0.4568, allocations: 1.04 MB / 487.9 MB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001809/0.4586, allocations: 1.497 MB / 489.4 MB, free: 8.586 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.4586, allocations: 0 / 489.4 MB, free: 8.586 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/0.4588, allocations: 47.92 kB / 489.4 MB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003092/0.4591, allocations: 76.78 kB / 489.5 MB, free: 8.461 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.4592, allocations: 8 kB / 489.5 MB, free: 8.453 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004301/0.4596, allocations: 0.5953 MB / 490.1 MB, free: 7.832 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.4596, allocations: 0 / 490.1 MB, free: 7.832 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.4607, allocations: 0.825 MB / 490.9 MB, free: 6.984 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.921e-05/0.4608, allocations: 112.8 kB / 491.1 MB, free: 6.855 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.208e-05/0.4608, allocations: 16.83 kB / 491.1 MB, free: 6.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002914/0.4611, allocations: 23.97 kB / 491.1 MB, free: 6.816 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.4612, allocations: 15.97 kB / 491.1 MB, free: 6.801 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.951e-05/0.4612, allocations: 12 kB / 491.1 MB, free: 6.789 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002643/0.4615, allocations: 247 kB / 491.4 MB, free: 6.543 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4615, allocations: 0 / 491.4 MB, free: 6.543 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002206/0.4637, allocations: 0.8657 MB / 492.2 MB, free: 5.676 MB / 414.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.004936/0.4687, allocations: 2.241 MB / 494.5 MB, free: 3.402 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009839/0.4697, allocations: 484.7 kB / 494.9 MB, free: 2.922 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.4697, allocations: 4 kB / 494.9 MB, free: 2.918 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003782/0.4701, allocations: 248.3 kB / 495.2 MB, free: 2.672 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.4711, allocations: 196.2 kB / 495.4 MB, free: 2.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006125/0.4773, allocations: 3.99 MB / 499.4 MB, free: 14.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005012/0.4778, allocations: 0.821 MB / 0.4885 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004297/0.4782, allocations: 186.9 kB / 0.4886 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001922/0.4784, allocations: 143.4 kB / 0.4888 GB, free: 13.13 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4784, allocations: 0 / 0.4888 GB, free: 13.13 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07993/0.5584, allocations: 39.63 MB / 0.5275 GB, free: 5.391 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.81/14.37, allocations: 23.81 kB / 0.5275 GB, free: 5.367 MB / 462.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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