Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.885/1.885, allocations: 209.2 MB / 225.4 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006636/0.0006638, allocations: 12 kB / 283.1 MB, free: 9.66 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1679, allocations: 48.71 MB / 331.8 MB, free: 8.867 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5195/0.6875, allocations: 83.59 MB / 415.4 MB, free: 1.559 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005946/0.6881, allocations: 103.9 kB / 415.5 MB, free: 1.457 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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.07087/0.759, allocations: 11.27 MB / 426.8 MB, free: 6.125 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.7591, allocations: 0 / 426.8 MB, free: 6.125 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.757e-05/0.7591, allocations: 4 kB / 426.8 MB, free: 6.121 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001343/0.7605, allocations: 0.5808 MB / 427.4 MB, free: 5.492 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.7605, allocations: 16.03 kB / 427.4 MB, free: 5.477 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.7607, allocations: 27.62 kB / 427.4 MB, free: 5.449 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003919/0.7611, allocations: 234.7 kB / 427.7 MB, free: 5.18 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.103e-05/0.7611, allocations: 20.66 kB / 427.7 MB, free: 5.16 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.651e-05/0.7612, allocations: 31.98 kB / 427.7 MB, free: 5.129 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.7625, allocations: 467.9 kB / 428.2 MB, free: 4.668 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.7625, allocations: 0 / 428.2 MB, free: 4.668 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.141e-05/0.7626, allocations: 12 kB / 428.2 MB, free: 4.656 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.567e-05/0.7627, allocations: 44.97 kB / 428.2 MB, free: 4.613 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001481/0.7642, allocations: 0.5504 MB / 428.8 MB, free: 4.062 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003708/0.7679, allocations: 1.366 MB / 430.1 MB, free: 2.578 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.7691, allocations: 274.4 kB / 430.4 MB, free: 2.301 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.225e-05/0.7692, allocations: 7.953 kB / 430.4 MB, free: 2.293 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.108e-05/0.7692, allocations: 38.56 kB / 430.4 MB, free: 2.246 MB / 346.7 MB Notification: Performance of pre-optimization done (n=25): time 3.676e-06/0.7693, allocations: 0 / 430.4 MB, free: 2.246 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.001691/0.771, allocations: 341.2 kB / 430.8 MB, free: 1.906 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.385e-05/0.7711, allocations: 55.41 kB / 430.8 MB, free: 1.84 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002317/0.7713, allocations: 138 kB / 431 MB, free: 1.691 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.544e-05/0.7714, allocations: 29.7 kB / 431 MB, free: 1.656 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002219/0.7716, allocations: 266.1 kB / 431.3 MB, free: 1.395 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001515/0.7718, allocations: 91.12 kB / 431.3 MB, free: 1.305 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/0.7718, allocations: 4 kB / 431.3 MB, free: 1.301 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.772, allocations: 322.8 kB / 431.7 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004766/0.7725, allocations: 99.78 kB / 431.8 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005811/0.7731, allocations: 178.2 kB / 431.9 MB, free: 0.668 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005617/0.7737, allocations: 124.7 kB / 432.1 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.7737, allocations: 0 / 432.1 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001458/0.7752, allocations: 329 kB / 432.4 MB, free: 224 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/0.7753, allocations: 8 kB / 432.4 MB, free: 216 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.7753, allocations: 4 kB / 432.4 MB, free: 212 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.614e-05/0.7753, allocations: 4 kB / 432.4 MB, free: 208 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/0.7767, allocations: 119.8 kB / 432.5 MB, free: 88 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002353/0.7791, allocations: 2.364 MB / 434.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005208/0.7796, allocations: 35.77 kB / 434.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.725e-05/0.7797, allocations: 16 kB / 434.9 MB, free: 13.58 MB / 362.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 () * Number of clocked 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.0004371/0.7802, allocations: 177.6 kB / 435.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.7803, allocations: 15.81 kB / 435.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002124/0.7824, allocations: 382.9 kB / 435.5 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/0.7825, allocations: 0 / 435.5 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.7825, allocations: 7.875 kB / 435.5 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.7825, allocations: 4 kB / 435.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008959/0.7834, allocations: 345.2 kB / 435.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.7835, allocations: 0 / 435.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/0.7846, allocations: 103.9 kB / 435.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.647e-06/0.7846, allocations: 4 kB / 435.9 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.572e-05/0.7847, allocations: 11.98 kB / 436 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001982/0.7867, allocations: 2.36 MB / 438.3 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.7867, allocations: 0 / 438.3 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/0.788, allocations: 375.5 kB / 438.7 MB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.661e-05/0.7881, allocations: 92.86 kB / 438.8 MB, free: 9.535 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.273e-05/0.7882, allocations: 12 kB / 438.8 MB, free: 9.523 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003563/0.7886, allocations: 11.98 kB / 438.8 MB, free: 9.512 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.7887, allocations: 31.91 kB / 438.8 MB, free: 9.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.064e-05/0.7888, allocations: 15.98 kB / 438.8 MB, free: 9.465 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001242/0.7889, allocations: 100.8 kB / 438.9 MB, free: 9.367 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.7889, allocations: 0 / 438.9 MB, free: 9.367 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001252/0.7902, allocations: 191.4 kB / 439.1 MB, free: 9.18 MB / 362.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 () * Number of clocked 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.0009368/0.7912, allocations: 262.9 kB / 439.4 MB, free: 8.914 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001833/0.793, allocations: 312.2 kB / 439.7 MB, free: 8.609 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.7931, allocations: 0 / 439.7 MB, free: 8.609 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001167/0.7942, allocations: 188.2 kB / 439.9 MB, free: 8.426 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.7946, allocations: 4 kB / 439.9 MB, free: 8.422 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002202/0.7969, allocations: 0.7385 MB / 440.6 MB, free: 7.652 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006803/0.7976, allocations: 0.8026 MB / 441.4 MB, free: 6.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002526/0.7978, allocations: 35.42 kB / 441.5 MB, free: 6.785 MB / 362.7 MB Notification: Performance of SimCode: time 3.777e-06/0.7979, allocations: 0 / 441.5 MB, free: 6.785 MB / 362.7 MB Notification: Performance of Templates: time 0.02532/0.8232, allocations: 8.862 MB / 450.3 MB, free: 13.91 MB / 378.7 MB