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.001023/0.001023, allocations: 114.5 kB / 17.73 MB, free: 5.281 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.001149/0.001149, allocations: 187 kB / 18.66 MB, free: 4.355 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.208/1.208, allocations: 205.1 MB / 224.5 MB, free: 12.19 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.001208/0.001208, allocations: 56.14 kB / 328.1 MB, free: 3.746 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08205/0.08327, allocations: 46.62 MB / 374.7 MB, free: 5.012 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.2022/0.2855, allocations: 32.57 MB / 407.3 MB, free: 8.566 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01856/0.3042, allocations: 15.73 MB / 423 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005809/0.3048, allocations: 8 kB / 423 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000964/0.3058, allocations: 263.8 kB / 423.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009391/0.3068, allocations: 358.1 kB / 423.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01711/0.3239, allocations: 5.788 MB / 429.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001407/0.3253, allocations: 1.01 MB / 430.4 MB, free: 7.133 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002278/0.3256, allocations: 102.2 kB / 430.5 MB, free: 7.078 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005127/0.3307, allocations: 2.203 MB / 432.7 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005161/0.3312, allocations: 319.4 kB / 433 MB, free: 5.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.386e-05/0.3313, allocations: 40 kB / 433.1 MB, free: 5.461 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01092/0.3422, allocations: 6.072 MB / 439.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001519/0.3424, allocations: 115.6 kB / 439.2 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003287/0.3427, allocations: 227.2 kB / 439.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007319/0.3501, allocations: 3.789 MB / 443.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.3501, allocations: 0 / 443.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3501, allocations: 3.938 kB / 443.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.666e-05/0.3501, allocations: 0 / 443.3 MB, free: 11.25 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.002432/0.3526, allocations: 0.9871 MB / 444.2 MB, free: 10.21 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.3526, allocations: 16.03 kB / 444.3 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.36e-05/0.3527, allocations: 70.72 kB / 444.3 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001337/0.3541, allocations: 149.2 kB / 444.5 MB, free: 9.973 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005431/0.3546, allocations: 331.5 kB / 444.8 MB, free: 9.609 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.3547, allocations: 25.03 kB / 444.8 MB, free: 9.586 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.603e-05/0.3547, allocations: 36.38 kB / 444.9 MB, free: 9.551 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.356, allocations: 0.5151 MB / 445.4 MB, free: 8.996 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.356, allocations: 0 / 445.4 MB, free: 8.996 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.419e-05/0.3561, allocations: 12 kB / 445.4 MB, free: 8.984 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.3561, allocations: 8 kB / 445.4 MB, free: 8.977 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006216/0.3567, allocations: 329.8 kB / 445.7 MB, free: 8.656 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.002927/0.3597, allocations: 2.554 MB / 448.3 MB, free: 5.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005781/0.3603, allocations: 273 kB / 448.5 MB, free: 5.566 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.3604, allocations: 109.9 kB / 448.6 MB, free: 5.457 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06086/0.4213, allocations: 31.05 MB / 479.7 MB, free: 2.871 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.809e-05/0.4214, allocations: 42.55 kB / 479.7 MB, free: 2.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 2.023e-06/0.4214, allocations: 0 / 479.7 MB, free: 2.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.003574/0.425, allocations: 1.191 MB / 480.9 MB, free: 1.551 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.425, allocations: 55.41 kB / 481 MB, free: 1.484 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/0.4254, allocations: 254.6 kB / 481.2 MB, free: 1.227 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.387e-05/0.4254, allocations: 33.7 kB / 481.3 MB, free: 1.188 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.4256, allocations: 188 kB / 481.4 MB, free: 1 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.922e-05/0.4257, allocations: 114.4 kB / 481.6 MB, free: 0.8867 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.4258, allocations: 82.03 kB / 481.6 MB, free: 0.8008 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.4259, allocations: 338.8 kB / 482 MB, free: 472 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/0.4261, allocations: 92.83 kB / 482.1 MB, free: 380 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002499/0.4264, allocations: 218.9 kB / 482.3 MB, free: 104 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004676/0.4268, allocations: 342.4 kB / 482.6 MB, free: 15.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.4268, allocations: 0 / 482.6 MB, free: 15.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007255/0.4276, allocations: 414.7 kB / 483 MB, free: 15.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.4276, allocations: 8.938 kB / 483 MB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.4276, allocations: 4.875 kB / 483 MB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002735/0.4279, allocations: 58.09 kB / 483.1 MB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003774/0.4283, allocations: 91.89 kB / 483.2 MB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002055/0.4304, allocations: 2.527 MB / 485.7 MB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002669/0.4307, allocations: 8 kB / 485.7 MB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.513e-05/0.4307, allocations: 20 kB / 485.7 MB, free: 12.39 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.0003129/0.431, allocations: 169.8 kB / 485.9 MB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.4311, allocations: 31.62 kB / 485.9 MB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/0.4323, allocations: 0.8577 MB / 486.8 MB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.4323, allocations: 11.92 kB / 486.8 MB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.4323, allocations: 0 / 486.8 MB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009875/0.4333, allocations: 1.048 MB / 487.8 MB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001687/0.435, allocations: 1.493 MB / 489.3 MB, free: 8.602 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.435, allocations: 1.125 kB / 489.3 MB, free: 8.602 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002202/0.4353, allocations: 51.97 kB / 489.4 MB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003034/0.4356, allocations: 72.64 kB / 489.5 MB, free: 8.477 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.4356, allocations: 12 kB / 489.5 MB, free: 8.465 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003506/0.436, allocations: 0.5876 MB / 490.1 MB, free: 7.852 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.436, allocations: 3.984 kB / 490.1 MB, free: 7.848 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009208/0.4369, allocations: 0.8208 MB / 490.9 MB, free: 7.004 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.437, allocations: 124.7 kB / 491 MB, free: 6.863 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.128e-05/0.4371, allocations: 8 kB / 491 MB, free: 6.855 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002982/0.4374, allocations: 23.86 kB / 491 MB, free: 6.836 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.4374, allocations: 19.97 kB / 491.1 MB, free: 6.816 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.819e-05/0.4375, allocations: 15.98 kB / 491.1 MB, free: 6.801 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002316/0.4377, allocations: 235 kB / 491.3 MB, free: 6.566 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4377, allocations: 0 / 491.3 MB, free: 6.566 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002389/0.4401, allocations: 0.859 MB / 492.2 MB, free: 5.707 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.004929/0.445, allocations: 2.219 MB / 494.4 MB, free: 3.453 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008479/0.4459, allocations: 491.7 kB / 494.9 MB, free: 2.965 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.4459, allocations: 12.94 kB / 494.9 MB, free: 2.953 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003526/0.4463, allocations: 240.4 kB / 495.1 MB, free: 2.715 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009604/0.4473, allocations: 190.8 kB / 495.3 MB, free: 2.531 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005503/0.4528, allocations: 3.978 MB / 499.3 MB, free: 14.37 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.4531, allocations: 0.8211 MB / 0.4884 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003793/0.4535, allocations: 183 kB / 0.4885 GB, free: 13.34 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001905/0.4537, allocations: 147.4 kB / 0.4887 GB, free: 13.2 MB / 430.1 MB Notification: Performance of SimCode: time 5e-07/0.4537, allocations: 0 / 0.4887 GB, free: 13.2 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0714/0.5251, allocations: 39.8 MB / 0.5275 GB, free: 5.289 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/13.4, allocations: 15.78 kB / 0.5276 GB, free: 5.273 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