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.001057/0.001057, allocations: 104.7 kB / 17.15 MB, free: 6.305 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.001202/0.001202, allocations: 198 kB / 18.07 MB, free: 5.41 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.233/1.233, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.00101/0.00101, allocations: 55.91 kB / 280.1 MB, free: 3.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06825/0.06927, allocations: 46.62 MB / 326.7 MB, free: 4.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.02952/0.09882, allocations: 33.25 MB / 360 MB, free: 3.395 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01656/0.1154, allocations: 16.68 MB / 376.6 MB, free: 2.672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002388/0.1157, allocations: 4 kB / 376.6 MB, free: 2.668 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006552/0.1164, allocations: 230.8 kB / 376.9 MB, free: 2.441 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000545/0.1169, allocations: 358.2 kB / 377.2 MB, free: 2.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1431/0.2601, allocations: 4.675 MB / 381.9 MB, free: 11.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001472/0.2616, allocations: 1.455 MB / 383.3 MB, free: 11.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.2617, allocations: 79.28 kB / 383.4 MB, free: 11.59 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004454/0.2662, allocations: 2.129 MB / 385.5 MB, free: 11.15 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003779/0.2666, allocations: 318.7 kB / 385.9 MB, free: 11.15 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.041e-05/0.2667, allocations: 21.31 kB / 385.9 MB, free: 11.15 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009098/0.2758, allocations: 5.999 MB / 391.9 MB, free: 11.13 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001626/0.276, allocations: 91.17 kB / 392 MB, free: 11.13 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004061/0.2764, allocations: 212.7 kB / 392.2 MB, free: 11.13 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005751/0.2821, allocations: 3.791 MB / 396 MB, free: 10.82 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.2821, allocations: 6.125 kB / 396 MB, free: 10.82 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.2822, allocations: 0 / 396 MB, free: 10.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.2822, allocations: 0 / 396 MB, free: 10.82 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.001803/0.284, allocations: 0.9927 MB / 397 MB, free: 10.13 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.284, allocations: 10.12 kB / 397 MB, free: 10.13 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.931e-05/0.2841, allocations: 68.97 kB / 397 MB, free: 10.09 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/0.2852, allocations: 155 kB / 397.2 MB, free: 10.03 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000294/0.2855, allocations: 316.9 kB / 397.5 MB, free: 9.777 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.2855, allocations: 24 kB / 397.5 MB, free: 9.777 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.298e-05/0.2856, allocations: 32.91 kB / 397.6 MB, free: 9.777 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.2866, allocations: 0.5139 MB / 398.1 MB, free: 9.559 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.2866, allocations: 0 / 398.1 MB, free: 9.559 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.666e-05/0.2867, allocations: 15.78 kB / 398.1 MB, free: 9.559 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.2867, allocations: 7.438 kB / 398.1 MB, free: 9.559 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005075/0.2872, allocations: 332.5 kB / 398.4 MB, free: 9.496 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.002006/0.2892, allocations: 2.549 MB / 401 MB, free: 7.297 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004735/0.2897, allocations: 267.5 kB / 401.2 MB, free: 7.242 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.2899, allocations: 117.4 kB / 401.3 MB, free: 7.227 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05333/0.3432, allocations: 30.9 MB / 432.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.3433, allocations: 36.75 kB / 432.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.443e-06/0.3433, allocations: 0 / 432.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.003126/0.3464, allocations: 1.2 MB / 433.5 MB, free: 9.211 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.3464, allocations: 55.41 kB / 433.5 MB, free: 9.145 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.3467, allocations: 259.5 kB / 433.8 MB, free: 8.926 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.3467, allocations: 38.77 kB / 433.8 MB, free: 8.887 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.3468, allocations: 191 kB / 434 MB, free: 8.727 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.305e-05/0.3469, allocations: 103.7 kB / 434.1 MB, free: 8.645 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.581e-05/0.347, allocations: 84.16 kB / 434.2 MB, free: 8.582 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.3471, allocations: 337.6 kB / 434.5 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.3473, allocations: 100.2 kB / 434.6 MB, free: 8.195 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.3475, allocations: 210.3 kB / 434.8 MB, free: 7.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000378/0.3479, allocations: 341.5 kB / 435.2 MB, free: 7.707 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.3479, allocations: 4 kB / 435.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006123/0.3485, allocations: 414.7 kB / 435.6 MB, free: 7.414 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.3485, allocations: 11.12 kB / 435.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.3485, allocations: 4.5 kB / 435.6 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002448/0.3488, allocations: 60.56 kB / 435.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003288/0.3491, allocations: 89.98 kB / 435.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001439/0.3506, allocations: 2.418 MB / 438.2 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.3508, allocations: 40.09 kB / 438.2 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.706e-05/0.3509, allocations: 18.12 kB / 438.2 MB, free: 4.723 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.0001616/0.351, allocations: 167.5 kB / 438.4 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.117e-05/0.3511, allocations: 27.72 kB / 438.4 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008889/0.352, allocations: 0.8726 MB / 439.3 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.573e-05/0.352, allocations: 11.42 kB / 439.3 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.352, allocations: 0 / 439.3 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007951/0.3528, allocations: 1.041 MB / 440.3 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0014/0.3542, allocations: 1.487 MB / 441.8 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3543, allocations: 0 / 441.8 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001989/0.3545, allocations: 48.86 kB / 441.9 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002823/0.3548, allocations: 73.91 kB / 441.9 MB, free: 1.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.3548, allocations: 12.88 kB / 441.9 MB, free: 1.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003106/0.3551, allocations: 0.5933 MB / 442.5 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.3551, allocations: 3.984 kB / 442.5 MB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008249/0.356, allocations: 0.8307 MB / 443.4 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.829e-05/0.356, allocations: 108.7 kB / 443.5 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.878e-05/0.3561, allocations: 15.34 kB / 443.5 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003158/0.3564, allocations: 31.78 kB / 443.5 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.3565, allocations: 26.97 kB / 443.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.724e-05/0.3565, allocations: 15.98 kB / 443.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002089/0.3567, allocations: 231.1 kB / 443.8 MB, free: 320 kB / 350.1 MB Notification: Performance of sort global known variables: time 6.41e-07/0.3567, allocations: 0 / 443.8 MB, free: 320 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.00282/0.3595, allocations: 0.8581 MB / 444.7 MB, free: 15.46 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.004124/0.3637, allocations: 2.243 MB / 446.9 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007235/0.3644, allocations: 479.1 kB / 447.4 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3644, allocations: 4 kB / 447.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003287/0.3648, allocations: 249 kB / 447.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009355/0.3657, allocations: 185.4 kB / 447.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004817/0.3705, allocations: 4.179 MB / 452 MB, free: 8.051 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.3709, allocations: 0.8211 MB / 452.8 MB, free: 7.207 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003522/0.3712, allocations: 184.8 kB / 453 MB, free: 7.035 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/0.3714, allocations: 143.4 kB / 453.1 MB, free: 6.895 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3714, allocations: 3.844 kB / 453.1 MB, free: 6.895 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.735/3.106, allocations: 39.07 MB / 492.2 MB, free: 15.84 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002435/3.106, allocations: 268.8 kB / 492.4 MB, free: 15.53 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.033/7.139, allocations: 3.938 kB / 492.5 MB, free: 15.53 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