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_laminar.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_laminar,tolerance=1e-06,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.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.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.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar") Notification: Performance of loadModel(ModelicaTest): time 1.903/1.903, allocations: 209.2 MB / 224.8 MB, free: 292 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004259/0.0004261, allocations: 8 kB / 282.5 MB, free: 9.633 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.301, allocations: 48.71 MB / 331.2 MB, free: 6.496 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.002345/0.3034, allocations: 1.695 MB / 332.9 MB, free: 5.574 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.3053, allocations: 1.096 MB / 334 MB, free: 4.809 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.3055, allocations: 1.969 kB / 334 MB, free: 4.809 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000269/0.3057, allocations: 56.92 kB / 334.1 MB, free: 4.777 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002076/0.306, allocations: 69.39 kB / 334.1 MB, free: 4.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005892/0.3066, allocations: 159 kB / 334.3 MB, free: 4.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003833/0.307, allocations: 293.3 kB / 334.6 MB, free: 4.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.3071, allocations: 41.61 kB / 334.6 MB, free: 4.508 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002255/0.3073, allocations: 135.2 kB / 334.7 MB, free: 4.449 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002279/0.3076, allocations: 161.2 kB / 334.9 MB, free: 4.379 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.671e-05/0.3076, allocations: 11.75 kB / 334.9 MB, free: 4.379 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005928/0.3082, allocations: 260.6 kB / 335.2 MB, free: 4.301 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.3084, allocations: 77.8 kB / 335.2 MB, free: 4.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.125e-05/0.3085, allocations: 85.95 kB / 335.3 MB, free: 4.207 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005595/0.3091, allocations: 326.9 kB / 335.6 MB, free: 4.117 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.041e-06/0.3091, allocations: 0 / 335.6 MB, free: 4.117 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.257e-06/0.3091, allocations: 0 / 335.6 MB, free: 4.117 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.27e-06/0.3091, allocations: 1.25 kB / 335.6 MB, free: 4.117 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001118/0.3102, allocations: 0.6514 MB / 336.3 MB, free: 3.605 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.3103, allocations: 8.375 kB / 336.3 MB, free: 3.605 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.3104, allocations: 48.03 kB / 336.4 MB, free: 3.578 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003603/0.3108, allocations: 286.8 kB / 336.6 MB, free: 3.328 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.601e-05/0.3108, allocations: 29.12 kB / 336.7 MB, free: 3.316 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-05/0.3109, allocations: 36.66 kB / 336.7 MB, free: 3.305 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.3121, allocations: 0.5869 MB / 337.3 MB, free: 3.051 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.3121, allocations: 0 / 337.3 MB, free: 3.051 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.181e-05/0.3122, allocations: 19.97 kB / 337.3 MB, free: 3.035 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-05/0.3122, allocations: 22.78 kB / 337.3 MB, free: 3.031 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.3133, allocations: 449.1 kB / 337.8 MB, free: 2.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/0.3154, allocations: 1.404 MB / 339.2 MB, free: 1.77 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006719/0.3161, allocations: 284.7 kB / 339.4 MB, free: 1.609 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.827e-05/0.3162, allocations: 6.062 kB / 339.5 MB, free: 1.609 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.3162, allocations: 37.19 kB / 339.5 MB, free: 1.566 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 3.396e-06/0.3162, allocations: 0 / 339.5 MB, free: 1.566 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.00159/0.3178, allocations: 0.7142 MB / 340.2 MB, free: 1.074 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.3179, allocations: 105.4 kB / 340.3 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006946/0.3186, allocations: 0.5032 MB / 340.8 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/0.3186, allocations: 26.7 kB / 340.8 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.3187, allocations: 238.5 kB / 341.1 MB, free: 416 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.137e-05/0.3188, allocations: 67.36 kB / 341.1 MB, free: 356 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.25e-05/0.3188, allocations: 0 / 341.1 MB, free: 356 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.162e-05/0.3189, allocations: 317 kB / 341.4 MB, free: 32 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004547/0.3194, allocations: 142.4 kB / 341.6 MB, free: 15.98 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004792/0.3199, allocations: 180 kB / 341.8 MB, free: 15.88 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004719/0.3204, allocations: 154.2 kB / 341.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.3204, allocations: 4 kB / 341.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001142/0.3215, allocations: 374 kB / 342.3 MB, free: 15.66 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.3216, allocations: 5.938 kB / 342.3 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.644e-05/0.3217, allocations: 29.56 kB / 342.3 MB, free: 15.65 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.3217, allocations: 2.75 kB / 342.3 MB, free: 15.65 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000273/0.322, allocations: 39.84 kB / 342.4 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.653e-06/0.322, allocations: 2.094 kB / 342.4 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000377/0.3224, allocations: 69.97 kB / 342.4 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.626e-05/0.3225, allocations: 13.14 kB / 342.4 MB, free: 15.59 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0003001/0.3228, allocations: 191.7 kB / 342.6 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.3229, allocations: 37.66 kB / 342.7 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.324, allocations: 391.1 kB / 343 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.324, allocations: 7.25 kB / 343.1 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.284e-06/0.3241, allocations: 1.281 kB / 343.1 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.478e-06/0.3241, allocations: 1.406 kB / 343.1 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007932/0.3249, allocations: 371.6 kB / 343.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-05/0.325, allocations: 33.08 kB / 343.4 MB, free: 14.9 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002142/0.3252, allocations: 29.66 kB / 343.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.134e-05/0.3252, allocations: 5 kB / 343.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.384e-05/0.3253, allocations: 10.61 kB / 343.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.668e-06/0.3253, allocations: 5.25 kB / 343.5 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.602e-06/0.3253, allocations: 1.5 kB / 343.5 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/0.3265, allocations: 0.5978 MB / 344.1 MB, free: 14.47 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002937/0.3268, allocations: 164.2 kB / 344.3 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.875e-05/0.3269, allocations: 6.406 kB / 344.3 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00041/0.3274, allocations: 31.56 kB / 344.3 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.078e-05/0.3275, allocations: 14.52 kB / 344.3 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.525e-05/0.3275, allocations: 16.17 kB / 344.3 MB, free: 14.29 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006276/0.3282, allocations: 376.2 kB / 344.7 MB, free: 14.07 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.35e-07/0.3282, allocations: 0 / 344.7 MB, free: 14.07 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007324/0.3289, allocations: 116.1 kB / 344.8 MB, free: 14.05 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0003622/0.3293, allocations: 160.2 kB / 345 MB, free: 13.94 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001249/0.3306, allocations: 0.5435 MB / 345.5 MB, free: 13.54 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.163e-06/0.3306, allocations: 0 / 345.5 MB, free: 13.54 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006895/0.3313, allocations: 398.4 kB / 345.9 MB, free: 13.2 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000748/0.3321, allocations: 92.12 kB / 346 MB, free: 13.15 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002055/0.3341, allocations: 0.9196 MB / 346.9 MB, free: 12.56 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006182/0.3348, allocations: 0.8516 MB / 347.8 MB, free: 11.79 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.3349, allocations: 28.64 kB / 347.8 MB, free: 11.77 MB / 282.7 MB Notification: Performance of SimCode: time 2.001e-06/0.3349, allocations: 0 / 347.8 MB, free: 11.77 MB / 282.7 MB Notification: Performance of Templates: time 0.01374/0.3487, allocations: 6.793 MB / 354.6 MB, free: 6.57 MB / 282.7 MB