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_evenGapLaminar.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_evenGapLaminar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dimlesslength|abscissa.1.|abscissa.2.|abscissa.3.|length|dimlesslength|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|velocity.1.|velocity.2.|velocity.3.|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.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.|m_flow.1.|m_flow.2.|m_flow.3.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar") Notification: Performance of loadModel(ModelicaTest): time 2.016/2.016, allocations: 209.3 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004316/0.0004317, allocations: 12 kB / 282.5 MB, free: 9.617 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2845, allocations: 48.7 MB / 331.2 MB, free: 6.488 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.002207/0.2868, allocations: 1.535 MB / 332.7 MB, free: 5.664 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001781/0.2886, allocations: 1.03 MB / 333.8 MB, free: 4.949 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.296e-05/0.2887, allocations: 2.469 kB / 333.8 MB, free: 4.949 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002486/0.289, allocations: 48.98 kB / 333.8 MB, free: 4.926 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002146/0.2892, allocations: 78.72 kB / 333.9 MB, free: 4.875 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004765/0.2897, allocations: 134.8 kB / 334 MB, free: 4.816 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004003/0.2901, allocations: 317.4 kB / 334.3 MB, free: 4.672 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.684e-05/0.2902, allocations: 51.28 kB / 334.4 MB, free: 4.656 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.2904, allocations: 137.7 kB / 334.5 MB, free: 4.598 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002285/0.2907, allocations: 161.3 kB / 334.7 MB, free: 4.531 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.656e-05/0.2907, allocations: 10.94 kB / 334.7 MB, free: 4.531 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005475/0.2913, allocations: 272.9 kB / 335 MB, free: 4.449 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.2914, allocations: 91.64 kB / 335.1 MB, free: 4.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.212e-05/0.2915, allocations: 93.27 kB / 335.1 MB, free: 4.344 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005525/0.2921, allocations: 354.9 kB / 335.5 MB, free: 4.242 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.315e-06/0.2921, allocations: 1.219 kB / 335.5 MB, free: 4.242 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.2921, allocations: 0.8906 kB / 335.5 MB, free: 4.242 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.402e-05/0.2921, allocations: 0 / 335.5 MB, free: 4.242 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.0008897/0.293, allocations: 0.6398 MB / 336.1 MB, free: 3.719 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.2931, allocations: 9.156 kB / 336.1 MB, free: 3.719 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.2932, allocations: 46.28 kB / 336.2 MB, free: 3.695 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003911/0.2936, allocations: 301.6 kB / 336.5 MB, free: 3.441 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.116e-05/0.2937, allocations: 38.28 kB / 336.5 MB, free: 3.426 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.2938, allocations: 44.5 kB / 336.6 MB, free: 3.414 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.295, allocations: 0.6294 MB / 337.2 MB, free: 3.137 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.295, allocations: 0 / 337.2 MB, free: 3.137 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.271e-05/0.2951, allocations: 20.41 kB / 337.2 MB, free: 3.121 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.812e-05/0.2952, allocations: 33.36 kB / 337.2 MB, free: 3.117 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.2962, allocations: 0.5129 MB / 337.8 MB, free: 2.883 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002875/0.2991, allocations: 1.425 MB / 339.2 MB, free: 1.938 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009898/0.3001, allocations: 439.5 kB / 339.6 MB, free: 1.758 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.12e-05/0.3002, allocations: 10.11 kB / 339.6 MB, free: 1.754 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.3002, allocations: 37.16 kB / 339.7 MB, free: 1.711 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 4.599e-06/0.3002, allocations: 0 / 339.7 MB, free: 1.711 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.001286/0.3015, allocations: 0.4999 MB / 340.2 MB, free: 1.492 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.3016, allocations: 54.94 kB / 340.2 MB, free: 1.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008097/0.3024, allocations: 0.5478 MB / 340.8 MB, free: 1.113 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.152e-05/0.3025, allocations: 27.05 kB / 340.8 MB, free: 1.082 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.3026, allocations: 258.2 kB / 341 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.224e-05/0.3027, allocations: 85.72 kB / 341.1 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.38e-05/0.3028, allocations: 10.31 kB / 341.1 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.123e-05/0.3029, allocations: 327.3 kB / 341.4 MB, free: 444 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003767/0.3032, allocations: 153.9 kB / 341.6 MB, free: 380 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004135/0.3037, allocations: 253.1 kB / 341.8 MB, free: 192 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004436/0.3041, allocations: 193.7 kB / 342 MB, free: 112 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.802e-06/0.3041, allocations: 1.062 kB / 342 MB, free: 112 kB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001163/0.3053, allocations: 483.7 kB / 342.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.3054, allocations: 6.781 kB / 342.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001092/0.3055, allocations: 42.91 kB / 342.6 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.3055, allocations: 4.812 kB / 342.6 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/0.3058, allocations: 43.73 kB / 342.6 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.3058, allocations: 4.875 kB / 342.6 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004208/0.3063, allocations: 53.78 kB / 342.7 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.634e-05/0.3063, allocations: 25.55 kB / 342.7 MB, free: 15.82 MB / 282.7 MB Warning: Assuming fixed start value for the following 1 variables: dimlesslength:VARIABLE(start = 0.01 unit = "m" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (41): * Single equations (assignments): 29 * 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.0004778/0.3068, allocations: 228.7 kB / 342.9 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.307, allocations: 42.66 kB / 343 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001403/0.3084, allocations: 0.536 MB / 343.5 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/0.3084, allocations: 4.438 kB / 343.5 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.769e-06/0.3084, allocations: 9.297 kB / 343.5 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.898e-06/0.3085, allocations: 3.984 kB / 343.5 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009211/0.3094, allocations: 431 kB / 343.9 MB, free: 15.01 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.293e-05/0.3095, allocations: 34.16 kB / 344 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002237/0.3097, allocations: 29.7 kB / 344 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.263e-06/0.3098, allocations: 6 kB / 344 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.692e-05/0.3098, allocations: 15.22 kB / 344 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.381e-06/0.3098, allocations: 2.656 kB / 344 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-06/0.3099, allocations: 3.984 kB / 344 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/0.3114, allocations: 0.71 MB / 344.7 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002205/0.3117, allocations: 126.7 kB / 344.8 MB, free: 14.47 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.93e-05/0.3118, allocations: 6.156 kB / 344.9 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002769/0.3121, allocations: 6.188 kB / 344.9 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.549e-05/0.3122, allocations: 22.06 kB / 344.9 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.286e-05/0.3122, allocations: 18.8 kB / 344.9 MB, free: 14.45 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006795/0.3129, allocations: 394.5 kB / 345.3 MB, free: 14.23 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.88e-07/0.3129, allocations: 3.938 kB / 345.3 MB, free: 14.22 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007496/0.3137, allocations: 154.1 kB / 345.4 MB, free: 14.19 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dimlesslength) * 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: 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.0003993/0.3141, allocations: 171 kB / 345.6 MB, free: 14.06 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00122/0.3154, allocations: 0.6742 MB / 346.3 MB, free: 13.55 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.642e-06/0.3154, allocations: 0 / 346.3 MB, free: 13.55 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006504/0.316, allocations: 492.5 kB / 346.8 MB, free: 13.11 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006393/0.3167, allocations: 84.08 kB / 346.8 MB, free: 13.06 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002554/0.3193, allocations: 1.148 MB / 348 MB, free: 12.35 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006545/0.32, allocations: 0.8818 MB / 348.9 MB, free: 11.56 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.3201, allocations: 33.56 kB / 348.9 MB, free: 11.55 MB / 282.7 MB Notification: Performance of SimCode: time 1.732e-06/0.3201, allocations: 0 / 348.9 MB, free: 11.55 MB / 282.7 MB Notification: Performance of Templates: time 0.01642/0.3366, allocations: 8.205 MB / 357.1 MB, free: 4.039 MB / 282.7 MB