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.Orifice.dp_thickEdgedOverall_DPMFLOW.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|L|A_1.1.|A_1.2.|A_1.3.|A_1.4.|A_1.5.|A_1.6.|C_1.1.|C_1.2.|C_1.3.|C_1.4.|C_1.5.|C_1.6.|A0_2_A1.1.|A0_2_A1.2.|A0_2_A1.3.|A0_2_A1.4.|A0_2_A1.5.|A0_2_A1.6.|L|l_bar|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_mdot.5.|input_mdot.6.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|input_dp.5.|input_dp.6.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|M_FLOW.5.|M_FLOW.6.|DP.1.|DP.2.|DP.3.|DP.4.|DP.5.|DP.6.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|DP_plot.5.|DP_plot.6.|A_cross.1.|A_cross.2.|A_cross.3.|A_cross.4.|A_cross.5.|A_cross.6.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|velocity.5.|velocity.6.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|zeta_TOT.5.|zeta_TOT.6.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 2.371/2.371, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.387e-05/1.404e-05, allocations: 0 / 303.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2774, allocations: 54.85 MB / 358.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1356/0.4131, allocations: 87.13 MB / 445.2 MB, free: 7.684 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003276/0.4135, allocations: 95.94 kB / 445.3 MB, free: 7.59 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5845:11-5846:124:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5858:11-5861:59:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5836:11-5843:48:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5849:11-5856:46:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.04752/0.461, allocations: 10.09 MB / 455.4 MB, free: 13.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.367e-06/0.461, allocations: 0 / 455.4 MB, free: 13.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.437e-05/0.4611, allocations: 8 kB / 455.4 MB, free: 13.31 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001127/0.4622, allocations: 0.6544 MB / 456 MB, free: 12.61 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.4623, allocations: 11.97 kB / 456.1 MB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/0.4624, allocations: 55.34 kB / 456.1 MB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005524/0.463, allocations: 318.3 kB / 456.4 MB, free: 12.19 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.902e-05/0.463, allocations: 15.98 kB / 456.4 MB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.925e-05/0.4631, allocations: 31.95 kB / 456.5 MB, free: 12.14 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001175/0.4643, allocations: 0.6272 MB / 457.1 MB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.4655, allocations: 0.5895 MB / 457.7 MB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.4655, allocations: 3.938 kB / 457.7 MB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.556e-05/0.4656, allocations: 0 / 457.7 MB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.623e-05/0.4657, allocations: 49.28 kB / 457.7 MB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003204/0.4689, allocations: 1.574 MB / 459.3 MB, free: 9.18 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006942/0.4696, allocations: 328.3 kB / 459.6 MB, free: 8.852 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002588/0.4699, allocations: 125.2 kB / 459.8 MB, free: 8.727 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.079e-05/0.47, allocations: 8.219 kB / 459.8 MB, free: 8.719 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.335e-05/0.4701, allocations: 46.73 kB / 459.8 MB, free: 8.664 MB / 394.7 MB Notification: Performance of pre-optimization done (n=27): time 4.037e-06/0.4701, allocations: 0 / 459.8 MB, free: 8.664 MB / 394.7 MB Notification: Performance of matching and sorting (n=27): time 0.0008044/0.4709, allocations: 315.9 kB / 460.1 MB, free: 8.352 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.4709, allocations: 51.41 kB / 460.2 MB, free: 8.289 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002977/0.4712, allocations: 199.1 kB / 460.4 MB, free: 8.082 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.561e-05/0.4713, allocations: 25.7 kB / 460.4 MB, free: 8.051 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002512/0.4716, allocations: 350.1 kB / 460.7 MB, free: 7.707 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.4717, allocations: 86.66 kB / 460.8 MB, free: 7.621 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.322e-05/0.4717, allocations: 0 / 460.8 MB, free: 7.621 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.4719, allocations: 326.8 kB / 461.1 MB, free: 7.293 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002658/0.4722, allocations: 123.7 kB / 461.3 MB, free: 7.172 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003931/0.4726, allocations: 229.6 kB / 461.5 MB, free: 6.898 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003374/0.4729, allocations: 155.8 kB / 461.6 MB, free: 6.746 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.797e-06/0.473, allocations: 0 / 461.6 MB, free: 6.746 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009009/0.4739, allocations: 397 kB / 462 MB, free: 6.352 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.4739, allocations: 4 kB / 462 MB, free: 6.348 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.4739, allocations: 4 kB / 462 MB, free: 6.344 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.68e-05/0.474, allocations: 11.95 kB / 462 MB, free: 6.332 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008654/0.4749, allocations: 155.8 kB / 462.2 MB, free: 6.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002897/0.4778, allocations: 3.631 MB / 465.8 MB, free: 2.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003742/0.4782, allocations: 31.69 kB / 465.9 MB, free: 2.379 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.642e-05/0.4783, allocations: 24.27 kB / 465.9 MB, free: 2.355 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001667/0.4784, allocations: 114.8 kB / 466 MB, free: 2.238 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.516e-05/0.4785, allocations: 23.66 kB / 466 MB, free: 2.215 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/0.4799, allocations: 492.2 kB / 466.5 MB, free: 1.727 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.699e-06/0.4799, allocations: 8 kB / 466.5 MB, free: 1.719 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.244e-06/0.4799, allocations: 0 / 466.5 MB, free: 1.719 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.4799, allocations: 0 / 466.5 MB, free: 1.719 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008078/0.4807, allocations: 393.6 kB / 466.9 MB, free: 1.297 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.561e-06/0.4808, allocations: 0 / 466.9 MB, free: 1.297 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007708/0.4816, allocations: 127.8 kB / 467 MB, free: 1.172 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.14e-05/0.4816, allocations: 4 kB / 467 MB, free: 1.168 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.265e-05/0.4816, allocations: 11.98 kB / 467 MB, free: 1.156 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.243/0.7247, allocations: 3.617 MB / 470.6 MB, free: 97.56 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.599e-06/0.7247, allocations: 3.359 kB / 470.6 MB, free: 97.56 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.726, allocations: 0.5906 MB / 471.2 MB, free: 97.42 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002278/0.7262, allocations: 155.2 kB / 471.4 MB, free: 97.33 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.1e-05/0.7263, allocations: 1.297 kB / 471.4 MB, free: 97.33 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002694/0.7266, allocations: 12.91 kB / 471.4 MB, free: 97.33 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.7267, allocations: 25.7 kB / 471.4 MB, free: 97.33 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.826e-05/0.7268, allocations: 13.84 kB / 471.4 MB, free: 97.33 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003453/0.7272, allocations: 172.6 kB / 471.6 MB, free: 97.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.008e-06/0.7272, allocations: 0 / 471.6 MB, free: 97.25 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009195/0.7281, allocations: 187.7 kB / 471.8 MB, free: 97.24 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004282/0.7286, allocations: 206.5 kB / 472 MB, free: 97.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001284/0.7299, allocations: 369.2 kB / 472.4 MB, free: 97.15 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.023e-06/0.7299, allocations: 2.719 kB / 472.4 MB, free: 97.15 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007728/0.7307, allocations: 208.1 kB / 472.6 MB, free: 97.15 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.731, allocations: 16.03 kB / 472.6 MB, free: 97.15 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.7326, allocations: 0.6888 MB / 473.3 MB, free: 96.93 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004626/0.733, allocations: 0.9084 MB / 474.2 MB, free: 96.24 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.7332, allocations: 42 kB / 474.2 MB, free: 96.23 MB / 394.7 MB Notification: Performance of SimCode: time 2.384e-06/0.7332, allocations: 1.375 kB / 474.2 MB, free: 96.23 MB / 394.7 MB Notification: Performance of Templates: time 0.01991/0.7531, allocations: 16.57 MB / 490.8 MB, free: 87.57 MB / 394.7 MB