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_laminar_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_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 1.879/1.879, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.966e-05/2.979e-05, allocations: 0 / 277.9 MB, free: 15.28 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1102, allocations: 48.7 MB / 326.6 MB, free: 14.49 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3821/0.4924, allocations: 78.65 MB / 405.2 MB, free: 9.211 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/0.4928, allocations: 95.75 kB / 405.3 MB, free: 9.195 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5968:11-5971:69:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5973:11-5976:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5979:11-5982:67:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5984:11-5987:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.01395/0.5067, allocations: 3.457 MB / 408.8 MB, free: 7.742 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.802e-06/0.5068, allocations: 0 / 408.8 MB, free: 7.742 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.5068, allocations: 7.688 kB / 408.8 MB, free: 7.738 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004293/0.5072, allocations: 386.7 kB / 409.1 MB, free: 7.355 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.5073, allocations: 11.31 kB / 409.2 MB, free: 7.355 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000346/0.5076, allocations: 38.78 kB / 409.2 MB, free: 7.34 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.5078, allocations: 189.9 kB / 409.4 MB, free: 7.125 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.5079, allocations: 7.875 kB / 409.4 MB, free: 7.125 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.5079, allocations: 11.44 kB / 409.4 MB, free: 7.125 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003034/0.5082, allocations: 161.3 kB / 409.6 MB, free: 7.047 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.5082, allocations: 0 / 409.6 MB, free: 7.047 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.5083, allocations: 0 / 409.6 MB, free: 7.047 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.374e-05/0.5083, allocations: 11.56 kB / 409.6 MB, free: 7.043 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000235/0.5086, allocations: 118.2 kB / 409.7 MB, free: 7.023 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008905/0.5095, allocations: 0.6438 MB / 410.3 MB, free: 6.449 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/0.5098, allocations: 99.36 kB / 410.4 MB, free: 6.41 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.227e-05/0.5099, allocations: 29.16 kB / 410.5 MB, free: 6.398 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.5099, allocations: 7.062 kB / 410.5 MB, free: 6.395 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.358e-05/0.5099, allocations: 30.56 kB / 410.5 MB, free: 6.355 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 2.384e-06/0.5099, allocations: 0 / 410.5 MB, free: 6.355 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002241/0.5102, allocations: 86.16 kB / 410.6 MB, free: 6.309 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.376e-05/0.5102, allocations: 55.34 kB / 410.6 MB, free: 6.246 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.436e-05/0.5103, allocations: 115.8 kB / 410.7 MB, free: 6.145 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.5103, allocations: 29.64 kB / 410.8 MB, free: 6.109 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.217e-05/0.5104, allocations: 189.4 kB / 411 MB, free: 5.93 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.5104, allocations: 26.47 kB / 411 MB, free: 5.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.324e-06/0.5104, allocations: 0 / 411 MB, free: 5.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.179e-05/0.5105, allocations: 321.5 kB / 411.3 MB, free: 5.594 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.512e-05/0.5106, allocations: 20.97 kB / 411.3 MB, free: 5.594 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.546e-05/0.5107, allocations: 83.22 kB / 411.4 MB, free: 5.516 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.706e-05/0.5108, allocations: 41.22 kB / 411.4 MB, free: 5.5 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.404e-06/0.5108, allocations: 0 / 411.4 MB, free: 5.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002595/0.5111, allocations: 145.1 kB / 411.6 MB, free: 5.434 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.5111, allocations: 3.844 kB / 411.6 MB, free: 5.434 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.048e-06/0.5111, allocations: 3.844 kB / 411.6 MB, free: 5.434 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.5111, allocations: 7.828 kB / 411.6 MB, free: 5.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002461/0.5114, allocations: 38.72 kB / 411.6 MB, free: 5.422 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.5114, allocations: 8.062 kB / 411.6 MB, free: 5.418 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.5116, allocations: 19.58 kB / 411.7 MB, free: 5.406 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.5116, allocations: 14.03 kB / 411.7 MB, free: 5.402 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.952e-05/0.5117, allocations: 107.9 kB / 411.8 MB, free: 5.293 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.217e-05/0.5117, allocations: 7.828 kB / 411.8 MB, free: 5.289 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002187/0.512, allocations: 103.8 kB / 411.9 MB, free: 5.238 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.512, allocations: 0 / 411.9 MB, free: 5.238 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.403e-06/0.512, allocations: 7.875 kB / 411.9 MB, free: 5.234 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.512, allocations: 0 / 411.9 MB, free: 5.234 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002152/0.5122, allocations: 197.8 kB / 412.1 MB, free: 5.031 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.573e-06/0.5123, allocations: 0 / 412.1 MB, free: 5.031 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.5125, allocations: 30.84 kB / 412.1 MB, free: 5.023 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.295e-06/0.5125, allocations: 3.953 kB / 412.1 MB, free: 5.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.5125, allocations: 6.312 kB / 412.1 MB, free: 5.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.5e-06/0.5125, allocations: 0 / 412.1 MB, free: 5.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.929e-06/0.5126, allocations: 240 / 412.1 MB, free: 5.02 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001936/0.5128, allocations: 190.1 kB / 412.3 MB, free: 4.867 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.576e-05/0.5128, allocations: 80.77 kB / 412.4 MB, free: 4.773 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.5128, allocations: 7.938 kB / 412.4 MB, free: 4.766 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.513, allocations: 7.438 kB / 412.4 MB, free: 4.766 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.473e-05/0.5131, allocations: 7.641 kB / 412.4 MB, free: 4.762 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.5131, allocations: 3.906 kB / 412.4 MB, free: 4.762 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.872e-05/0.5131, allocations: 106.1 kB / 412.5 MB, free: 4.672 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.82e-07/0.5132, allocations: 0 / 412.5 MB, free: 4.672 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003672/0.5135, allocations: 34.09 kB / 412.6 MB, free: 4.664 MB / 314.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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001446/0.5137, allocations: 121.9 kB / 412.7 MB, free: 4.566 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001956/0.5139, allocations: 74.06 kB / 412.7 MB, free: 4.551 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.5139, allocations: 0.5 kB / 412.7 MB, free: 4.551 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.104e-05/0.514, allocations: 29.09 kB / 412.8 MB, free: 4.547 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.5142, allocations: 6.531 kB / 412.8 MB, free: 4.547 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003478/0.5146, allocations: 173.4 kB / 413 MB, free: 4.41 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001535/0.5147, allocations: 0.7113 MB / 413.7 MB, free: 3.699 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.984e-05/0.5148, allocations: 11.28 kB / 413.7 MB, free: 3.691 MB / 314.7 MB Notification: Performance of SimCode: time 1.423e-06/0.5148, allocations: 0 / 413.7 MB, free: 3.691 MB / 314.7 MB Notification: Performance of Templates: time 0.00328/0.5181, allocations: 1.479 MB / 415.2 MB, free: 2.703 MB / 314.7 MB