Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008863/0.0008862, allocations: 174.2 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.3/1.3, allocations: 205.6 MB / 223.7 MB, free: 8.934 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007904/0.0007905, allocations: 102.5 kB / 272.1 MB, free: 8.109 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002368/0.0002372, allocations: 8 kB / 329 MB, free: 15.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2158, allocations: 47.58 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03595/0.2518, allocations: 36.98 MB / 413.6 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02581/0.2776, allocations: 22.84 MB / 436.4 MB, free: 1.473 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003999/0.2781, allocations: 3.938 kB / 436.4 MB, free: 1.469 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009205/0.279, allocations: 238.8 kB / 436.7 MB, free: 1.234 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008968/0.2799, allocations: 346.2 kB / 437 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01338/0.2933, allocations: 4.676 MB / 441.7 MB, free: 12.2 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001615/0.295, allocations: 1.461 MB / 443.2 MB, free: 10.73 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002022/0.2952, allocations: 81.02 kB / 443.2 MB, free: 10.65 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00498/0.3002, allocations: 2.138 MB / 445.4 MB, free: 8.488 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004754/0.3007, allocations: 306.8 kB / 445.7 MB, free: 8.188 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.68e-05/0.3007, allocations: 20 kB / 445.7 MB, free: 8.168 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.014/0.3147, allocations: 5.787 MB / 451.5 MB, free: 2.375 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002059/0.315, allocations: 87.7 kB / 451.6 MB, free: 2.289 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003873/0.3154, allocations: 228.8 kB / 451.8 MB, free: 2.059 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008581/0.324, allocations: 3.769 MB / 455.6 MB, free: 14.28 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.324, allocations: 0 / 455.6 MB, free: 14.28 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.324, allocations: 0 / 455.6 MB, free: 14.28 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.324, allocations: 0 / 455.6 MB, free: 14.28 MB / 346.7 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.002209/0.3262, allocations: 0.9135 MB / 456.5 MB, free: 13.32 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.3263, allocations: 8.031 kB / 456.5 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00171/0.328, allocations: 164.3 kB / 456.6 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004815/0.3285, allocations: 316.1 kB / 456.9 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.212e-05/0.3286, allocations: 25.03 kB / 457 MB, free: 12.78 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.445e-05/0.3286, allocations: 32.38 kB / 457 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/0.3303, allocations: 0.519 MB / 457.5 MB, free: 12.19 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.3303, allocations: 4 kB / 457.5 MB, free: 12.19 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.377e-05/0.3304, allocations: 20 kB / 457.5 MB, free: 12.17 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.3304, allocations: 8 kB / 457.6 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008727/0.3313, allocations: 325.8 kB / 457.9 MB, free: 11.84 MB / 346.7 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.003643/0.335, allocations: 2.565 MB / 460.4 MB, free: 9.016 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007719/0.3357, allocations: 272.6 kB / 460.7 MB, free: 8.742 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000241/0.336, allocations: 116.8 kB / 460.8 MB, free: 8.625 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06268/0.3987, allocations: 31.21 MB / 492 MB, free: 5.875 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.3988, allocations: 34.56 kB / 492.1 MB, free: 5.832 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 2.003e-06/0.3988, allocations: 0 / 492.1 MB, free: 5.832 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.003248/0.402, allocations: 1.219 MB / 493.3 MB, free: 4.539 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.4021, allocations: 59.41 kB / 493.3 MB, free: 4.469 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002652/0.4023, allocations: 254.6 kB / 493.6 MB, free: 4.211 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.566e-05/0.4024, allocations: 29.7 kB / 493.6 MB, free: 4.176 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.4025, allocations: 188 kB / 493.8 MB, free: 3.988 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.015e-05/0.4026, allocations: 114.5 kB / 493.9 MB, free: 3.875 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.414e-05/0.4026, allocations: 4 kB / 493.9 MB, free: 3.871 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.4027, allocations: 346.7 kB / 494.2 MB, free: 3.523 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.4029, allocations: 92.84 kB / 494.3 MB, free: 3.434 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.4031, allocations: 217.7 kB / 494.6 MB, free: 3.172 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004151/0.4036, allocations: 335.1 kB / 494.9 MB, free: 2.793 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.4036, allocations: 7.938 kB / 494.9 MB, free: 2.785 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006893/0.4043, allocations: 410.6 kB / 495.3 MB, free: 2.371 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.4043, allocations: 11.98 kB / 495.3 MB, free: 2.359 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.4043, allocations: 4 kB / 495.3 MB, free: 2.355 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002808/0.4046, allocations: 66.09 kB / 495.4 MB, free: 2.285 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003491/0.405, allocations: 87.89 kB / 495.5 MB, free: 2.199 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001648/0.4066, allocations: 2.426 MB / 497.9 MB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002911/0.4069, allocations: 32.11 kB / 497.9 MB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.474e-05/0.407, allocations: 23.94 kB / 497.9 MB, free: 15.54 MB / 394.7 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.0002211/0.4072, allocations: 163 kB / 498.1 MB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.737e-05/0.4073, allocations: 31.62 kB / 498.1 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/0.4085, allocations: 0.8617 MB / 499 MB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.4085, allocations: 7.984 kB / 499 MB, free: 14.45 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.4085, allocations: 4 kB / 499 MB, free: 14.45 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001079/0.4096, allocations: 1.048 MB / 0.4883 GB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001852/0.4115, allocations: 1.485 MB / 0.4898 GB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.4115, allocations: 0 / 0.4898 GB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/0.4117, allocations: 43.98 kB / 0.4898 GB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003575/0.4121, allocations: 88.66 kB / 0.4899 GB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.4121, allocations: 4 kB / 0.4899 GB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004384/0.4126, allocations: 0.5953 MB / 0.4905 GB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.4126, allocations: 0 / 0.4905 GB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.4137, allocations: 0.8314 MB / 0.4913 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001821/0.4139, allocations: 140.4 kB / 0.4914 GB, free: 9.988 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.215e-05/0.414, allocations: 8 kB / 0.4914 GB, free: 9.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003954/0.4144, allocations: 47.94 kB / 0.4915 GB, free: 9.934 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.4144, allocations: 15.97 kB / 0.4915 GB, free: 9.918 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-05/0.4145, allocations: 15.98 kB / 0.4915 GB, free: 9.902 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003041/0.4148, allocations: 231.1 kB / 0.4917 GB, free: 9.676 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4148, allocations: 0 / 0.4917 GB, free: 9.676 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002758/0.4176, allocations: 0.8551 MB / 0.4926 GB, free: 8.82 MB / 394.7 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.004205/0.4218, allocations: 0.963 MB / 0.4935 GB, free: 7.848 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009464/0.4227, allocations: 484.1 kB / 0.494 GB, free: 7.363 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.4228, allocations: 0 / 0.494 GB, free: 7.363 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003848/0.4232, allocations: 252.3 kB / 0.4942 GB, free: 7.117 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.4243, allocations: 188.7 kB / 0.4944 GB, free: 6.93 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.426, allocations: 1.221 MB / 0.4956 GB, free: 5.688 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003764/0.4264, allocations: 0.825 MB / 0.4964 GB, free: 4.836 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004033/0.4268, allocations: 182.9 kB / 0.4966 GB, free: 4.656 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.833e-05/0.4269, allocations: 35.44 kB / 0.4966 GB, free: 4.621 MB / 394.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4269, allocations: 0 / 0.4966 GB, free: 4.621 MB / 394.7 MB Notification: Performance of Templates: time 0.1867/0.6136, allocations: 34.43 MB / 0.5302 GB, free: 108.9 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (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 & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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