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.84/1.84, allocations: 209.3 MB / 222.4 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.959e-05/2.974e-05, allocations: 8 kB / 277.9 MB, free: 15.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08575/0.0858, allocations: 48.69 MB / 326.6 MB, free: 14.48 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4578/0.5437, allocations: 81.36 MB / 407.9 MB, free: 8.43 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/0.544, allocations: 92.44 kB / 408 MB, free: 8.414 MB / 314.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.04225/0.5862, allocations: 10.21 MB / 418.2 MB, free: 1.141 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.127e-06/0.5863, allocations: 4 kB / 418.2 MB, free: 1.137 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.466e-05/0.5863, allocations: 4 kB / 418.2 MB, free: 1.133 MB / 314.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.0007857/0.5871, allocations: 0.6532 MB / 418.9 MB, free: 472 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.5872, allocations: 8.031 kB / 418.9 MB, free: 464 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.5873, allocations: 62.73 kB / 419 MB, free: 404 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003965/0.5877, allocations: 310.9 kB / 419.3 MB, free: 64 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.371e-05/0.5877, allocations: 39.48 kB / 419.3 MB, free: 40 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.119e-05/0.5878, allocations: 41.81 kB / 419.3 MB, free: 12 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.5891, allocations: 0.6584 MB / 420 MB, free: 15.54 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.5891, allocations: 0 / 420 MB, free: 15.54 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.56e-05/0.5892, allocations: 17.69 kB / 420 MB, free: 15.53 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.259e-05/0.5893, allocations: 48.59 kB / 420.1 MB, free: 15.49 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.5905, allocations: 0.6898 MB / 420.8 MB, free: 14.98 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003216/0.5937, allocations: 1.743 MB / 422.5 MB, free: 13.33 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007282/0.5945, allocations: 332.7 kB / 422.8 MB, free: 13.08 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002788/0.5948, allocations: 135.5 kB / 423 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.637e-05/0.5949, allocations: 12.22 kB / 423 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.5949, allocations: 42.16 kB / 423 MB, free: 12.91 MB / 330.7 MB Notification: Performance of pre-optimization done (n=27): time 3.231e-06/0.5949, allocations: 0 / 423 MB, free: 12.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=27): time 0.0008245/0.5958, allocations: 331.1 kB / 423.3 MB, free: 12.63 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.5958, allocations: 51.41 kB / 423.4 MB, free: 12.57 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006096/0.5964, allocations: 414.6 kB / 423.8 MB, free: 12.22 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/0.5965, allocations: 37.58 kB / 423.8 MB, free: 12.18 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002263/0.5967, allocations: 305.5 kB / 424.1 MB, free: 11.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.5969, allocations: 99.27 kB / 424.2 MB, free: 11.84 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/0.5969, allocations: 9.75 kB / 424.2 MB, free: 11.84 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.5971, allocations: 329.3 kB / 424.6 MB, free: 11.52 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002979/0.5974, allocations: 127.2 kB / 424.7 MB, free: 11.41 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003862/0.5978, allocations: 231.1 kB / 424.9 MB, free: 11.17 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003653/0.5982, allocations: 172.6 kB / 425.1 MB, free: 11.02 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.507e-06/0.5982, allocations: 0 / 425.1 MB, free: 11.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009807/0.5992, allocations: 418.5 kB / 425.5 MB, free: 10.67 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.5992, allocations: 8 kB / 425.5 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.5993, allocations: 4 kB / 425.5 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/0.5993, allocations: 4.469 kB / 425.5 MB, free: 10.65 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008959/0.6002, allocations: 163.2 kB / 425.7 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002858/0.6031, allocations: 3.616 MB / 429.3 MB, free: 6.773 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004346/0.6035, allocations: 62.27 kB / 429.3 MB, free: 6.719 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.743e-05/0.6036, allocations: 23.23 kB / 429.4 MB, free: 6.699 MB / 330.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.0001483/0.6038, allocations: 120 kB / 429.5 MB, free: 6.582 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.6039, allocations: 35.53 kB / 429.5 MB, free: 6.547 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001388/0.6053, allocations: 0.5146 MB / 430 MB, free: 6.109 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.772e-06/0.6053, allocations: 4 kB / 430 MB, free: 6.105 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.448e-06/0.6053, allocations: 3.984 kB / 430 MB, free: 6.102 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.209e-06/0.6053, allocations: 0 / 430 MB, free: 6.102 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007884/0.6061, allocations: 455.2 kB / 430.5 MB, free: 5.676 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.273e-06/0.6062, allocations: 3.938 kB / 430.5 MB, free: 5.672 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007946/0.607, allocations: 139.8 kB / 430.6 MB, free: 5.539 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.432e-06/0.607, allocations: 8 kB / 430.6 MB, free: 5.531 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.824e-05/0.6071, allocations: 7.938 kB / 430.6 MB, free: 5.527 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002803/0.6099, allocations: 3.609 MB / 434.2 MB, free: 1.812 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.476e-06/0.6099, allocations: 0.8594 kB / 434.2 MB, free: 1.812 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.6111, allocations: 0.6225 MB / 434.9 MB, free: 1.273 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002969/0.6114, allocations: 175.3 kB / 435 MB, free: 1.094 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.877e-05/0.6115, allocations: 7.438 kB / 435 MB, free: 1.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002933/0.6118, allocations: 11.62 kB / 435.1 MB, free: 1.082 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.604e-05/0.6119, allocations: 31.39 kB / 435.1 MB, free: 1.055 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.212e-05/0.612, allocations: 19.81 kB / 435.1 MB, free: 1.039 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005113/0.6125, allocations: 334 kB / 435.4 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.42e-07/0.6125, allocations: 0 / 435.4 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008197/0.6134, allocations: 185.1 kB / 435.6 MB, free: 0.6016 MB / 330.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.0004508/0.6138, allocations: 220.8 kB / 435.8 MB, free: 392 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001255/0.6151, allocations: 384.4 kB / 436.2 MB, free: 64 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.186e-06/0.6151, allocations: 4.062 kB / 436.2 MB, free: 60 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008322/0.616, allocations: 223.3 kB / 436.4 MB, free: 15.87 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.6164, allocations: 32.17 kB / 436.5 MB, free: 15.86 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/0.6181, allocations: 0.733 MB / 437.2 MB, free: 15.14 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006983/0.6188, allocations: 0.912 MB / 438.1 MB, free: 14.21 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/0.619, allocations: 46.8 kB / 438.1 MB, free: 14.17 MB / 346.7 MB Notification: Performance of SimCode: time 1.94e-06/0.619, allocations: 0 / 438.1 MB, free: 14.17 MB / 346.7 MB Notification: Performance of Templates: time 0.02746/0.6465, allocations: 17.2 MB / 455.3 MB, free: 12.96 MB / 362.7 MB