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.HelicalPipe.kc_turbulent_KC.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.HelicalPipe.kc_turbulent_KC,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|n_nt.1.|n_nt.2.|n_nt.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.|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.|kc_1.1.|kc_1.2.|kc_1.3.|kc_2.1.|kc_2.2.|kc_2.3.|kc_3.1.|kc_3.2.|kc_3.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.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC") Notification: Performance of loadModel(ModelicaTest): time 1.961/1.961, allocations: 209.3 MB / 224.8 MB, free: 204 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001083/0.001083, allocations: 8 kB / 282.5 MB, free: 9.609 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2884, allocations: 48.7 MB / 331.2 MB, free: 6.496 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.00223/0.2907, allocations: 1.607 MB / 332.8 MB, free: 5.613 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0014/0.2921, allocations: 0.8274 MB / 333.7 MB, free: 5.039 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.482e-05/0.2922, allocations: 1.219 kB / 333.7 MB, free: 5.039 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002341/0.2925, allocations: 52.72 kB / 333.7 MB, free: 5.012 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003048/0.2928, allocations: 87.52 kB / 333.8 MB, free: 4.961 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.2931, allocations: 76.92 kB / 333.9 MB, free: 4.93 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003167/0.2934, allocations: 252.9 kB / 334.1 MB, free: 4.805 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.7e-05/0.2935, allocations: 43.81 kB / 334.2 MB, free: 4.789 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002073/0.2938, allocations: 113.9 kB / 334.3 MB, free: 4.742 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/0.294, allocations: 136.4 kB / 334.4 MB, free: 4.691 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.028e-05/0.294, allocations: 8.438 kB / 334.4 MB, free: 4.691 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000351/0.2944, allocations: 162.5 kB / 334.6 MB, free: 4.641 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.2945, allocations: 86.33 kB / 334.7 MB, free: 4.605 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.891e-05/0.2946, allocations: 84.33 kB / 334.7 MB, free: 4.543 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000431/0.2951, allocations: 267.6 kB / 335 MB, free: 4.469 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.951e-06/0.2951, allocations: 1 kB / 335 MB, free: 4.469 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.95e-06/0.2951, allocations: 0 / 335 MB, free: 4.469 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.353e-06/0.2951, allocations: 0 / 335 MB, free: 4.469 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0008944/0.296, allocations: 0.5976 MB / 335.6 MB, free: 3.969 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.2961, allocations: 9.406 kB / 335.6 MB, free: 3.969 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.2962, allocations: 37.62 kB / 335.6 MB, free: 3.949 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.2965, allocations: 284 kB / 335.9 MB, free: 3.699 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.35e-05/0.2966, allocations: 24 kB / 335.9 MB, free: 3.691 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.527e-05/0.2967, allocations: 35.25 kB / 336 MB, free: 3.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.2978, allocations: 0.5607 MB / 336.5 MB, free: 3.492 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.2978, allocations: 0 / 336.5 MB, free: 3.492 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.025e-05/0.2979, allocations: 12.28 kB / 336.5 MB, free: 3.484 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.995e-05/0.298, allocations: 42.28 kB / 336.6 MB, free: 3.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.2992, allocations: 0.5757 MB / 337.2 MB, free: 3.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002202/0.3014, allocations: 1.203 MB / 338.4 MB, free: 2.438 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008812/0.3023, allocations: 381.1 kB / 338.7 MB, free: 2.281 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.126e-05/0.3024, allocations: 7.594 kB / 338.7 MB, free: 2.277 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.3024, allocations: 31.97 kB / 338.8 MB, free: 2.238 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 3.527e-06/0.3024, allocations: 1.062 kB / 338.8 MB, free: 2.238 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.001238/0.3037, allocations: 486.9 kB / 339.3 MB, free: 2.027 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/0.3037, allocations: 53.94 kB / 339.3 MB, free: 1.965 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005917/0.3043, allocations: 447.1 kB / 339.7 MB, free: 1.711 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.3044, allocations: 39.08 kB / 339.8 MB, free: 1.668 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.846e-05/0.3045, allocations: 222.5 kB / 340 MB, free: 1.457 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.569e-05/0.3046, allocations: 81.14 kB / 340.1 MB, free: 1.387 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.078e-05/0.3046, allocations: 0 / 340.1 MB, free: 1.387 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.645e-05/0.3047, allocations: 326.1 kB / 340.4 MB, free: 1.062 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003307/0.305, allocations: 122.5 kB / 340.5 MB, free: 1.016 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003185/0.3054, allocations: 124.2 kB / 340.6 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003588/0.3057, allocations: 135.5 kB / 340.8 MB, free: 0.918 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.76e-06/0.3057, allocations: 0 / 340.8 MB, free: 0.918 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.00082/0.3066, allocations: 331.9 kB / 341.1 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.3066, allocations: 5.344 kB / 341.1 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.3066, allocations: 1.125 kB / 341.1 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.3067, allocations: 1.219 kB / 341.1 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/0.3077, allocations: 153.5 kB / 341.3 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004152/0.3118, allocations: 5.519 MB / 346.8 MB, free: 11.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003762/0.3122, allocations: 46.39 kB / 346.8 MB, free: 11.22 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.546e-05/0.3123, allocations: 14.92 kB / 346.8 MB, free: 11.21 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003241/0.3127, allocations: 190.5 kB / 347 MB, free: 11.06 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.95e-05/0.3128, allocations: 35.38 kB / 347.1 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001233/0.314, allocations: 469.9 kB / 347.5 MB, free: 10.8 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.581e-06/0.314, allocations: 2.906 kB / 347.5 MB, free: 10.8 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.242e-06/0.314, allocations: 0 / 347.5 MB, free: 10.8 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.459e-06/0.3141, allocations: 5.453 kB / 347.5 MB, free: 10.8 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006606/0.3147, allocations: 370.4 kB / 347.9 MB, free: 10.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.757e-06/0.3148, allocations: 4 kB / 347.9 MB, free: 10.49 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009928/0.3158, allocations: 157.4 kB / 348 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.867e-06/0.3158, allocations: 1.438 kB / 348 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.592e-05/0.3158, allocations: 8.141 kB / 348 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004412/0.3203, allocations: 5.519 MB / 353.6 MB, free: 4.969 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.796e-06/0.3203, allocations: 1.688 kB / 353.6 MB, free: 4.969 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.3213, allocations: 453 kB / 354 MB, free: 4.707 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001748/0.3215, allocations: 119 kB / 354.1 MB, free: 4.586 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.798e-05/0.3216, allocations: 9.141 kB / 354.1 MB, free: 4.578 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002783/0.3219, allocations: 14.97 kB / 354.1 MB, free: 4.57 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.55e-05/0.322, allocations: 22.84 kB / 354.2 MB, free: 4.559 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.003e-05/0.3221, allocations: 10.23 kB / 354.2 MB, free: 4.555 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005367/0.3226, allocations: 339.6 kB / 354.5 MB, free: 4.352 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.31e-07/0.3227, allocations: 1.094 kB / 354.5 MB, free: 4.352 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005508/0.3232, allocations: 100.7 kB / 354.6 MB, free: 4.336 MB / 282.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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {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.0003019/0.3235, allocations: 157.5 kB / 354.8 MB, free: 4.203 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001653/0.3252, allocations: 406.5 kB / 355.2 MB, free: 4.074 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.01e-06/0.3252, allocations: 0 / 355.2 MB, free: 4.074 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001238/0.3265, allocations: 287.6 kB / 355.4 MB, free: 3.98 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005697/0.3271, allocations: 80.92 kB / 355.5 MB, free: 3.941 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/0.3289, allocations: 0.9071 MB / 356.4 MB, free: 3.344 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006122/0.3295, allocations: 0.8507 MB / 357.3 MB, free: 2.566 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.3297, allocations: 31.23 kB / 357.3 MB, free: 2.555 MB / 282.7 MB Notification: Performance of SimCode: time 6.078e-06/0.3297, allocations: 4 kB / 357.3 MB, free: 2.551 MB / 282.7 MB Notification: Performance of Templates: time 0.02817/0.3579, allocations: 18.55 MB / 375.9 MB, free: 1.078 MB / 298.7 MB