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.StraightPipe.kc_overall_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.StraightPipe.kc_overall_KC,tolerance=1e-05,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_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.|kc_4.1.|kc_4.2.|kc_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.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC") Notification: Performance of loadModel(ModelicaTest): time 1.95/1.95, allocations: 209.3 MB / 224.8 MB, free: 204 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007949/0.0007954, allocations: 12 kB / 282.5 MB, free: 9.613 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4206/0.4214, allocations: 48.71 MB / 331.2 MB, free: 6.484 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC): time 0.002444/0.4239, allocations: 1.741 MB / 333 MB, free: 5.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002731/0.4267, allocations: 1.575 MB / 334.5 MB, free: 4.434 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001734/0.4269, allocations: 1.25 kB / 334.5 MB, free: 4.434 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002678/0.4272, allocations: 64.38 kB / 334.6 MB, free: 4.398 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003935/0.4276, allocations: 97.59 kB / 334.7 MB, free: 4.344 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009862/0.4286, allocations: 293 kB / 335 MB, free: 4.211 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004153/0.429, allocations: 320 kB / 335.3 MB, free: 4.055 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.4292, allocations: 61.98 kB / 335.3 MB, free: 4.027 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002315/0.4294, allocations: 138.2 kB / 335.5 MB, free: 3.973 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002522/0.4297, allocations: 175.3 kB / 335.7 MB, free: 3.902 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.809e-05/0.4297, allocations: 9.281 kB / 335.7 MB, free: 3.902 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001217/0.431, allocations: 0.595 MB / 336.3 MB, free: 3.719 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.4311, allocations: 104.3 kB / 336.4 MB, free: 3.676 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.4312, allocations: 96.64 kB / 336.5 MB, free: 3.609 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007337/0.432, allocations: 472.7 kB / 336.9 MB, free: 3.387 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.59e-06/0.432, allocations: 0 / 336.9 MB, free: 3.387 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.251e-06/0.432, allocations: 0 / 336.9 MB, free: 3.387 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.432, allocations: 0 / 336.9 MB, free: 3.387 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.001072/0.4331, allocations: 0.7229 MB / 337.6 MB, free: 2.754 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.4332, allocations: 9.469 kB / 337.7 MB, free: 2.754 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.4333, allocations: 52.62 kB / 337.7 MB, free: 2.727 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003879/0.4337, allocations: 311.5 kB / 338 MB, free: 2.445 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.998e-05/0.4338, allocations: 39.28 kB / 338 MB, free: 2.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.079e-05/0.4339, allocations: 48.7 kB / 338.1 MB, free: 2.414 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.4352, allocations: 0.7573 MB / 338.8 MB, free: 1.996 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.4352, allocations: 0 / 338.8 MB, free: 1.996 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.083e-05/0.4353, allocations: 28.02 kB / 338.9 MB, free: 1.973 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.524e-05/0.4354, allocations: 55.67 kB / 338.9 MB, free: 1.961 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001627/0.4371, allocations: 0.8052 MB / 339.7 MB, free: 1.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002934/0.44, allocations: 1.542 MB / 341.3 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.4411, allocations: 451.3 kB / 341.7 MB, free: 380 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.379e-05/0.4411, allocations: 12.48 kB / 341.7 MB, free: 372 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.4412, allocations: 36.77 kB / 341.8 MB, free: 328 kB / 266.7 MB Notification: Performance of pre-optimization done (n=28): time 3.443e-06/0.4412, allocations: 4 kB / 341.8 MB, free: 324 kB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.001483/0.4427, allocations: 0.5549 MB / 342.3 MB, free: 76 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.585e-05/0.4427, allocations: 58.39 kB / 342.4 MB, free: 8 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009568/0.4437, allocations: 0.5751 MB / 343 MB, free: 15.67 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.793e-05/0.4437, allocations: 30.92 kB / 343 MB, free: 15.64 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002619/0.444, allocations: 317.5 kB / 343.3 MB, free: 15.34 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.4442, allocations: 104.7 kB / 343.4 MB, free: 15.25 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.294e-05/0.4442, allocations: 10.88 kB / 343.4 MB, free: 15.25 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.4444, allocations: 333.2 kB / 343.7 MB, free: 14.92 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005141/0.4449, allocations: 191.8 kB / 343.9 MB, free: 14.84 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007221/0.4457, allocations: 437.2 kB / 344.4 MB, free: 14.44 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006613/0.4464, allocations: 268 kB / 344.6 MB, free: 14.32 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.599e-06/0.4464, allocations: 14.34 kB / 344.6 MB, free: 14.31 MB / 282.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001633/0.448, allocations: 0.6505 MB / 345.3 MB, free: 14.01 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.4481, allocations: 8.656 kB / 345.3 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/0.4481, allocations: 9.219 kB / 345.3 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.853e-05/0.4482, allocations: 11.47 kB / 345.3 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/0.4496, allocations: 243.8 kB / 345.5 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00582/0.4554, allocations: 7.317 MB / 352.9 MB, free: 6.668 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007123/0.4562, allocations: 92.98 kB / 353 MB, free: 6.605 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.002e-05/0.4563, allocations: 34.61 kB / 353 MB, free: 6.598 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,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 (64): * Single equations (assignments): 52 * 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.0004734/0.4568, allocations: 268.4 kB / 353.2 MB, free: 6.398 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.4569, allocations: 49.16 kB / 353.3 MB, free: 6.371 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001576/0.4585, allocations: 0.5768 MB / 353.9 MB, free: 6.07 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.4585, allocations: 4.938 kB / 353.9 MB, free: 6.07 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.424e-06/0.4585, allocations: 3.953 kB / 353.9 MB, free: 6.066 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-06/0.4586, allocations: 0 / 353.9 MB, free: 6.066 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008253/0.4594, allocations: 435.9 kB / 354.3 MB, free: 5.727 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.739e-06/0.4594, allocations: 7.984 kB / 354.3 MB, free: 5.719 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/0.4607, allocations: 201.8 kB / 354.5 MB, free: 5.672 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.25e-06/0.4607, allocations: 1.375 kB / 354.5 MB, free: 5.672 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.476e-05/0.4608, allocations: 13.48 kB / 354.5 MB, free: 5.664 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005794/0.4666, allocations: 7.307 MB / 361.8 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.955e-06/0.4666, allocations: 1.344 kB / 361.8 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.4678, allocations: 0.5066 MB / 362.3 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002206/0.468, allocations: 127 kB / 362.5 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.795e-05/0.4682, allocations: 9.688 kB / 362.5 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003334/0.4685, allocations: 10 kB / 362.5 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.54e-05/0.4686, allocations: 32.66 kB / 362.5 MB, free: 13.94 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.714e-05/0.4687, allocations: 14.92 kB / 362.5 MB, free: 13.93 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006698/0.4694, allocations: 405.8 kB / 362.9 MB, free: 13.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.19e-07/0.4694, allocations: 3.938 kB / 362.9 MB, free: 13.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001286/0.4707, allocations: 183.3 kB / 363.1 MB, free: 13.62 MB / 298.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.0007243/0.4714, allocations: 207 kB / 363.3 MB, free: 13.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002623/0.4741, allocations: 0.6306 MB / 363.9 MB, free: 12.79 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.45e-06/0.4741, allocations: 0 / 363.9 MB, free: 12.79 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001574/0.4757, allocations: 360 kB / 364.3 MB, free: 12.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007284/0.4764, allocations: 109.8 kB / 364.4 MB, free: 12.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002293/0.4787, allocations: 1.136 MB / 365.5 MB, free: 11.16 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006971/0.4795, allocations: 0.9054 MB / 366.4 MB, free: 10.23 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/0.4797, allocations: 51.41 kB / 366.5 MB, free: 10.18 MB / 298.7 MB Notification: Performance of SimCode: time 1.639e-06/0.4797, allocations: 0 / 366.5 MB, free: 10.18 MB / 298.7 MB Notification: Performance of Templates: time 0.04486/0.5245, allocations: 31.49 MB / 398 MB, free: 10.66 MB / 330.7 MB