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.001423/0.001423, allocations: 99.95 kB / 17.58 MB, free: 5.418 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.001462/0.001462, allocations: 192 kB / 18.51 MB, free: 4.508 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.333/1.333, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.001175/0.001175, allocations: 47.94 kB / 280.8 MB, free: 3.062 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0858/0.08699, allocations: 46.63 MB / 327.4 MB, free: 4.359 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.03327/0.1203, allocations: 32.56 MB / 360 MB, free: 3.664 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01698/0.1373, allocations: 15.73 MB / 375.7 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003255/0.1377, allocations: 4 kB / 375.7 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007247/0.1385, allocations: 274.4 kB / 376 MB, free: 3.605 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006428/0.1391, allocations: 353.9 kB / 376.3 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1676/0.3068, allocations: 5.782 MB / 382.1 MB, free: 11.71 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0011/0.3079, allocations: 0.9971 MB / 383.1 MB, free: 11.71 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001882/0.3081, allocations: 107.2 kB / 383.2 MB, free: 11.7 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005071/0.3132, allocations: 2.202 MB / 385.4 MB, free: 11.23 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004423/0.3136, allocations: 304.5 kB / 385.7 MB, free: 11.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.722e-05/0.3137, allocations: 40.19 kB / 385.7 MB, free: 11.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01091/0.3246, allocations: 5.931 MB / 391.7 MB, free: 11.23 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002091/0.3249, allocations: 113.5 kB / 391.8 MB, free: 11.23 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00047/0.3253, allocations: 224.9 kB / 392 MB, free: 11.23 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00811/0.3334, allocations: 3.781 MB / 395.8 MB, free: 11.17 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.3335, allocations: 1.531 kB / 395.8 MB, free: 11.17 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3335, allocations: 0 / 395.8 MB, free: 11.17 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.3335, allocations: 0 / 395.8 MB, free: 11.17 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.002463/0.336, allocations: 1.018 MB / 396.8 MB, free: 10.55 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.336, allocations: 8.438 kB / 396.8 MB, free: 10.55 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.77e-05/0.3361, allocations: 68.36 kB / 396.9 MB, free: 10.51 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/0.3373, allocations: 152.1 kB / 397 MB, free: 10.49 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002878/0.3376, allocations: 321.8 kB / 397.3 MB, free: 10.27 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.227e-05/0.3376, allocations: 31.62 kB / 397.4 MB, free: 10.27 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.233e-05/0.3377, allocations: 31.72 kB / 397.4 MB, free: 10.27 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.3389, allocations: 0.5476 MB / 397.9 MB, free: 10.14 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.3389, allocations: 3.969 kB / 397.9 MB, free: 10.14 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/0.339, allocations: 18.19 kB / 398 MB, free: 10.14 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.339, allocations: 6.125 kB / 398 MB, free: 10.14 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.3403, allocations: 0.5023 MB / 398.5 MB, free: 10.05 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.00236/0.3426, allocations: 2.608 MB / 401.1 MB, free: 7.836 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.344, allocations: 440.3 kB / 401.5 MB, free: 7.723 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003655/0.3444, allocations: 168 kB / 401.7 MB, free: 7.688 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006119/0.345, allocations: 0.5639 MB / 402.2 MB, free: 7.156 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.345, allocations: 37.78 kB / 402.3 MB, free: 7.117 MB / 318.1 MB Notification: Performance of pre-optimization done (n=30): time 1.512e-06/0.345, allocations: 0 / 402.3 MB, free: 7.117 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.004009/0.3491, allocations: 1.52 MB / 403.8 MB, free: 6.449 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.015e-05/0.3491, allocations: 59.05 kB / 403.8 MB, free: 6.383 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.3493, allocations: 238.9 kB / 404.1 MB, free: 6.258 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.3493, allocations: 36.05 kB / 404.1 MB, free: 6.223 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.916e-05/0.3494, allocations: 182.8 kB / 404.3 MB, free: 6.086 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.612e-05/0.3495, allocations: 118.8 kB / 404.4 MB, free: 6 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.114e-05/0.3495, allocations: 79.22 kB / 404.5 MB, free: 5.977 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.862e-05/0.3496, allocations: 334.7 kB / 404.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003287/0.3499, allocations: 142.9 kB / 405 MB, free: 5.625 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003538/0.3503, allocations: 239.8 kB / 405.2 MB, free: 5.492 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000694/0.351, allocations: 391 kB / 405.6 MB, free: 5.348 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.351, allocations: 0 / 405.6 MB, free: 5.348 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001037/0.3521, allocations: 0.5047 MB / 406.1 MB, free: 5.207 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.3521, allocations: 6.906 kB / 406.1 MB, free: 5.207 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.3521, allocations: 6.438 kB / 406.1 MB, free: 5.203 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004238/0.3525, allocations: 104.8 kB / 406.2 MB, free: 5.156 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003075/0.3528, allocations: 95.22 kB / 406.3 MB, free: 5.141 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/0.3541, allocations: 2.502 MB / 408.8 MB, free: 2.703 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000251/0.3543, allocations: 39.09 kB / 408.8 MB, free: 2.691 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/0.3544, allocations: 17.75 kB / 408.8 MB, free: 2.691 MB / 318.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.0001392/0.3545, allocations: 161.9 kB / 409 MB, free: 2.57 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.545e-05/0.3546, allocations: 27.78 kB / 409 MB, free: 2.559 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001559/0.3562, allocations: 1.336 MB / 410.4 MB, free: 2.242 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.3562, allocations: 17.28 kB / 410.4 MB, free: 2.234 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.3562, allocations: 0 / 410.4 MB, free: 2.234 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001294/0.3575, allocations: 1.421 MB / 411.8 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001911/0.3594, allocations: 2.105 MB / 413.9 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.3594, allocations: 0 / 413.9 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003413/0.3598, allocations: 95.58 kB / 414 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002625/0.36, allocations: 69.45 kB / 414.1 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.3601, allocations: 10.45 kB / 414.1 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003021/0.3604, allocations: 0.5992 MB / 414.7 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3604, allocations: 0 / 414.7 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/0.362, allocations: 1.269 MB / 415.9 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.725e-05/0.3621, allocations: 128.5 kB / 416.1 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.33e-05/0.3621, allocations: 21.61 kB / 416.1 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000241/0.3624, allocations: 23.64 kB / 416.1 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.145e-05/0.3625, allocations: 31.36 kB / 416.1 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.3625, allocations: 19.64 kB / 416.2 MB, free: 14.81 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002065/0.3627, allocations: 235.2 kB / 416.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3627, allocations: 1.531 kB / 416.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002874/0.3656, allocations: 0.8587 MB / 417.3 MB, free: 14.1 MB / 334.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.00515/0.3707, allocations: 2.693 MB / 419.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00138/0.3721, allocations: 0.6567 MB / 420.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3722, allocations: 6.219 kB / 420.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006099/0.3728, allocations: 411.4 kB / 421 MB, free: 10.41 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.3738, allocations: 207.7 kB / 421.2 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006656/0.3805, allocations: 4.596 MB / 425.8 MB, free: 5.496 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.3809, allocations: 0.8727 MB / 426.7 MB, free: 4.598 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003252/0.3812, allocations: 147.3 kB / 426.8 MB, free: 4.461 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002098/0.3814, allocations: 195.4 kB / 427 MB, free: 4.27 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.3814, allocations: 0 / 427 MB, free: 4.27 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1422/0.5236, allocations: 41.36 MB / 468.4 MB, free: 10.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/13.54, allocations: 4.688 kB / 468.4 MB, free: 10.84 MB / 382.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