Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|m_flow_4.1.|m_flow_4.2.|m_flow_4.3.|kc_OUT_1.1.|kc_OUT_1.2.|kc_OUT_1.3.|kc_OUT_2.1.|kc_OUT_2.2.|kc_OUT_2.3.|kc_OUT_3.1.|kc_OUT_3.2.|kc_OUT_3.3.|kc_OUT_4.1.|kc_OUT_4.2.|kc_OUT_4.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|Re_4.1.|Re_4.2.|Re_4.3.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC") Notification: Performance of loadModel(ModelicaTest): time 2.188/2.188, allocations: 234.9 MB / 250.5 MB, free: 9.477 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004373/0.0004375, allocations: 16 kB / 314.3 MB, free: 9.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2741, allocations: 54.87 MB / 369.2 MB, free: 10.69 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC): time 0.002841/0.277, allocations: 1.731 MB / 370.9 MB, free: 8.934 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.2787, allocations: 0.8392 MB / 371.8 MB, free: 8.09 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.056e-05/0.2789, allocations: 0 / 371.8 MB, free: 8.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002572/0.2791, allocations: 59.72 kB / 371.8 MB, free: 8.031 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003827/0.2795, allocations: 107.6 kB / 371.9 MB, free: 7.926 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.2798, allocations: 75.84 kB / 372 MB, free: 7.852 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004449/0.2803, allocations: 311.3 kB / 372.3 MB, free: 7.547 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.2804, allocations: 57.06 kB / 372.4 MB, free: 7.488 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002548/0.2807, allocations: 147.3 kB / 372.5 MB, free: 7.344 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002742/0.281, allocations: 175.2 kB / 372.7 MB, free: 7.172 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.508e-05/0.281, allocations: 12 kB / 372.7 MB, free: 7.16 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003952/0.2815, allocations: 179.8 kB / 372.9 MB, free: 6.984 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.2816, allocations: 99.62 kB / 373 MB, free: 6.887 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.2817, allocations: 97.45 kB / 373.1 MB, free: 6.785 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00052/0.2823, allocations: 343.7 kB / 373.4 MB, free: 6.449 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.723e-06/0.2823, allocations: 4 kB / 373.4 MB, free: 6.445 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.032e-06/0.2823, allocations: 0 / 373.4 MB, free: 6.445 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.2823, allocations: 0 / 373.4 MB, free: 6.445 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001229/0.2835, allocations: 0.6743 MB / 374.1 MB, free: 5.723 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.2836, allocations: 8.031 kB / 374.1 MB, free: 5.715 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/0.2837, allocations: 51.34 kB / 374.1 MB, free: 5.664 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004726/0.2842, allocations: 295 kB / 374.4 MB, free: 5.336 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.588e-05/0.2843, allocations: 37 kB / 374.5 MB, free: 5.301 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.2844, allocations: 47.98 kB / 374.5 MB, free: 5.254 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.2858, allocations: 0.7108 MB / 375.2 MB, free: 4.539 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.2859, allocations: 0 / 375.2 MB, free: 4.539 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.871e-05/0.286, allocations: 19.98 kB / 375.3 MB, free: 4.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-05/0.2861, allocations: 61.22 kB / 375.3 MB, free: 4.461 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001641/0.2877, allocations: 0.7545 MB / 376.1 MB, free: 3.703 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00296/0.2907, allocations: 1.453 MB / 377.5 MB, free: 2.191 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.2918, allocations: 460.4 kB / 378 MB, free: 1.734 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.03e-05/0.2919, allocations: 12.22 kB / 378 MB, free: 1.723 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.292, allocations: 34.78 kB / 378 MB, free: 1.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=28): time 3.718e-06/0.292, allocations: 0 / 378 MB, free: 1.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.001575/0.2936, allocations: 0.5558 MB / 378.6 MB, free: 1.117 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.575e-05/0.2936, allocations: 55.41 kB / 378.6 MB, free: 1.051 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008313/0.2945, allocations: 0.5173 MB / 379.1 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.054e-05/0.2946, allocations: 29.7 kB / 379.2 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002247/0.2948, allocations: 282.8 kB / 379.4 MB, free: 220 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.2949, allocations: 98.59 kB / 379.5 MB, free: 120 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-05/0.295, allocations: 4 kB / 379.5 MB, free: 116 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000197/0.2952, allocations: 330.8 kB / 379.9 MB, free: 15.78 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004506/0.2956, allocations: 160.5 kB / 380 MB, free: 15.62 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005153/0.2962, allocations: 252.3 kB / 380.3 MB, free: 15.34 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000511/0.2967, allocations: 196.7 kB / 380.5 MB, free: 15.14 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.992e-06/0.2967, allocations: 0 / 380.5 MB, free: 15.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001234/0.298, allocations: 484.9 kB / 380.9 MB, free: 14.66 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.298, allocations: 8.375 kB / 380.9 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.723e-06/0.298, allocations: 7.938 kB / 381 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.2981, allocations: 8 kB / 381 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/0.2994, allocations: 203.8 kB / 381.2 MB, free: 14.44 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005774/0.3052, allocations: 7.314 MB / 388.5 MB, free: 6.848 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004697/0.3057, allocations: 63.33 kB / 388.5 MB, free: 6.785 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-05/0.3058, allocations: 19.98 kB / 388.6 MB, free: 6.766 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (40): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003985/0.3062, allocations: 230.2 kB / 388.8 MB, free: 6.531 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.3063, allocations: 43.44 kB / 388.8 MB, free: 6.488 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00145/0.3078, allocations: 0.5603 MB / 389.4 MB, free: 5.922 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.912e-06/0.3078, allocations: 4 kB / 389.4 MB, free: 5.918 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.908e-06/0.3078, allocations: 0 / 389.4 MB, free: 5.918 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.3078, allocations: 7.984 kB / 389.4 MB, free: 5.91 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007675/0.3086, allocations: 433.1 kB / 389.8 MB, free: 5.434 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.3086, allocations: 3.984 kB / 389.8 MB, free: 5.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001177/0.3098, allocations: 199.8 kB / 390 MB, free: 5.234 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.028e-05/0.3099, allocations: 4 kB / 390 MB, free: 5.23 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.249e-05/0.3099, allocations: 11.98 kB / 390 MB, free: 5.219 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005756/0.3157, allocations: 7.317 MB / 397.3 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.032e-06/0.3157, allocations: 0 / 397.3 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.3169, allocations: 0.5116 MB / 397.9 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001801/0.3171, allocations: 128.5 kB / 398 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.768e-05/0.3172, allocations: 4 kB / 398 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003296/0.3176, allocations: 15.98 kB / 398 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.897e-05/0.3177, allocations: 27.95 kB / 398 MB, free: 12.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.516e-05/0.3178, allocations: 15.98 kB / 398 MB, free: 12.89 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006186/0.3184, allocations: 391 kB / 398.4 MB, free: 12.5 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.171e-06/0.3184, allocations: 0 / 398.4 MB, free: 12.5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000643/0.3191, allocations: 131.8 kB / 398.6 MB, free: 12.38 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003009/0.3194, allocations: 147.1 kB / 398.7 MB, free: 12.22 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002146/0.3215, allocations: 0.5394 MB / 399.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.3216, allocations: 0 / 399.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001529/0.3231, allocations: 351.5 kB / 399.6 MB, free: 11.34 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005807/0.3237, allocations: 85.86 kB / 399.7 MB, free: 11.25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/0.3259, allocations: 1.089 MB / 400.8 MB, free: 10.13 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006603/0.3266, allocations: 0.8936 MB / 401.7 MB, free: 9.207 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.3267, allocations: 39.41 kB / 401.7 MB, free: 9.168 MB / 330.7 MB Notification: Performance of SimCode: time 1.531e-06/0.3268, allocations: 0 / 401.7 MB, free: 9.168 MB / 330.7 MB Notification: Performance of Templates: time 0.0404/0.3672, allocations: 28.33 MB / 430 MB, free: 12.82 MB / 362.7 MB