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.126/2.126, allocations: 234.9 MB / 250.5 MB, free: 9.531 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005365/0.0005366, allocations: 15.98 kB / 314.4 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2758, allocations: 54.87 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1232/0.399, allocations: 83.96 MB / 453.3 MB, free: 6.625 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003203/0.3994, allocations: 103.9 kB / 453.4 MB, free: 6.523 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.01872/0.4181, allocations: 4.206 MB / 457.6 MB, free: 2.309 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.317e-06/0.4182, allocations: 4 kB / 457.6 MB, free: 2.305 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.4182, allocations: 3.938 kB / 457.6 MB, free: 2.301 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.0006038/0.4188, allocations: 438.8 kB / 458 MB, free: 1.824 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.4189, allocations: 12.03 kB / 458 MB, free: 1.812 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008163/0.4197, allocations: 107.6 kB / 458.1 MB, free: 1.707 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/0.42, allocations: 210.8 kB / 458.3 MB, free: 1.461 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.42, allocations: 8 kB / 458.3 MB, free: 1.453 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.458e-05/0.4201, allocations: 19.98 kB / 458.4 MB, free: 1.434 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005687/0.4207, allocations: 233.3 kB / 458.6 MB, free: 1.199 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.4207, allocations: 0 / 458.6 MB, free: 1.199 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.019e-05/0.4207, allocations: 8 kB / 458.6 MB, free: 1.191 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.716e-05/0.4208, allocations: 15.97 kB / 458.6 MB, free: 1.176 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006083/0.4214, allocations: 239.7 kB / 458.8 MB, free: 0.9414 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.4228, allocations: 0.744 MB / 459.6 MB, free: 108 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/0.4231, allocations: 90.52 kB / 459.7 MB, free: 8 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.4231, allocations: 0 / 459.7 MB, free: 8 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.935e-05/0.4232, allocations: 38.5 kB / 459.7 MB, free: 15.96 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.868e-06/0.4232, allocations: 0 / 459.7 MB, free: 15.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006702/0.4239, allocations: 189.3 kB / 459.9 MB, free: 15.77 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.4239, allocations: 55.39 kB / 460 MB, free: 15.7 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.4241, allocations: 170.5 kB / 460.1 MB, free: 15.53 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.4242, allocations: 29.7 kB / 460.1 MB, free: 15.49 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.4243, allocations: 198.1 kB / 460.3 MB, free: 15.3 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.726e-05/0.4244, allocations: 27.64 kB / 460.4 MB, free: 15.27 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.341e-05/0.4244, allocations: 4 kB / 460.4 MB, free: 15.27 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.4246, allocations: 326.7 kB / 460.7 MB, free: 14.94 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.4248, allocations: 51.95 kB / 460.7 MB, free: 14.89 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/0.425, allocations: 102.8 kB / 460.8 MB, free: 14.76 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.4252, allocations: 71.89 kB / 460.9 MB, free: 14.69 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.7e-06/0.4252, allocations: 0 / 460.9 MB, free: 14.69 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005366/0.4258, allocations: 185.4 kB / 461.1 MB, free: 14.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.4258, allocations: 7.938 kB / 461.1 MB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.4259, allocations: 7.984 kB / 461.1 MB, free: 14.49 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.4259, allocations: 0 / 461.1 MB, free: 14.49 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.4269, allocations: 108.1 kB / 461.2 MB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001722/0.4286, allocations: 1.813 MB / 463 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/0.4289, allocations: 27.73 kB / 463.1 MB, free: 12.47 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.4289, allocations: 11.94 kB / 463.1 MB, free: 12.46 MB / 394.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.0001748/0.4291, allocations: 141.8 kB / 463.2 MB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.989e-05/0.4292, allocations: 11.91 kB / 463.2 MB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006106/0.4298, allocations: 194.8 kB / 463.4 MB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.349e-06/0.4298, allocations: 7.984 kB / 463.4 MB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.903e-06/0.4298, allocations: 0 / 463.4 MB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.876e-06/0.4298, allocations: 0 / 463.4 MB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003557/0.4302, allocations: 229.5 kB / 463.6 MB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.911e-06/0.4302, allocations: 3.938 kB / 463.6 MB, free: 11.81 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008402/0.4311, allocations: 97 kB / 463.7 MB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.329e-06/0.4311, allocations: 4 kB / 463.7 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.4311, allocations: 4 kB / 463.7 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001408/0.4325, allocations: 1.77 MB / 465.5 MB, free: 9.871 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.815e-06/0.4326, allocations: 4.031 kB / 465.5 MB, free: 9.867 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005131/0.4331, allocations: 259.4 kB / 465.8 MB, free: 9.598 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.959e-05/0.4332, allocations: 92.86 kB / 465.9 MB, free: 9.488 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.521e-05/0.4332, allocations: 3.984 kB / 465.9 MB, free: 9.484 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.4334, allocations: 12 kB / 465.9 MB, free: 9.473 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.4e-05/0.4335, allocations: 7.984 kB / 465.9 MB, free: 9.465 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.4335, allocations: 8 kB / 465.9 MB, free: 9.457 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001568/0.4337, allocations: 140.9 kB / 466 MB, free: 9.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.91e-07/0.4337, allocations: 0 / 466 MB, free: 9.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004332/0.4342, allocations: 47.91 kB / 466.1 MB, free: 9.273 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 () * 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.0002528/0.4344, allocations: 143.1 kB / 466.2 MB, free: 9.125 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001339/0.4358, allocations: 192.1 kB / 466.4 MB, free: 8.938 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.4358, allocations: 4 kB / 466.4 MB, free: 8.934 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007707/0.4366, allocations: 111.8 kB / 466.5 MB, free: 8.824 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.437, allocations: 39.97 kB / 466.6 MB, free: 8.785 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008645/0.4379, allocations: 415.8 kB / 467 MB, free: 8.352 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004519/0.4383, allocations: 0.7552 MB / 467.7 MB, free: 7.57 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.671e-05/0.4384, allocations: 15.42 kB / 467.7 MB, free: 7.555 MB / 394.7 MB Notification: Performance of SimCode: time 1.619e-06/0.4384, allocations: 4 kB / 467.7 MB, free: 7.551 MB / 394.7 MB Notification: Performance of Templates: time 0.009013/0.4475, allocations: 4.519 MB / 472.3 MB, free: 3.047 MB / 394.7 MB