Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 1.902/1.902, allocations: 209.3 MB / 222.4 MB, free: 7.715 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.983e-05/3.008e-05, allocations: 4 kB / 277.9 MB, free: 15.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08829/0.08834, allocations: 48.7 MB / 326.6 MB, free: 14.48 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3474/0.4358, allocations: 83.5 MB / 410.1 MB, free: 7.637 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004655/0.4363, allocations: 98.17 kB / 410.2 MB, free: 7.617 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1/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.1/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.1/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.07866/0.515, allocations: 11.24 MB / 421.4 MB, free: 14.37 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.008e-06/0.5151, allocations: 4 kB / 421.4 MB, free: 14.37 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.5151, allocations: 8 kB / 421.4 MB, free: 14.36 MB / 330.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.001047/0.5161, allocations: 0.5739 MB / 422 MB, free: 13.76 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.5162, allocations: 8.031 kB / 422 MB, free: 13.75 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.896e-05/0.5163, allocations: 31.62 kB / 422 MB, free: 13.72 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003519/0.5167, allocations: 241.2 kB / 422.3 MB, free: 13.45 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/0.5167, allocations: 31.31 kB / 422.3 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.368e-05/0.5168, allocations: 30.62 kB / 422.3 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008383/0.5176, allocations: 441.8 kB / 422.7 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.5177, allocations: 0 / 422.7 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.185e-05/0.5177, allocations: 10.88 kB / 422.8 MB, free: 13.08 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.117e-05/0.5178, allocations: 36.2 kB / 422.8 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000977/0.5188, allocations: 0.5208 MB / 423.3 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002613/0.5214, allocations: 1.346 MB / 424.7 MB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006811/0.5222, allocations: 269.1 kB / 424.9 MB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.5224, allocations: 85.34 kB / 425 MB, free: 11.06 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.772e-05/0.5224, allocations: 10.94 kB / 425 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.5225, allocations: 37.75 kB / 425.1 MB, free: 11.01 MB / 330.7 MB Notification: Performance of pre-optimization done (n=25): time 4.077e-06/0.5225, allocations: 4 kB / 425.1 MB, free: 11 MB / 330.7 MB Notification: Performance of matching and sorting (n=25): time 0.0005935/0.5231, allocations: 213.4 kB / 425.3 MB, free: 10.82 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.5232, allocations: 55.34 kB / 425.3 MB, free: 10.75 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.5234, allocations: 136.3 kB / 425.5 MB, free: 10.62 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.5234, allocations: 29.33 kB / 425.5 MB, free: 10.59 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.5236, allocations: 263.4 kB / 425.7 MB, free: 10.34 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.956e-05/0.5237, allocations: 85 kB / 425.8 MB, free: 10.27 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.803e-05/0.5238, allocations: 3.875 kB / 425.8 MB, free: 10.27 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.5239, allocations: 325 kB / 426.1 MB, free: 9.949 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.5241, allocations: 82.25 kB / 426.2 MB, free: 9.883 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002562/0.5244, allocations: 156.3 kB / 426.4 MB, free: 9.715 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002366/0.5247, allocations: 100.5 kB / 426.5 MB, free: 9.633 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.384e-06/0.5247, allocations: 3.938 kB / 426.5 MB, free: 9.629 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006595/0.5253, allocations: 294 kB / 426.8 MB, free: 9.375 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.5254, allocations: 8 kB / 426.8 MB, free: 9.367 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.817e-06/0.5254, allocations: 0 / 426.8 MB, free: 9.367 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/0.5254, allocations: 8 kB / 426.8 MB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000834/0.5263, allocations: 135.3 kB / 426.9 MB, free: 9.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00182/0.5281, allocations: 2.363 MB / 429.3 MB, free: 6.789 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000281/0.5284, allocations: 30.42 kB / 429.3 MB, free: 6.762 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-05/0.5285, allocations: 23.47 kB / 429.3 MB, free: 6.746 MB / 330.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.0001514/0.5287, allocations: 131.4 kB / 429.5 MB, free: 6.621 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.354e-05/0.5287, allocations: 15.91 kB / 429.5 MB, free: 6.605 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009369/0.5297, allocations: 340.9 kB / 429.8 MB, free: 6.324 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.603e-06/0.5297, allocations: 4 kB / 429.8 MB, free: 6.32 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.539e-06/0.5297, allocations: 0 / 429.8 MB, free: 6.32 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.5298, allocations: 3.984 kB / 429.8 MB, free: 6.316 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005831/0.5303, allocations: 345.5 kB / 430.2 MB, free: 5.977 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.574e-06/0.5304, allocations: 4 kB / 430.2 MB, free: 5.973 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000746/0.5311, allocations: 115.8 kB / 430.3 MB, free: 5.859 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.518e-06/0.5311, allocations: 0 / 430.3 MB, free: 5.859 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.912e-05/0.5312, allocations: 12.88 kB / 430.3 MB, free: 5.852 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00178/0.533, allocations: 2.358 MB / 432.6 MB, free: 3.414 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.895e-06/0.533, allocations: 3.984 kB / 432.6 MB, free: 3.41 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006079/0.5336, allocations: 341.6 kB / 433 MB, free: 3.102 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.606e-05/0.5337, allocations: 96.86 kB / 433.1 MB, free: 2.988 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.932e-05/0.5338, allocations: 3.938 kB / 433.1 MB, free: 2.988 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.534, allocations: 20.08 kB / 433.1 MB, free: 2.973 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.436e-05/0.5341, allocations: 23.72 kB / 433.1 MB, free: 2.953 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.118e-05/0.5342, allocations: 11.98 kB / 433.1 MB, free: 2.941 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.882e-05/0.5343, allocations: 103.8 kB / 433.2 MB, free: 2.848 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.62e-07/0.5343, allocations: 0 / 433.2 MB, free: 2.848 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008097/0.5351, allocations: 193.4 kB / 433.4 MB, free: 2.668 MB / 330.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.0006372/0.5357, allocations: 269 kB / 433.7 MB, free: 2.398 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008466/0.5366, allocations: 248.6 kB / 433.9 MB, free: 2.191 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.206e-06/0.5366, allocations: 4 kB / 433.9 MB, free: 2.188 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005177/0.5372, allocations: 149.5 kB / 434.1 MB, free: 2.062 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.5374, allocations: 18.86 kB / 434.1 MB, free: 2.051 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.5385, allocations: 429.4 kB / 434.5 MB, free: 1.637 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005222/0.539, allocations: 0.805 MB / 435.3 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.5392, allocations: 27.42 kB / 435.3 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of SimCode: time 1.883e-06/0.5392, allocations: 0 / 435.3 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of Templates: time 0.01573/0.5549, allocations: 8.84 MB / 444.2 MB, free: 7.949 MB / 346.7 MB