Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.994/1.994, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00044/0.0004402, allocations: 16 kB / 283.1 MB, free: 9.668 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3637, allocations: 48.7 MB / 331.8 MB, free: 6.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1829/0.5467, allocations: 81.46 MB / 413.3 MB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003955/0.5471, allocations: 103.9 kB / 413.4 MB, free: 12.87 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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.05154/0.5987, allocations: 10.19 MB / 423.6 MB, free: 2.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.5987, allocations: 0 / 423.6 MB, free: 2.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.99e-05/0.5988, allocations: 8 kB / 423.6 MB, free: 2.492 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.001505/0.6003, allocations: 0.6821 MB / 424.3 MB, free: 1.758 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.626e-05/0.6004, allocations: 16.02 kB / 424.3 MB, free: 1.742 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001573/0.6005, allocations: 55.3 kB / 424.3 MB, free: 1.688 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006355/0.6012, allocations: 318.2 kB / 424.7 MB, free: 1.336 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.591e-05/0.6013, allocations: 29 kB / 424.7 MB, free: 1.309 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.6014, allocations: 51.94 kB / 424.7 MB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/0.6031, allocations: 0.6797 MB / 425.4 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.6031, allocations: 4 kB / 425.4 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-05/0.6032, allocations: 16 kB / 425.4 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001007/0.6033, allocations: 53.22 kB / 425.5 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001922/0.6052, allocations: 0.735 MB / 426.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004042/0.6093, allocations: 1.747 MB / 428 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.6104, allocations: 347.5 kB / 428.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.011e-05/0.6105, allocations: 16.2 kB / 428.3 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.6106, allocations: 34.8 kB / 428.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 3.176e-06/0.6106, allocations: 4 kB / 428.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.001756/0.6124, allocations: 0.4966 MB / 428.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.6124, allocations: 55.41 kB / 428.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007975/0.6132, allocations: 457.5 kB / 429.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.817e-05/0.6133, allocations: 29.7 kB / 429.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002319/0.6135, allocations: 310 kB / 429.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.6137, allocations: 94.66 kB / 429.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/0.6137, allocations: 8 kB / 429.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.6139, allocations: 322.8 kB / 430.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005195/0.6144, allocations: 147.9 kB / 430.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006464/0.6151, allocations: 257.3 kB / 430.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005867/0.6157, allocations: 188 kB / 430.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.6157, allocations: 0 / 430.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001444/0.6172, allocations: 460.9 kB / 431.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.6172, allocations: 4.625 kB / 431.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.6172, allocations: 4.469 kB / 431.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.842e-05/0.6173, allocations: 12 kB / 431.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/0.6185, allocations: 167.8 kB / 431.3 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002489/0.621, allocations: 3.615 MB / 434.9 MB, free: 6.668 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005672/0.6216, allocations: 59.38 kB / 435 MB, free: 6.609 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.247e-05/0.6217, allocations: 23.98 kB / 435 MB, free: 6.586 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.0004098/0.6221, allocations: 217.6 kB / 435.2 MB, free: 6.363 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.6222, allocations: 35.53 kB / 435.3 MB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002028/0.6243, allocations: 0.5481 MB / 435.8 MB, free: 5.773 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.6243, allocations: 8 kB / 435.8 MB, free: 5.766 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.6243, allocations: 3.938 kB / 435.8 MB, free: 5.762 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.6244, allocations: 3.984 kB / 435.8 MB, free: 5.758 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009589/0.6253, allocations: 457.1 kB / 436.3 MB, free: 5.262 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.6253, allocations: 0 / 436.3 MB, free: 5.262 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/0.6265, allocations: 131.8 kB / 436.4 MB, free: 5.133 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-06/0.6265, allocations: 0 / 436.4 MB, free: 5.133 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.67e-05/0.6265, allocations: 15.98 kB / 436.4 MB, free: 5.117 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002476/0.629, allocations: 3.602 MB / 440 MB, free: 1.375 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.6291, allocations: 0 / 440 MB, free: 1.375 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001899/0.631, allocations: 0.6799 MB / 440.7 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003416/0.6314, allocations: 188.4 kB / 440.9 MB, free: 488 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.6315, allocations: 4 kB / 440.9 MB, free: 484 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003905/0.6319, allocations: 15.98 kB / 440.9 MB, free: 468 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.857e-05/0.632, allocations: 23.91 kB / 440.9 MB, free: 444 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-05/0.6321, allocations: 19.98 kB / 440.9 MB, free: 424 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006232/0.6327, allocations: 335.1 kB / 441.3 MB, free: 88 kB / 362.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.6327, allocations: 3.938 kB / 441.3 MB, free: 84 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009539/0.6337, allocations: 179.7 kB / 441.5 MB, free: 15.9 MB / 378.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.0005265/0.6342, allocations: 222.9 kB / 441.7 MB, free: 15.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002024/0.6362, allocations: 452.3 kB / 442.1 MB, free: 15.24 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.6363, allocations: 4.062 kB / 442.1 MB, free: 15.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001292/0.6376, allocations: 263.6 kB / 442.4 MB, free: 14.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.638, allocations: 33.44 kB / 442.4 MB, free: 14.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002704/0.6407, allocations: 1.147 MB / 443.6 MB, free: 13.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007097/0.6415, allocations: 0.9093 MB / 444.5 MB, free: 12.83 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002738/0.6417, allocations: 43.42 kB / 444.5 MB, free: 12.79 MB / 378.7 MB Notification: Performance of SimCode: time 1.232e-06/0.6418, allocations: 0 / 444.5 MB, free: 12.79 MB / 378.7 MB Notification: Performance of Templates: time 0.04863/0.6904, allocations: 17.22 MB / 461.7 MB, free: 11.54 MB / 394.7 MB