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.WaterIF97_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.WaterIF97_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.WaterIF97_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_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.WaterIF97_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.0009772/0.0009773, 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.298/1.298, allocations: 205.6 MB / 223.7 MB, free: 8.93 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.0007635/0.0007634, allocations: 91.73 kB / 272.1 MB, free: 8.117 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002443/0.0002443, allocations: 4 kB / 329 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2569, allocations: 47.58 MB / 376.6 MB, free: 45.58 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.02733/0.2842, allocations: 36.99 MB / 413.6 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02061/0.3049, allocations: 22.84 MB / 436.4 MB, free: 1.465 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000559/0.3055, allocations: 4 kB / 436.4 MB, free: 1.461 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009304/0.3065, allocations: 234.8 kB / 436.7 MB, free: 1.23 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008738/0.3074, allocations: 358.1 kB / 437 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01587/0.3232, allocations: 4.673 MB / 441.7 MB, free: 12.19 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001779/0.325, allocations: 1.438 MB / 443.1 MB, free: 10.75 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002203/0.3253, allocations: 81.02 kB / 443.2 MB, free: 10.66 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005578/0.3309, allocations: 2.13 MB / 445.3 MB, free: 8.508 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004962/0.3314, allocations: 322.8 kB / 445.7 MB, free: 8.191 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.221e-05/0.3314, allocations: 16 kB / 445.7 MB, free: 8.176 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01181/0.3433, allocations: 5.783 MB / 451.5 MB, free: 2.387 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002019/0.3435, allocations: 91.64 kB / 451.5 MB, free: 2.297 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003677/0.3439, allocations: 220.9 kB / 451.8 MB, free: 2.074 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009061/0.353, allocations: 3.761 MB / 455.5 MB, free: 14.3 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.353, allocations: 0 / 455.5 MB, free: 14.3 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.353, allocations: 0 / 455.5 MB, free: 14.3 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.353, allocations: 0 / 455.5 MB, free: 14.3 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.002545/0.3556, allocations: 0.9437 MB / 456.5 MB, free: 13.31 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.3557, allocations: 12.03 kB / 456.5 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001228/0.3569, allocations: 160.3 kB / 456.6 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004394/0.3573, allocations: 324.1 kB / 457 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.438e-05/0.3574, allocations: 29.03 kB / 457 MB, free: 12.76 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.24e-05/0.3575, allocations: 36.38 kB / 457 MB, free: 12.72 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.359, allocations: 0.5658 MB / 457.6 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/0.359, allocations: 3.938 kB / 457.6 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.891e-05/0.3591, allocations: 16 kB / 457.6 MB, free: 12.1 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.3591, allocations: 8 kB / 457.6 MB, free: 12.09 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001525/0.3606, allocations: 0.5329 MB / 458.1 MB, free: 11.56 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.003539/0.3642, allocations: 2.619 MB / 460.8 MB, free: 8.684 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00152/0.3657, allocations: 474.3 kB / 461.2 MB, free: 8.211 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004382/0.3662, allocations: 181.6 kB / 461.4 MB, free: 8.031 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007873/0.367, allocations: 0.5676 MB / 462 MB, free: 7.371 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.503e-05/0.367, allocations: 46.5 kB / 462 MB, free: 7.316 MB / 346.7 MB Notification: Performance of pre-optimization done (n=30): time 1.633e-06/0.367, allocations: 0 / 462 MB, free: 7.316 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.004771/0.3718, allocations: 1.599 MB / 463.6 MB, free: 5.641 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.3719, allocations: 55.41 kB / 463.7 MB, free: 5.574 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002669/0.3721, allocations: 244.9 kB / 463.9 MB, free: 5.328 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.31e-05/0.3722, allocations: 33.7 kB / 463.9 MB, free: 5.289 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.3723, allocations: 188.2 kB / 464.1 MB, free: 5.102 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.3724, allocations: 114.3 kB / 464.2 MB, free: 4.988 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.022e-05/0.3725, allocations: 8 kB / 464.2 MB, free: 4.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3726, allocations: 334.8 kB / 464.6 MB, free: 4.645 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003954/0.373, allocations: 152.8 kB / 464.7 MB, free: 4.492 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000448/0.3735, allocations: 255.3 kB / 465 MB, free: 4.207 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008335/0.3743, allocations: 410.8 kB / 465.4 MB, free: 3.766 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.3743, allocations: 0 / 465.4 MB, free: 3.766 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00127/0.3756, allocations: 0.5229 MB / 465.9 MB, free: 3.227 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.3756, allocations: 15.03 kB / 465.9 MB, free: 3.215 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.3757, allocations: 8 kB / 465.9 MB, free: 3.207 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004873/0.3761, allocations: 118.4 kB / 466 MB, free: 3.082 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000359/0.3765, allocations: 95.88 kB / 466.1 MB, free: 2.988 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001992/0.3785, allocations: 2.416 MB / 468.5 MB, free: 392 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003552/0.3789, allocations: 63.98 kB / 468.6 MB, free: 328 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-05/0.3789, allocations: 16 kB / 468.6 MB, free: 312 kB / 346.7 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 (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 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.000186/0.3791, allocations: 158 kB / 468.8 MB, free: 144 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.062e-05/0.3792, allocations: 35.66 kB / 468.8 MB, free: 108 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001965/0.3812, allocations: 1.363 MB / 470.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.166e-05/0.3812, allocations: 19.97 kB / 470.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.3812, allocations: 0 / 470.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001735/0.383, allocations: 1.46 MB / 471.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00283/0.3858, allocations: 2.14 MB / 473.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/0.3858, allocations: 3.938 kB / 473.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003943/0.3862, allocations: 103.9 kB / 473.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003865/0.3866, allocations: 72.78 kB / 474 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.3867, allocations: 8 kB / 474 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004222/0.3871, allocations: 0.603 MB / 474.6 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3871, allocations: 0 / 474.6 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001953/0.3891, allocations: 1.305 MB / 475.9 MB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001958/0.3893, allocations: 164.2 kB / 476 MB, free: 8.625 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.97e-05/0.3893, allocations: 4.062 kB / 476 MB, free: 8.621 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003219/0.3897, allocations: 59.69 kB / 476.1 MB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.3898, allocations: 31.95 kB / 476.1 MB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.84e-05/0.3898, allocations: 15.98 kB / 476.1 MB, free: 8.516 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002727/0.3901, allocations: 235 kB / 476.4 MB, free: 8.281 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.224e-06/0.3901, allocations: 0 / 476.4 MB, free: 8.281 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003194/0.3933, allocations: 0.8589 MB / 477.2 MB, free: 7.422 MB / 362.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: 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.00366/0.397, allocations: 0.9805 MB / 478.2 MB, free: 6.434 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001471/0.3985, allocations: 0.666 MB / 478.9 MB, free: 5.754 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3985, allocations: 4 kB / 478.9 MB, free: 5.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006915/0.3992, allocations: 424.7 kB / 479.3 MB, free: 5.336 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.4003, allocations: 188.8 kB / 479.5 MB, free: 5.152 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/0.4025, allocations: 1.575 MB / 481.1 MB, free: 3.559 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004812/0.403, allocations: 0.8727 MB / 481.9 MB, free: 2.664 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004034/0.4034, allocations: 143.1 kB / 482.1 MB, free: 2.523 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.911e-05/0.4035, allocations: 43.44 kB / 482.1 MB, free: 2.48 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.4035, allocations: 0 / 482.1 MB, free: 2.48 MB / 362.7 MB Notification: Performance of Templates: time 0.2305/0.634, allocations: 35.23 MB / 0.5052 GB, free: 131.2 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.makefile (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 & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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","../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