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.Orifice.dp_thickEdgedOverall_DPMFLOW.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 1.973/1.973, allocations: 209.4 MB / 217.3 MB, free: 4.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.711e-05/1.72e-05, allocations: 4 kB / 271.3 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2617, allocations: 48.69 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1205/0.3823, allocations: 80.7 MB / 400.7 MB, free: 15.73 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003102/0.3826, allocations: 95.94 kB / 400.8 MB, free: 15.64 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1/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.1/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.1/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.04497/0.4276, allocations: 10.09 MB / 410.9 MB, free: 5.371 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.911e-06/0.4277, allocations: 4 kB / 410.9 MB, free: 5.367 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.626e-05/0.4277, allocations: 4 kB / 410.9 MB, free: 5.363 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.00109/0.4288, allocations: 0.6544 MB / 411.6 MB, free: 4.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.4289, allocations: 12.03 kB / 411.6 MB, free: 4.648 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000133/0.429, allocations: 59.3 kB / 411.7 MB, free: 4.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000538/0.4295, allocations: 314.2 kB / 412 MB, free: 4.242 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.088e-05/0.4296, allocations: 19.94 kB / 412 MB, free: 4.223 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.008e-05/0.4297, allocations: 24 kB / 412 MB, free: 4.199 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001179/0.4309, allocations: 0.635 MB / 412.6 MB, free: 3.566 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.432, allocations: 0.5856 MB / 413.2 MB, free: 2.973 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.4321, allocations: 0 / 413.2 MB, free: 2.973 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.538e-05/0.4321, allocations: 0 / 413.2 MB, free: 2.973 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.352e-05/0.4322, allocations: 57.23 kB / 413.3 MB, free: 2.918 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003076/0.4353, allocations: 1.582 MB / 414.9 MB, free: 1.219 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000699/0.436, allocations: 325.7 kB / 415.2 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000262/0.4363, allocations: 121.2 kB / 415.3 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.954e-05/0.4364, allocations: 12.22 kB / 415.3 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.4364, allocations: 34.8 kB / 415.3 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 3.669e-06/0.4365, allocations: 0 / 415.3 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of matching and sorting (n=27): time 0.0007931/0.4373, allocations: 312 kB / 415.6 MB, free: 420 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.4373, allocations: 59.34 kB / 415.7 MB, free: 348 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002932/0.4376, allocations: 210.9 kB / 415.9 MB, free: 128 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.759e-05/0.4377, allocations: 33.64 kB / 415.9 MB, free: 88 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002553/0.4379, allocations: 338.1 kB / 416.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.4381, allocations: 90.66 kB / 416.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.241e-05/0.4381, allocations: 0 / 416.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.4383, allocations: 326.8 kB / 416.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000264/0.4385, allocations: 119.9 kB / 416.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003664/0.4389, allocations: 229.6 kB / 417 MB, free: 14.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003393/0.4393, allocations: 160 kB / 417.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.765e-06/0.4393, allocations: 0 / 417.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009378/0.4402, allocations: 393.1 kB / 417.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.4403, allocations: 4 kB / 417.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.4403, allocations: 4 kB / 417.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.572e-05/0.4404, allocations: 8 kB / 417.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008752/0.4412, allocations: 164.2 kB / 417.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00283/0.4441, allocations: 3.622 MB / 421.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000378/0.4445, allocations: 36.03 kB / 421.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.796e-05/0.4446, allocations: 23.98 kB / 421.4 MB, free: 10.4 MB / 362.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.00016/0.4448, allocations: 113.6 kB / 421.5 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.527e-05/0.4449, allocations: 19.72 kB / 421.6 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001304/0.4462, allocations: 0.4884 MB / 422 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.404e-06/0.4462, allocations: 4 kB / 422 MB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.4462, allocations: 0 / 422 MB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.4462, allocations: 3.938 kB / 422 MB, free: 9.762 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007628/0.447, allocations: 393.6 kB / 422.4 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.605e-06/0.447, allocations: 4 kB / 422.4 MB, free: 9.336 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007745/0.4478, allocations: 131.8 kB / 422.6 MB, free: 9.207 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.017e-05/0.4478, allocations: 4 kB / 422.6 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.636e-05/0.4479, allocations: 7.984 kB / 422.6 MB, free: 9.195 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002823/0.4507, allocations: 3.621 MB / 426.2 MB, free: 5.434 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.349e-06/0.4508, allocations: 288 / 426.2 MB, free: 5.434 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.452, allocations: 0.5896 MB / 426.8 MB, free: 4.824 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002453/0.4522, allocations: 152.7 kB / 426.9 MB, free: 4.656 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.341e-05/0.4523, allocations: 3.984 kB / 426.9 MB, free: 4.652 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002639/0.4526, allocations: 8 kB / 426.9 MB, free: 4.645 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.037e-05/0.4527, allocations: 31.89 kB / 427 MB, free: 4.613 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.476e-05/0.4528, allocations: 16 kB / 427 MB, free: 4.598 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002365/0.453, allocations: 172.4 kB / 427.2 MB, free: 4.426 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.43e-07/0.453, allocations: 0 / 427.2 MB, free: 4.426 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008248/0.4539, allocations: 179.3 kB / 427.3 MB, free: 4.25 MB / 362.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.0004502/0.4543, allocations: 207 kB / 427.5 MB, free: 4.039 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001201/0.4555, allocations: 359.6 kB / 427.9 MB, free: 3.688 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.4556, allocations: 0.9375 kB / 427.9 MB, free: 3.688 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007676/0.4563, allocations: 212.3 kB / 428.1 MB, free: 3.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.4567, allocations: 17.8 kB / 428.1 MB, free: 3.465 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.4584, allocations: 0.7027 MB / 428.8 MB, free: 2.73 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007172/0.4591, allocations: 0.9164 MB / 429.7 MB, free: 1.789 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/0.4593, allocations: 39.42 kB / 429.8 MB, free: 1.75 MB / 362.7 MB Notification: Performance of SimCode: time 1.673e-06/0.4593, allocations: 0 / 429.8 MB, free: 1.75 MB / 362.7 MB Notification: Performance of Templates: time 0.02592/0.4853, allocations: 16.57 MB / 446.3 MB, free: 1.172 MB / 378.7 MB