Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.63/2.63, allocations: 234.9 MB / 251.1 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005969/0.0005971, allocations: 19.98 kB / 315 MB, free: 9.566 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.346, allocations: 54.86 MB / 369.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1638/0.5098, allocations: 87.87 MB / 457.7 MB, free: 2.73 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000435/0.5103, allocations: 99.94 kB / 457.8 MB, free: 2.633 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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.05135/0.5617, allocations: 10.23 MB / 468 MB, free: 8.223 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5617, allocations: 0 / 468 MB, free: 8.223 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.82e-05/0.5617, allocations: 4 kB / 468 MB, free: 8.219 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.001488/0.5632, allocations: 0.686 MB / 468.7 MB, free: 7.484 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.5633, allocations: 12.03 kB / 468.7 MB, free: 7.473 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/0.5634, allocations: 51.34 kB / 468.8 MB, free: 7.422 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006022/0.5641, allocations: 322.2 kB / 469.1 MB, free: 7.066 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.498e-05/0.5641, allocations: 33 kB / 469.1 MB, free: 7.035 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.5642, allocations: 51.95 kB / 469.2 MB, free: 6.984 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/0.5659, allocations: 0.6758 MB / 469.9 MB, free: 6.301 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.5659, allocations: 0 / 469.9 MB, free: 6.301 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.73e-05/0.566, allocations: 16 kB / 469.9 MB, free: 6.285 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.053e-05/0.5661, allocations: 53.28 kB / 469.9 MB, free: 6.234 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001882/0.568, allocations: 0.7351 MB / 470.7 MB, free: 5.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003974/0.572, allocations: 1.739 MB / 472.4 MB, free: 3.629 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.5731, allocations: 365.3 kB / 472.7 MB, free: 3.266 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.02e-05/0.5731, allocations: 16.16 kB / 472.8 MB, free: 3.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.5732, allocations: 38.8 kB / 472.8 MB, free: 3.203 MB / 394.7 MB Notification: Performance of pre-optimization done (n=27): time 3.005e-06/0.5732, allocations: 0 / 472.8 MB, free: 3.203 MB / 394.7 MB Notification: Performance of matching and sorting (n=27): time 0.001738/0.5749, allocations: 0.4922 MB / 473.3 MB, free: 2.707 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.575, allocations: 55.41 kB / 473.3 MB, free: 2.641 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007946/0.5758, allocations: 461.4 kB / 473.8 MB, free: 2.18 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.714e-05/0.5759, allocations: 33.7 kB / 473.8 MB, free: 2.141 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002494/0.5761, allocations: 306 kB / 474.1 MB, free: 1.84 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/0.5763, allocations: 98.64 kB / 474.2 MB, free: 1.742 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.5763, allocations: 8 kB / 474.2 MB, free: 1.734 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.5765, allocations: 322.8 kB / 474.6 MB, free: 1.41 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004941/0.577, allocations: 143.7 kB / 474.7 MB, free: 1.27 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006118/0.5776, allocations: 257.5 kB / 474.9 MB, free: 0.9688 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005732/0.5782, allocations: 183.8 kB / 475.1 MB, free: 0.7891 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.5782, allocations: 0 / 475.1 MB, free: 0.7891 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001425/0.5797, allocations: 461.9 kB / 475.6 MB, free: 340 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.5797, allocations: 7.953 kB / 475.6 MB, free: 332 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.5797, allocations: 4 kB / 475.6 MB, free: 328 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/0.5798, allocations: 8.469 kB / 475.6 MB, free: 320 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/0.581, allocations: 163.8 kB / 475.8 MB, free: 156 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3253/0.9062, allocations: 3.606 MB / 479.4 MB, free: 92.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008406/0.9072, allocations: 62.34 kB / 479.4 MB, free: 92.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/0.9073, allocations: 22.14 kB / 479.4 MB, free: 92.54 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 () * 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.0006541/0.908, allocations: 215.3 kB / 479.7 MB, free: 92.42 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002032/0.9082, allocations: 35.42 kB / 479.7 MB, free: 92.42 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003106/0.9113, allocations: 0.5635 MB / 480.2 MB, free: 92.35 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/0.9114, allocations: 2.656 kB / 480.3 MB, free: 92.35 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.9114, allocations: 4.125 kB / 480.3 MB, free: 92.35 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.9114, allocations: 1.828 kB / 480.3 MB, free: 92.35 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.913, allocations: 449.9 kB / 480.7 MB, free: 92.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/0.913, allocations: 0.6562 kB / 480.7 MB, free: 92.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001797/0.9148, allocations: 142.8 kB / 480.8 MB, free: 92.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-05/0.9149, allocations: 1.281 kB / 480.8 MB, free: 92.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-05/0.915, allocations: 14.17 kB / 480.9 MB, free: 92.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002414/0.9174, allocations: 3.609 MB / 484.5 MB, free: 88.64 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/0.9175, allocations: 2.078 kB / 484.5 MB, free: 88.64 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002819/0.9203, allocations: 0.6706 MB / 485.1 MB, free: 88.49 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005168/0.9209, allocations: 171.3 kB / 485.3 MB, free: 88.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/0.9211, allocations: 7.859 kB / 485.3 MB, free: 88.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000589/0.9217, allocations: 17.44 kB / 485.3 MB, free: 88.37 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.9219, allocations: 30.52 kB / 485.4 MB, free: 88.37 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.057e-05/0.922, allocations: 21.92 kB / 485.4 MB, free: 88.37 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009279/0.9229, allocations: 339.5 kB / 485.7 MB, free: 88.29 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.9229, allocations: 3.938 kB / 485.7 MB, free: 88.28 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001523/0.9245, allocations: 182.5 kB / 485.9 MB, free: 88.27 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 () * 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.0007529/0.9253, allocations: 209.6 kB / 486.1 MB, free: 88.19 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00279/0.9281, allocations: 454.3 kB / 486.5 MB, free: 88.18 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/0.9282, allocations: 4.344 kB / 486.5 MB, free: 88.18 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001723/0.9299, allocations: 259.6 kB / 486.8 MB, free: 88.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000627/0.9306, allocations: 31.06 kB / 486.8 MB, free: 88.18 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003359/0.9339, allocations: 1.152 MB / 488 MB, free: 87.64 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007699/0.9348, allocations: 0.9115 MB / 488.9 MB, free: 86.94 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003898/0.9352, allocations: 49.53 kB / 488.9 MB, free: 86.93 MB / 394.7 MB Notification: Performance of SimCode: time 1.753e-06/0.9352, allocations: 0 / 488.9 MB, free: 86.93 MB / 394.7 MB Notification: Performance of Templates: time 0.03975/0.975, allocations: 17.22 MB / 0.4943 GB, free: 76.29 MB / 394.7 MB