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.001981/0.001981, allocations: 111.7 kB / 17.73 MB, free: 5.312 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.002149/0.002149, allocations: 188.2 kB / 18.67 MB, free: 4.387 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.396/1.396, allocations: 205.1 MB / 224.5 MB, free: 12.22 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.001599/0.001599, allocations: 52.14 kB / 328.1 MB, free: 3.742 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08365/0.08526, allocations: 46.62 MB / 374.7 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.1945/0.2798, allocations: 32.57 MB / 407.3 MB, free: 8.566 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01953/0.2994, allocations: 15.73 MB / 423 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003406/0.2998, allocations: 3.125 kB / 423 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000853/0.3007, allocations: 271.9 kB / 423.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007303/0.3014, allocations: 358 kB / 423.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01653/0.318, allocations: 5.79 MB / 429.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001359/0.3193, allocations: 0.9886 MB / 430.4 MB, free: 7.152 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000209/0.3196, allocations: 115.1 kB / 430.5 MB, free: 7.086 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005337/0.3249, allocations: 2.191 MB / 432.7 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000462/0.3254, allocations: 320.8 kB / 433 MB, free: 5.531 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.279e-05/0.3255, allocations: 41.47 kB / 433 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01303/0.3385, allocations: 6.066 MB / 439.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002266/0.3388, allocations: 107.7 kB / 439.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004716/0.3393, allocations: 223.2 kB / 439.4 MB, free: 15.1 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008539/0.3478, allocations: 3.784 MB / 443.2 MB, free: 11.31 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.3479, allocations: 4 kB / 443.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.487e-06/0.3479, allocations: 0 / 443.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.3479, allocations: 3.938 kB / 443.2 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.002252/0.3501, allocations: 1.038 MB / 444.3 MB, free: 10.21 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.3502, allocations: 8.031 kB / 444.3 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.818e-05/0.3503, allocations: 70.72 kB / 444.3 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/0.3515, allocations: 156.6 kB / 444.5 MB, free: 9.973 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005094/0.352, allocations: 327.7 kB / 444.8 MB, free: 9.613 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.641e-05/0.3521, allocations: 29.03 kB / 444.8 MB, free: 9.586 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.28e-05/0.3521, allocations: 32.38 kB / 444.9 MB, free: 9.555 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.3536, allocations: 0.5502 MB / 445.4 MB, free: 8.965 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.3536, allocations: 4 kB / 445.4 MB, free: 8.961 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.79e-05/0.3537, allocations: 12 kB / 445.4 MB, free: 8.949 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/0.3537, allocations: 8 kB / 445.5 MB, free: 8.941 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001505/0.3552, allocations: 0.5016 MB / 446 MB, free: 8.441 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.003175/0.3584, allocations: 2.616 MB / 448.6 MB, free: 5.566 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/0.36, allocations: 439.8 kB / 449 MB, free: 5.129 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004176/0.3604, allocations: 165.6 kB / 449.2 MB, free: 4.965 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007968/0.3612, allocations: 0.5602 MB / 449.7 MB, free: 4.312 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.3612, allocations: 42.48 kB / 449.8 MB, free: 4.262 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 1.543e-06/0.3613, allocations: 0 / 449.8 MB, free: 4.262 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.004723/0.366, allocations: 1.515 MB / 451.3 MB, free: 2.672 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.366, allocations: 55.41 kB / 451.3 MB, free: 2.605 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002699/0.3663, allocations: 248.9 kB / 451.6 MB, free: 2.352 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.556e-05/0.3664, allocations: 33.7 kB / 451.6 MB, free: 2.312 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.3665, allocations: 188.4 kB / 451.8 MB, free: 2.125 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.273e-05/0.3666, allocations: 119 kB / 451.9 MB, free: 2.008 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.3667, allocations: 82.06 kB / 452 MB, free: 1.922 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.3669, allocations: 338.8 kB / 452.3 MB, free: 1.582 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003911/0.3673, allocations: 140.8 kB / 452.5 MB, free: 1.445 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004783/0.3678, allocations: 235.4 kB / 452.7 MB, free: 1.172 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008608/0.3686, allocations: 394.9 kB / 453.1 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3687, allocations: 0 / 453.1 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001261/0.3699, allocations: 0.5076 MB / 453.6 MB, free: 228 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.37, allocations: 8.031 kB / 453.6 MB, free: 220 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.37, allocations: 11.88 kB / 453.6 MB, free: 208 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005061/0.3705, allocations: 102.5 kB / 453.7 MB, free: 96 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003492/0.3708, allocations: 91.83 kB / 453.8 MB, free: 4 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002214/0.3731, allocations: 2.502 MB / 456.3 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000292/0.3734, allocations: 36.14 kB / 456.3 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.594e-05/0.3734, allocations: 19.98 kB / 456.3 MB, free: 13.26 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.0002029/0.3736, allocations: 161.7 kB / 456.5 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.302e-05/0.3737, allocations: 27.86 kB / 456.5 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002033/0.3758, allocations: 1.325 MB / 457.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.015e-05/0.3758, allocations: 15.98 kB / 457.9 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.3758, allocations: 0 / 457.9 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001806/0.3776, allocations: 1.429 MB / 459.3 MB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002878/0.3805, allocations: 2.094 MB / 461.4 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.3805, allocations: 0 / 461.4 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004183/0.3809, allocations: 95.84 kB / 461.5 MB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003276/0.3813, allocations: 72.75 kB / 461.6 MB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.962e-05/0.3813, allocations: 12.88 kB / 461.6 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004421/0.3818, allocations: 0.5952 MB / 462.2 MB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.3818, allocations: 0 / 462.2 MB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001962/0.3838, allocations: 1.28 MB / 463.4 MB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.3839, allocations: 132.5 kB / 463.6 MB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.397e-05/0.384, allocations: 19.95 kB / 463.6 MB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/0.3842, allocations: 29.09 kB / 463.6 MB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.401e-05/0.3843, allocations: 31.95 kB / 463.7 MB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-05/0.3844, allocations: 12 kB / 463.7 MB, free: 5.684 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002573/0.3846, allocations: 235 kB / 463.9 MB, free: 5.449 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3846, allocations: 0 / 463.9 MB, free: 5.449 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002543/0.3872, allocations: 0.8618 MB / 464.8 MB, free: 4.586 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.006579/0.3938, allocations: 2.716 MB / 467.5 MB, free: 1.844 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001537/0.3953, allocations: 0.6547 MB / 468.1 MB, free: 1.172 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.3954, allocations: 4 kB / 468.1 MB, free: 1.168 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007139/0.3961, allocations: 408.7 kB / 468.5 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.3972, allocations: 188.8 kB / 468.7 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007759/0.405, allocations: 4.582 MB / 473.3 MB, free: 11.83 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000529/0.4055, allocations: 0.8803 MB / 474.2 MB, free: 10.93 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000375/0.4059, allocations: 139.7 kB / 474.3 MB, free: 10.79 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000248/0.4062, allocations: 191.4 kB / 474.5 MB, free: 10.6 MB / 398.1 MB Notification: Performance of SimCode: time 3.6e-07/0.4062, allocations: 0 / 474.5 MB, free: 10.6 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08477/0.491, allocations: 41.46 MB / 0.5039 GB, free: 1.027 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/14.44, allocations: 4 kB / 0.5039 GB, free: 1.023 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