Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|K.2.|K.3.|K.4.|L|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|lambda_FRI.1.|lambda_FRI.2.|lambda_FRI.3.|lambda_FRI.4.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 2.195/2.195, allocations: 235 MB / 248.1 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.478e-05/2.496e-05, allocations: 0 / 309.7 MB, free: 1.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.32, allocations: 54.86 MB / 364.6 MB, free: 5.547 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1356/0.4557, allocations: 90.05 MB / 454.6 MB, free: 6.414 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003277/0.456, allocations: 95.94 kB / 454.7 MB, free: 6.32 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6216:11-6222:61:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[4], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6224:11-6227:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6230:11-6236:59:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[4], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6238:11-6241:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.0628/0.5188, allocations: 11.27 MB / 466 MB, free: 11.01 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.567e-06/0.5189, allocations: 0 / 466 MB, free: 11.01 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.172e-05/0.519, allocations: 8 kB / 466 MB, free: 11 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001779/0.5208, allocations: 0.5762 MB / 466.6 MB, free: 10.38 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.449e-05/0.5209, allocations: 8.031 kB / 466.6 MB, free: 10.37 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001628/0.521, allocations: 31.62 kB / 466.6 MB, free: 10.34 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006165/0.5217, allocations: 234.7 kB / 466.8 MB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.632e-05/0.5218, allocations: 20.78 kB / 466.8 MB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.5219, allocations: 31.92 kB / 466.9 MB, free: 10.02 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001629/0.5236, allocations: 443.5 kB / 467.3 MB, free: 9.582 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.5236, allocations: 0 / 467.3 MB, free: 9.582 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.044e-05/0.5237, allocations: 15.94 kB / 467.3 MB, free: 9.566 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001361/0.5239, allocations: 40.75 kB / 467.4 MB, free: 9.523 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001949/0.5258, allocations: 0.5145 MB / 467.9 MB, free: 9.012 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004669/0.5305, allocations: 1.35 MB / 469.2 MB, free: 7.543 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/0.5318, allocations: 266.5 kB / 469.5 MB, free: 7.273 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003716/0.5322, allocations: 80.83 kB / 469.6 MB, free: 7.191 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.441e-05/0.5323, allocations: 8 kB / 469.6 MB, free: 7.184 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.714e-05/0.5324, allocations: 42.5 kB / 469.6 MB, free: 7.133 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 4.565e-06/0.5324, allocations: 4 kB / 469.6 MB, free: 7.129 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.001091/0.5335, allocations: 217.7 kB / 469.8 MB, free: 6.91 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.668e-05/0.5336, allocations: 55.41 kB / 469.9 MB, free: 6.844 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002661/0.5339, allocations: 139.1 kB / 470 MB, free: 6.699 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.51e-05/0.534, allocations: 29.7 kB / 470.1 MB, free: 6.664 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002878/0.5343, allocations: 262 kB / 470.3 MB, free: 6.402 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001692/0.5345, allocations: 87.12 kB / 470.4 MB, free: 6.316 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.712e-05/0.5346, allocations: 8 kB / 470.4 MB, free: 6.309 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002623/0.5348, allocations: 326.8 kB / 470.7 MB, free: 5.98 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003653/0.5352, allocations: 75.97 kB / 470.8 MB, free: 5.906 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004869/0.5357, allocations: 150.2 kB / 470.9 MB, free: 5.723 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004635/0.5362, allocations: 107.8 kB / 471.1 MB, free: 5.617 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.177e-05/0.5363, allocations: 0 / 471.1 MB, free: 5.617 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001292/0.5376, allocations: 297.3 kB / 471.3 MB, free: 5.32 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/0.5376, allocations: 4 kB / 471.3 MB, free: 5.316 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.5377, allocations: 4 kB / 471.3 MB, free: 5.312 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.55e-05/0.5377, allocations: 4 kB / 471.4 MB, free: 5.309 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/0.5392, allocations: 132.2 kB / 471.5 MB, free: 5.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002885/0.5421, allocations: 2.368 MB / 473.8 MB, free: 2.719 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004789/0.5426, allocations: 31.73 kB / 473.9 MB, free: 2.688 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.134e-05/0.5427, allocations: 19.98 kB / 473.9 MB, free: 2.668 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002339/0.543, allocations: 121 kB / 474 MB, free: 2.543 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.5431, allocations: 19.84 kB / 474 MB, free: 2.523 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001845/0.545, allocations: 338.9 kB / 474.4 MB, free: 2.188 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/0.545, allocations: 3.953 kB / 474.4 MB, free: 2.184 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.553e-06/0.5451, allocations: 4 kB / 474.4 MB, free: 2.18 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.561e-05/0.5451, allocations: 3.984 kB / 474.4 MB, free: 2.176 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.5462, allocations: 333.4 kB / 474.7 MB, free: 1.801 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.325e-06/0.5462, allocations: 0 / 474.7 MB, free: 1.801 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001323/0.5475, allocations: 115.9 kB / 474.8 MB, free: 1.688 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-05/0.5476, allocations: 3.984 kB / 474.8 MB, free: 1.684 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.516e-05/0.5477, allocations: 12 kB / 474.8 MB, free: 1.672 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002833/0.5505, allocations: 2.364 MB / 477.2 MB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.28e-06/0.5505, allocations: 0 / 477.2 MB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001139/0.5517, allocations: 343.5 kB / 477.5 MB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.5519, allocations: 96.81 kB / 477.6 MB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.223e-05/0.552, allocations: 8 kB / 477.6 MB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004273/0.5524, allocations: 20.17 kB / 477.7 MB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.5526, allocations: 23.91 kB / 477.7 MB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.972e-05/0.5527, allocations: 8 kB / 477.7 MB, free: 14.69 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001684/0.5528, allocations: 104.5 kB / 477.8 MB, free: 14.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.13e-06/0.5529, allocations: 0 / 477.8 MB, free: 14.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001558/0.5544, allocations: 187.4 kB / 478 MB, free: 14.41 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001058/0.5555, allocations: 277.1 kB / 478.2 MB, free: 14.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00151/0.5571, allocations: 260.6 kB / 478.5 MB, free: 13.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.321e-06/0.5571, allocations: 4 kB / 478.5 MB, free: 13.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009687/0.5581, allocations: 147.8 kB / 478.6 MB, free: 13.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004364/0.5586, allocations: 4 kB / 478.6 MB, free: 13.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.5604, allocations: 426.3 kB / 479.1 MB, free: 13.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008987/0.5613, allocations: 0.8101 MB / 479.9 MB, free: 12.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002169/0.5616, allocations: 31.42 kB / 479.9 MB, free: 12.42 MB / 410.7 MB Notification: Performance of SimCode: time 1.877e-06/0.5616, allocations: 0 / 479.9 MB, free: 12.42 MB / 410.7 MB Notification: Performance of Templates: time 0.02896/0.5906, allocations: 8.822 MB / 488.7 MB, free: 3.59 MB / 410.7 MB