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.General.dp_pressureLossCoefficient_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.General.dp_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 2.144/2.144, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004245/0.0004246, allocations: 12 kB / 283.1 MB, free: 9.672 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3418, allocations: 48.7 MB / 331.8 MB, free: 6.527 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1397/0.4816, allocations: 77.54 MB / 409.4 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004974/0.4821, allocations: 99.94 kB / 409.5 MB, free: 0.8047 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5488:11-5489:129:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5496:11-5497:123:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.02717/0.5093, allocations: 4.21 MB / 413.7 MB, free: 12.59 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5094, allocations: 0 / 413.7 MB, free: 12.59 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.632e-05/0.5094, allocations: 4 kB / 413.7 MB, free: 12.59 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0009422/0.5104, allocations: 438.7 kB / 414.1 MB, free: 12.11 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.5104, allocations: 8.031 kB / 414.1 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001652/0.5121, allocations: 103.7 kB / 414.2 MB, free: 12 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004237/0.5125, allocations: 214.8 kB / 414.4 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.5126, allocations: 12 kB / 414.4 MB, free: 11.74 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.533e-05/0.5127, allocations: 16 kB / 414.4 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009884/0.5137, allocations: 233.5 kB / 414.7 MB, free: 11.49 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.5137, allocations: 0 / 414.7 MB, free: 11.49 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.553e-05/0.5138, allocations: 4 kB / 414.7 MB, free: 11.49 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.141e-05/0.5138, allocations: 12 kB / 414.7 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.515, allocations: 243.5 kB / 414.9 MB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0023/0.5173, allocations: 0.7401 MB / 415.7 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004908/0.5178, allocations: 94.44 kB / 415.8 MB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/0.5179, allocations: 4.141 kB / 415.8 MB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.095e-05/0.5179, allocations: 38.52 kB / 415.8 MB, free: 10.25 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 3.286e-06/0.5179, allocations: 0 / 415.8 MB, free: 10.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.001187/0.5191, allocations: 181.4 kB / 416 MB, free: 10.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.5192, allocations: 55.41 kB / 416 MB, free: 10 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003819/0.5196, allocations: 191.3 kB / 416.2 MB, free: 9.805 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.513e-05/0.5197, allocations: 25.7 kB / 416.2 MB, free: 9.773 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.5198, allocations: 198 kB / 416.4 MB, free: 9.578 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.161e-05/0.5199, allocations: 23.66 kB / 416.5 MB, free: 9.555 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.966e-05/0.5199, allocations: 0 / 416.5 MB, free: 9.555 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.5201, allocations: 322.8 kB / 416.8 MB, free: 9.23 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003526/0.5205, allocations: 55.95 kB / 416.8 MB, free: 9.176 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004015/0.5209, allocations: 107 kB / 416.9 MB, free: 9.047 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003805/0.5213, allocations: 71.88 kB / 417 MB, free: 8.977 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.5214, allocations: 0 / 417 MB, free: 8.977 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0009673/0.5223, allocations: 189.4 kB / 417.2 MB, free: 8.785 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/0.5224, allocations: 7.984 kB / 417.2 MB, free: 8.777 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/0.5224, allocations: 11.95 kB / 417.2 MB, free: 8.766 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/0.5225, allocations: 4 kB / 417.2 MB, free: 8.762 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00209/0.5246, allocations: 108 kB / 417.3 MB, free: 8.656 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003394/0.528, allocations: 1.828 MB / 419.2 MB, free: 6.758 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004437/0.5285, allocations: 23.86 kB / 419.2 MB, free: 6.734 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.785e-05/0.5285, allocations: 11.98 kB / 419.2 MB, free: 6.723 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 initialization (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002756/0.5288, allocations: 149.9 kB / 419.3 MB, free: 6.566 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.879e-05/0.5289, allocations: 7.906 kB / 419.3 MB, free: 6.559 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/0.53, allocations: 194.8 kB / 419.5 MB, free: 6.367 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/0.5301, allocations: 0 / 419.5 MB, free: 6.367 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.5301, allocations: 4 kB / 419.5 MB, free: 6.363 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.5301, allocations: 0 / 419.5 MB, free: 6.363 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000565/0.5307, allocations: 225.6 kB / 419.8 MB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.5307, allocations: 11.94 kB / 419.8 MB, free: 6.082 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001806/0.5325, allocations: 89.02 kB / 419.9 MB, free: 5.996 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.886e-06/0.5326, allocations: 3.938 kB / 419.9 MB, free: 5.992 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.934e-05/0.5326, allocations: 4 kB / 419.9 MB, free: 5.988 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001949/0.5346, allocations: 1.781 MB / 421.6 MB, free: 4.137 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.5346, allocations: 0 / 421.6 MB, free: 4.137 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008726/0.5355, allocations: 259.5 kB / 421.9 MB, free: 3.867 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.5356, allocations: 88.95 kB / 422 MB, free: 3.762 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.137e-05/0.5357, allocations: 0 / 422 MB, free: 3.762 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003587/0.5361, allocations: 15.98 kB / 422 MB, free: 3.746 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.074e-05/0.5362, allocations: 15.94 kB / 422 MB, free: 3.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.528e-05/0.5362, allocations: 4 kB / 422 MB, free: 3.727 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000272/0.5365, allocations: 135.9 kB / 422.2 MB, free: 3.594 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5365, allocations: 0 / 422.2 MB, free: 3.594 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007656/0.5373, allocations: 47.91 kB / 422.2 MB, free: 3.547 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * 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): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003468/0.5377, allocations: 131.2 kB / 422.3 MB, free: 3.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003783/0.5415, allocations: 246 kB / 422.6 MB, free: 3.172 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/0.5415, allocations: 0 / 422.6 MB, free: 3.172 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001782/0.5433, allocations: 127.7 kB / 422.7 MB, free: 3.047 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007133/0.5441, allocations: 35.97 kB / 422.7 MB, free: 3.012 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.5454, allocations: 412.4 kB / 423.1 MB, free: 2.582 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005475/0.546, allocations: 0.7552 MB / 423.9 MB, free: 1.801 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.5462, allocations: 19.42 kB / 423.9 MB, free: 1.781 MB / 346.7 MB Notification: Performance of SimCode: time 1.432e-06/0.5462, allocations: 0 / 423.9 MB, free: 1.781 MB / 346.7 MB Notification: Performance of Templates: time 0.01408/0.5603, allocations: 4.523 MB / 428.4 MB, free: 13.26 MB / 362.7 MB