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_overall_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_overall_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_overall_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 1.855/1.855, allocations: 209.3 MB / 222.4 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.404e-05/3.421e-05, allocations: 7.984 kB / 277.9 MB, free: 15.28 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08757/0.08763, allocations: 48.69 MB / 326.6 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4702/0.5579, allocations: 90.67 MB / 417.2 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004422/0.5584, allocations: 93.88 kB / 417.3 MB, free: 0.9297 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6086:11-6092:61:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6094:11-6097: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:6100:11-6106:59:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6108:11-6111: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.09284/0.6512, allocations: 17.78 MB / 435.1 MB, free: 1.602 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.195e-06/0.6513, allocations: 0 / 435.1 MB, free: 1.602 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.02e-05/0.6513, allocations: 4 kB / 435.1 MB, free: 1.598 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.001216/0.6525, allocations: 0.6356 MB / 435.7 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.6526, allocations: 8.031 kB / 435.7 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.564e-05/0.6527, allocations: 31.62 kB / 435.8 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003463/0.653, allocations: 244.8 kB / 436 MB, free: 0.625 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.6531, allocations: 25.83 kB / 436 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.562e-05/0.6532, allocations: 25.25 kB / 436.1 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000833/0.654, allocations: 438 kB / 436.5 MB, free: 280 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.6541, allocations: 7.969 kB / 436.5 MB, free: 272 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.88e-05/0.6541, allocations: 11.62 kB / 436.5 MB, free: 268 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.231e-05/0.6542, allocations: 40.64 kB / 436.6 MB, free: 232 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00098/0.6552, allocations: 0.5166 MB / 437.1 MB, free: 15.83 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002504/0.6577, allocations: 1.344 MB / 438.4 MB, free: 14.53 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006733/0.6584, allocations: 277.2 kB / 438.7 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.6586, allocations: 80.7 kB / 438.8 MB, free: 14.23 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.724e-05/0.6587, allocations: 8.375 kB / 438.8 MB, free: 14.23 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.6587, allocations: 42.11 kB / 438.8 MB, free: 14.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=25): time 3.293e-06/0.6587, allocations: 0 / 438.8 MB, free: 14.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.0005727/0.6593, allocations: 208.8 kB / 439 MB, free: 14 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.6594, allocations: 59.41 kB / 439.1 MB, free: 13.93 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.6595, allocations: 135.8 kB / 439.2 MB, free: 13.8 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/0.6596, allocations: 33.02 kB / 439.2 MB, free: 13.77 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.6598, allocations: 256.3 kB / 439.5 MB, free: 13.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.817e-05/0.6599, allocations: 83.94 kB / 439.6 MB, free: 13.45 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.207e-05/0.6599, allocations: 7.5 kB / 439.6 MB, free: 13.45 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.6601, allocations: 322.2 kB / 439.9 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/0.6603, allocations: 77.39 kB / 440 MB, free: 13.07 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002604/0.6605, allocations: 156.7 kB / 440.1 MB, free: 12.9 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002329/0.6608, allocations: 109 kB / 440.2 MB, free: 12.81 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.56e-06/0.6608, allocations: 0 / 440.2 MB, free: 12.81 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006585/0.6615, allocations: 295.3 kB / 440.5 MB, free: 12.55 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.6615, allocations: 4 kB / 440.5 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.981e-06/0.6615, allocations: 4 kB / 440.5 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.6616, allocations: 4 kB / 440.5 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007749/0.6624, allocations: 139.2 kB / 440.7 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001784/0.6642, allocations: 2.366 MB / 443 MB, free: 9.965 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.6644, allocations: 27.31 kB / 443.1 MB, free: 9.941 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-05/0.6645, allocations: 19.8 kB / 443.1 MB, free: 9.926 MB / 346.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.0001405/0.6646, allocations: 124.6 kB / 443.2 MB, free: 9.805 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.622e-05/0.6647, allocations: 11.91 kB / 443.2 MB, free: 9.793 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009278/0.6657, allocations: 349.2 kB / 443.6 MB, free: 9.508 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.261e-06/0.6657, allocations: 0 / 443.6 MB, free: 9.508 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.6657, allocations: 4 kB / 443.6 MB, free: 9.504 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.657e-06/0.6657, allocations: 7.984 kB / 443.6 MB, free: 9.496 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005648/0.6663, allocations: 338.5 kB / 443.9 MB, free: 9.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.457e-06/0.6663, allocations: 4 kB / 443.9 MB, free: 9.156 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006896/0.667, allocations: 123.2 kB / 444 MB, free: 9.039 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.667, allocations: 4 kB / 444 MB, free: 9.035 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.833e-05/0.6671, allocations: 7.438 kB / 444 MB, free: 9.031 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001743/0.6688, allocations: 2.359 MB / 446.4 MB, free: 6.594 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.205e-06/0.6689, allocations: 7.891 kB / 446.4 MB, free: 6.586 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005828/0.6695, allocations: 340.6 kB / 446.7 MB, free: 6.277 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.862e-05/0.6696, allocations: 92.86 kB / 446.8 MB, free: 6.168 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.185e-05/0.6696, allocations: 7.125 kB / 446.8 MB, free: 6.164 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.6698, allocations: 15.67 kB / 446.8 MB, free: 6.152 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.718e-05/0.6699, allocations: 31.52 kB / 446.9 MB, free: 6.125 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-05/0.67, allocations: 8 kB / 446.9 MB, free: 6.117 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.713e-05/0.6701, allocations: 102.5 kB / 447 MB, free: 6.023 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.77e-07/0.6701, allocations: 0 / 447 MB, free: 6.023 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001049/0.6711, allocations: 270.1 kB / 447.2 MB, free: 5.773 MB / 346.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.0008964/0.6721, allocations: 388.3 kB / 447.6 MB, free: 5.395 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008355/0.6729, allocations: 252 kB / 447.9 MB, free: 5.184 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.872e-06/0.6729, allocations: 3.938 kB / 447.9 MB, free: 5.18 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005043/0.6735, allocations: 154.2 kB / 448 MB, free: 5.047 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.6737, allocations: 13 kB / 448 MB, free: 5.043 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.6748, allocations: 432.5 kB / 448.5 MB, free: 4.625 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005514/0.6753, allocations: 0.7987 MB / 449.3 MB, free: 3.805 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.6755, allocations: 30.17 kB / 449.3 MB, free: 3.777 MB / 346.7 MB Notification: Performance of SimCode: time 1.837e-06/0.6755, allocations: 0 / 449.3 MB, free: 3.777 MB / 346.7 MB Notification: Performance of Templates: time 0.01822/0.6937, allocations: 10.04 MB / 459.3 MB, free: 9.738 MB / 362.7 MB