Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 2.3/2.3, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.622e-05/2.64e-05, allocations: 0 / 309.7 MB, free: 1.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.324, allocations: 54.86 MB / 364.6 MB, free: 5.527 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1697/0.4937, allocations: 83.87 MB / 448.4 MB, free: 12.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000318/0.494, allocations: 100.8 kB / 448.5 MB, free: 12.49 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.01914/0.5132, allocations: 4.199 MB / 452.7 MB, free: 8.324 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.899e-06/0.5132, allocations: 4 kB / 452.7 MB, free: 8.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.398e-05/0.5133, allocations: 7.938 kB / 452.7 MB, free: 8.312 MB / 378.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.0006301/0.5139, allocations: 430.1 kB / 453.2 MB, free: 7.848 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.514, allocations: 8.031 kB / 453.2 MB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008296/0.5148, allocations: 107.7 kB / 453.3 MB, free: 7.734 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.5151, allocations: 219.5 kB / 453.5 MB, free: 7.484 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.5151, allocations: 12 kB / 453.5 MB, free: 7.473 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.849e-05/0.5152, allocations: 12 kB / 453.5 MB, free: 7.461 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004735/0.5157, allocations: 213.3 kB / 453.7 MB, free: 7.246 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.5157, allocations: 0 / 453.7 MB, free: 7.246 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.737e-05/0.5157, allocations: 4 kB / 453.7 MB, free: 7.242 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.542e-05/0.5158, allocations: 19.94 kB / 453.7 MB, free: 7.223 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004481/0.5163, allocations: 203.9 kB / 453.9 MB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001411/0.5177, allocations: 0.7324 MB / 454.7 MB, free: 6.199 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/0.5179, allocations: 78.53 kB / 454.8 MB, free: 6.113 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.512e-05/0.518, allocations: 36.78 kB / 454.8 MB, free: 6.074 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.518, allocations: 4 kB / 454.8 MB, free: 6.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.5181, allocations: 34.55 kB / 454.8 MB, free: 6.027 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.658e-06/0.5181, allocations: 0 / 454.8 MB, free: 6.027 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.000328/0.5184, allocations: 109.6 kB / 454.9 MB, free: 5.914 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.5185, allocations: 51.41 kB / 455 MB, free: 5.852 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002238/0.5187, allocations: 174.4 kB / 455.2 MB, free: 5.672 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.5188, allocations: 33.7 kB / 455.2 MB, free: 5.633 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.5189, allocations: 194 kB / 455.4 MB, free: 5.441 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.791e-05/0.519, allocations: 23.66 kB / 455.4 MB, free: 5.418 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.39e-05/0.519, allocations: 7.938 kB / 455.4 MB, free: 5.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.5192, allocations: 322.8 kB / 455.7 MB, free: 5.086 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.5193, allocations: 35.97 kB / 455.8 MB, free: 5.051 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.5195, allocations: 90.78 kB / 455.8 MB, free: 4.938 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.5196, allocations: 56.02 kB / 455.9 MB, free: 4.883 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.131e-06/0.5196, allocations: 0 / 455.9 MB, free: 4.883 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003708/0.52, allocations: 145.4 kB / 456 MB, free: 4.734 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.52, allocations: 4 kB / 456 MB, free: 4.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.429e-06/0.5201, allocations: 4 kB / 456.1 MB, free: 4.727 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.5201, allocations: 4 kB / 456.1 MB, free: 4.723 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.5211, allocations: 115.2 kB / 456.2 MB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001821/0.5229, allocations: 1.82 MB / 458 MB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002757/0.5232, allocations: 23.86 kB / 458 MB, free: 2.699 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.999e-05/0.5233, allocations: 8 kB / 458 MB, free: 2.691 MB / 378.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 () * 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.0001763/0.5235, allocations: 117.1 kB / 458.1 MB, free: 2.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.019e-05/0.5236, allocations: 11.81 kB / 458.1 MB, free: 2.559 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007389/0.5244, allocations: 158.9 kB / 458.3 MB, free: 2.395 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.099e-06/0.5244, allocations: 3.938 kB / 458.3 MB, free: 2.391 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.5244, allocations: 4 kB / 458.3 MB, free: 2.387 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.764e-06/0.5245, allocations: 0 / 458.3 MB, free: 2.387 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004223/0.5249, allocations: 233.5 kB / 458.5 MB, free: 2.109 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.769e-06/0.5249, allocations: 4 kB / 458.5 MB, free: 2.105 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008677/0.5258, allocations: 87.89 kB / 458.6 MB, free: 2.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.5258, allocations: 4 kB / 458.6 MB, free: 2.016 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.5259, allocations: 4 kB / 458.6 MB, free: 2.012 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001472/0.5273, allocations: 1.778 MB / 460.4 MB, free: 168 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.701e-06/0.5274, allocations: 0 / 460.4 MB, free: 168 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003631/0.5277, allocations: 215.3 kB / 460.6 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.647e-05/0.5279, allocations: 89 kB / 460.7 MB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.594e-05/0.5279, allocations: 4 kB / 460.7 MB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.5281, allocations: 11.98 kB / 460.7 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.447e-05/0.5282, allocations: 12.03 kB / 460.7 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.5282, allocations: 12 kB / 460.7 MB, free: 15.79 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001727/0.5284, allocations: 136.9 kB / 460.9 MB, free: 15.66 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.08e-07/0.5284, allocations: 0 / 460.9 MB, free: 15.66 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004601/0.5289, allocations: 55.84 kB / 460.9 MB, free: 15.61 MB / 394.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 (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.0002575/0.5292, allocations: 131.1 kB / 461.1 MB, free: 15.46 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001136/0.5303, allocations: 160 kB / 461.2 MB, free: 15.31 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.471e-06/0.5303, allocations: 0 / 461.2 MB, free: 15.31 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006854/0.531, allocations: 96.08 kB / 461.3 MB, free: 15.21 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004155/0.5315, allocations: 40.3 kB / 461.4 MB, free: 15.18 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00066/0.5321, allocations: 241 kB / 461.6 MB, free: 14.91 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000459/0.5326, allocations: 0.7513 MB / 462.3 MB, free: 14.14 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.025e-05/0.5327, allocations: 15.44 kB / 462.4 MB, free: 14.12 MB / 394.7 MB Notification: Performance of SimCode: time 2.001e-06/0.5327, allocations: 0 / 462.4 MB, free: 14.12 MB / 394.7 MB Notification: Performance of Templates: time 0.008935/0.5417, allocations: 4.513 MB / 466.9 MB, free: 9.621 MB / 394.7 MB