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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.805/1.805, allocations: 209.3 MB / 224.9 MB, free: 1.211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004355/0.0004356, allocations: 8 kB / 282.6 MB, free: 9.703 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08618/0.08664, allocations: 48.71 MB / 331.3 MB, free: 8.895 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3885/0.4752, allocations: 81.45 MB / 412.8 MB, free: 3.68 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003165/0.4756, allocations: 103.9 kB / 412.9 MB, free: 3.578 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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.04605/0.5217, allocations: 10.2 MB / 423.1 MB, free: 9.219 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.391e-06/0.5217, allocations: 4 kB / 423.1 MB, free: 9.215 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.698e-05/0.5217, allocations: 4 kB / 423.1 MB, free: 9.211 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.001205/0.5229, allocations: 0.6859 MB / 423.8 MB, free: 8.473 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.523, allocations: 8.031 kB / 423.8 MB, free: 8.465 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001325/0.5231, allocations: 63.3 kB / 423.8 MB, free: 8.402 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005235/0.5237, allocations: 310.2 kB / 424.1 MB, free: 8.059 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.944e-05/0.5237, allocations: 40.98 kB / 424.2 MB, free: 8.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.936e-05/0.5239, allocations: 44 kB / 424.2 MB, free: 7.977 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.5252, allocations: 0.6719 MB / 424.9 MB, free: 7.301 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.5253, allocations: 0 / 424.9 MB, free: 7.301 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.835e-05/0.5253, allocations: 19.98 kB / 424.9 MB, free: 7.281 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.442e-05/0.5254, allocations: 61.17 kB / 425 MB, free: 7.223 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/0.5269, allocations: 0.7311 MB / 425.7 MB, free: 6.492 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003266/0.5302, allocations: 1.747 MB / 427.4 MB, free: 4.613 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008538/0.5311, allocations: 360.1 kB / 427.8 MB, free: 4.254 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.552e-05/0.5312, allocations: 8.219 kB / 427.8 MB, free: 4.246 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.5312, allocations: 38.8 kB / 427.8 MB, free: 4.199 MB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 3.137e-06/0.5312, allocations: 0 / 427.8 MB, free: 4.199 MB / 346.7 MB Notification: Performance of matching and sorting (n=27): time 0.001369/0.5326, allocations: 0.5005 MB / 428.3 MB, free: 3.695 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/0.5327, allocations: 59.36 kB / 428.4 MB, free: 3.625 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006301/0.5333, allocations: 408.7 kB / 428.8 MB, free: 3.219 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.732e-05/0.5334, allocations: 29.7 kB / 428.8 MB, free: 3.184 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000244/0.5336, allocations: 310 kB / 429.1 MB, free: 2.875 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.5337, allocations: 94.64 kB / 429.2 MB, free: 2.781 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/0.5338, allocations: 8 kB / 429.2 MB, free: 2.773 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.534, allocations: 322.8 kB / 429.5 MB, free: 2.449 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003889/0.5344, allocations: 143.9 kB / 429.7 MB, free: 2.309 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004876/0.5349, allocations: 257.3 kB / 429.9 MB, free: 2.008 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004527/0.5354, allocations: 188 kB / 430.1 MB, free: 1.824 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.317e-06/0.5354, allocations: 0 / 430.1 MB, free: 1.824 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001152/0.5365, allocations: 464.9 kB / 430.6 MB, free: 1.363 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.5366, allocations: 8 kB / 430.6 MB, free: 1.355 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.601e-06/0.5366, allocations: 0 / 430.6 MB, free: 1.355 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.5366, allocations: 8 kB / 430.6 MB, free: 1.348 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000849/0.5375, allocations: 164.3 kB / 430.7 MB, free: 1.188 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002841/0.5403, allocations: 3.619 MB / 434.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004334/0.5408, allocations: 55.42 kB / 434.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.609e-05/0.5409, allocations: 23.98 kB / 434.4 MB, free: 13.35 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 () * Number of clocked 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.0003795/0.5413, allocations: 213.6 kB / 434.6 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.5414, allocations: 39.53 kB / 434.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001574/0.543, allocations: 0.552 MB / 435.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.543, allocations: 4 kB / 435.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.912e-06/0.543, allocations: 0 / 435.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.543, allocations: 11.94 kB / 435.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008348/0.5439, allocations: 445.1 kB / 435.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/0.5439, allocations: 4 kB / 435.7 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000771/0.5447, allocations: 143.8 kB / 435.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.199e-05/0.5447, allocations: 4 kB / 435.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.069e-05/0.5448, allocations: 11.98 kB / 435.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002781/0.5476, allocations: 3.602 MB / 439.5 MB, free: 8.133 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.182e-06/0.5476, allocations: 0 / 439.5 MB, free: 8.133 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/0.5491, allocations: 0.676 MB / 440.1 MB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003186/0.5495, allocations: 184.3 kB / 440.3 MB, free: 7.242 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.055e-05/0.5496, allocations: 7.938 kB / 440.3 MB, free: 7.234 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002916/0.5499, allocations: 16.06 kB / 440.3 MB, free: 7.219 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.554e-05/0.55, allocations: 35.89 kB / 440.4 MB, free: 7.184 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.773e-05/0.55, allocations: 8 kB / 440.4 MB, free: 7.176 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005876/0.5506, allocations: 347.1 kB / 440.7 MB, free: 6.836 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.94e-07/0.5506, allocations: 0 / 440.7 MB, free: 6.836 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008012/0.5515, allocations: 179.6 kB / 440.9 MB, free: 6.66 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 () * Number of clocked 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.000458/0.5519, allocations: 214.2 kB / 441.1 MB, free: 6.445 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00144/0.5534, allocations: 431.5 kB / 441.5 MB, free: 6.023 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.521e-06/0.5534, allocations: 0.9375 kB / 441.5 MB, free: 6.023 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008736/0.5543, allocations: 247.6 kB / 441.8 MB, free: 5.781 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.5547, allocations: 29.5 kB / 441.8 MB, free: 5.754 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.5568, allocations: 1.152 MB / 442.9 MB, free: 4.578 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006919/0.5575, allocations: 0.9093 MB / 443.9 MB, free: 3.645 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000183/0.5577, allocations: 47.42 kB / 443.9 MB, free: 3.598 MB / 362.7 MB Notification: Performance of SimCode: time 1.549e-06/0.5577, allocations: 0 / 443.9 MB, free: 3.598 MB / 362.7 MB Notification: Performance of Templates: time 0.0269/0.5846, allocations: 17.21 MB / 461.1 MB, free: 2.359 MB / 378.7 MB