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.HeatTransfer.Channel.kc_evenGapOverall.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.HeatTransfer.Channel.kc_evenGapOverall,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_4.1.|Nu_4.2.|Nu_4.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall") Notification: Performance of loadModel(ModelicaTest): time 1.893/1.893, allocations: 209.3 MB / 224.8 MB, free: 204 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004408/0.000441, allocations: 12 kB / 282.5 MB, free: 9.629 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2829, allocations: 48.71 MB / 331.2 MB, free: 6.492 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall): time 0.002576/0.2855, allocations: 1.779 MB / 333 MB, free: 5.504 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003085/0.2886, allocations: 1.795 MB / 334.8 MB, free: 4.258 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001895/0.2888, allocations: 1.062 kB / 334.8 MB, free: 4.258 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00026/0.2891, allocations: 53.97 kB / 334.8 MB, free: 4.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002022/0.2893, allocations: 67.27 kB / 334.9 MB, free: 4.188 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001272/0.2906, allocations: 366.5 kB / 335.3 MB, free: 4.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004499/0.2911, allocations: 350.2 kB / 335.6 MB, free: 3.852 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.2912, allocations: 61.23 kB / 335.7 MB, free: 3.824 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002356/0.2914, allocations: 151.5 kB / 335.8 MB, free: 3.762 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002304/0.2917, allocations: 179.4 kB / 336 MB, free: 3.684 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.159e-05/0.2918, allocations: 11.5 kB / 336 MB, free: 3.684 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001284/0.2931, allocations: 0.6451 MB / 336.6 MB, free: 3.488 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.2932, allocations: 92.52 kB / 336.7 MB, free: 3.445 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.2933, allocations: 94.61 kB / 336.8 MB, free: 3.379 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007406/0.2941, allocations: 478.7 kB / 337.3 MB, free: 3.129 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.489e-06/0.2941, allocations: 0 / 337.3 MB, free: 3.129 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.85e-06/0.2941, allocations: 1.188 kB / 337.3 MB, free: 3.129 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.424e-06/0.2941, allocations: 0 / 337.3 MB, free: 3.129 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001115/0.2952, allocations: 0.7417 MB / 338 MB, free: 2.504 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.2953, allocations: 10.62 kB / 338 MB, free: 2.504 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.2954, allocations: 50.84 kB / 338.1 MB, free: 2.477 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003832/0.2958, allocations: 310.1 kB / 338.4 MB, free: 2.191 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.088e-05/0.2959, allocations: 40.72 kB / 338.4 MB, free: 2.168 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.336e-05/0.296, allocations: 44 kB / 338.5 MB, free: 2.156 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.2972, allocations: 0.6991 MB / 339.2 MB, free: 1.762 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.2973, allocations: 0 / 339.2 MB, free: 1.762 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.709e-05/0.2973, allocations: 20.75 kB / 339.2 MB, free: 1.746 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-05/0.2974, allocations: 24.64 kB / 339.2 MB, free: 1.742 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/0.2986, allocations: 0.5169 MB / 339.7 MB, free: 1.508 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002514/0.3011, allocations: 1.526 MB / 341.3 MB, free: 416 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007798/0.302, allocations: 329.6 kB / 341.6 MB, free: 236 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.24e-05/0.302, allocations: 9.453 kB / 341.6 MB, free: 232 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.3021, allocations: 49.11 kB / 341.6 MB, free: 176 kB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 4.076e-06/0.3021, allocations: 0 / 341.6 MB, free: 176 kB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.002067/0.3042, allocations: 1.01 MB / 342.7 MB, free: 15.38 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.42e-05/0.3043, allocations: 105.3 kB / 342.8 MB, free: 15.25 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009566/0.3052, allocations: 0.5625 MB / 343.3 MB, free: 14.93 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.7e-05/0.3053, allocations: 31.27 kB / 343.4 MB, free: 14.89 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002432/0.3056, allocations: 258.7 kB / 343.6 MB, free: 14.65 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.3057, allocations: 80.12 kB / 343.7 MB, free: 14.58 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.3057, allocations: 5.312 kB / 343.7 MB, free: 14.57 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.3059, allocations: 331.4 kB / 344 MB, free: 14.25 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005326/0.3065, allocations: 157.4 kB / 344.2 MB, free: 14.19 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006039/0.3071, allocations: 273.9 kB / 344.4 MB, free: 13.99 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005809/0.3077, allocations: 195.8 kB / 344.6 MB, free: 13.91 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.194e-06/0.3077, allocations: 1.188 kB / 344.6 MB, free: 13.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001415/0.3091, allocations: 469 kB / 345.1 MB, free: 13.71 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.3092, allocations: 5.844 kB / 345.1 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001082/0.3093, allocations: 43.77 kB / 345.1 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.3093, allocations: 8 kB / 345.1 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002787/0.3096, allocations: 48.69 kB / 345.2 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/0.3097, allocations: 8.453 kB / 345.2 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005222/0.3102, allocations: 77.53 kB / 345.3 MB, free: 13.63 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.702e-05/0.3103, allocations: 18.64 kB / 345.3 MB, free: 13.62 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003875/0.3107, allocations: 227.4 kB / 345.5 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001624/0.3108, allocations: 43.19 kB / 345.6 MB, free: 13.42 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001338/0.3122, allocations: 487.4 kB / 346 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.3122, allocations: 3.5 kB / 346 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.964e-06/0.3122, allocations: 1.125 kB / 346 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.611e-06/0.3123, allocations: 5.266 kB / 346 MB, free: 13.19 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000901/0.3132, allocations: 413.1 kB / 346.4 MB, free: 12.86 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.316e-05/0.3133, allocations: 35.25 kB / 346.5 MB, free: 12.85 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002278/0.3135, allocations: 34.81 kB / 346.5 MB, free: 12.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.068e-06/0.3136, allocations: 5.156 kB / 346.5 MB, free: 12.84 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.929e-05/0.3136, allocations: 11.83 kB / 346.5 MB, free: 12.83 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.3136, allocations: 5.062 kB / 346.5 MB, free: 12.83 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.52e-06/0.3136, allocations: 1.094 kB / 346.5 MB, free: 12.83 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/0.315, allocations: 0.6538 MB / 347.2 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003291/0.3153, allocations: 184.2 kB / 347.4 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.004e-05/0.3154, allocations: 1.781 kB / 347.4 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000425/0.3159, allocations: 27.97 kB / 347.4 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.316, allocations: 20.3 kB / 347.4 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.64e-05/0.3161, allocations: 13.61 kB / 347.4 MB, free: 12.2 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006905/0.3168, allocations: 414.3 kB / 347.8 MB, free: 11.97 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.16e-06/0.3168, allocations: 4 kB / 347.8 MB, free: 11.96 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009308/0.3177, allocations: 168.9 kB / 348 MB, free: 11.93 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005369/0.3183, allocations: 236.3 kB / 348.2 MB, free: 11.77 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001449/0.3197, allocations: 0.6807 MB / 348.9 MB, free: 11.26 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.202e-06/0.3198, allocations: 1.594 kB / 348.9 MB, free: 11.26 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007849/0.3206, allocations: 0.4932 MB / 349.4 MB, free: 10.81 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007602/0.3213, allocations: 91.45 kB / 349.5 MB, free: 10.77 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002266/0.3236, allocations: 1.044 MB / 350.5 MB, free: 10.11 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006749/0.3243, allocations: 0.8875 MB / 351.4 MB, free: 9.312 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.3245, allocations: 33.05 kB / 351.5 MB, free: 9.301 MB / 282.7 MB Notification: Performance of SimCode: time 1.605e-06/0.3245, allocations: 0 / 351.5 MB, free: 9.301 MB / 282.7 MB Notification: Performance of Templates: time 0.01702/0.3415, allocations: 8.663 MB / 360.1 MB, free: 0.8828 MB / 282.7 MB