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.HelicalPipe.kc_laminar.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.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.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar") Notification: Performance of loadModel(ModelicaTest): time 2.466/2.466, allocations: 234.9 MB / 250.5 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004372/0.0004375, allocations: 8 kB / 314.3 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2769, allocations: 54.87 MB / 369.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.002861/0.2798, allocations: 1.696 MB / 370.9 MB, free: 9.016 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002189/0.282, allocations: 1.1 MB / 372 MB, free: 7.906 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.2822, allocations: 4 kB / 372 MB, free: 7.902 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002748/0.2825, allocations: 59.72 kB / 372.1 MB, free: 7.844 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002109/0.2827, allocations: 63.8 kB / 372.1 MB, free: 7.781 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006154/0.2833, allocations: 163.6 kB / 372.3 MB, free: 7.621 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004475/0.2838, allocations: 291.3 kB / 372.6 MB, free: 7.336 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.2839, allocations: 36.72 kB / 372.6 MB, free: 7.301 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002617/0.2842, allocations: 135.4 kB / 372.7 MB, free: 7.168 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002474/0.2844, allocations: 159.3 kB / 372.9 MB, free: 7.012 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.459e-05/0.2845, allocations: 8 kB / 372.9 MB, free: 7.004 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006312/0.2851, allocations: 259.6 kB / 373.2 MB, free: 6.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.2853, allocations: 83.7 kB / 373.2 MB, free: 6.668 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.2854, allocations: 85.45 kB / 373.3 MB, free: 6.578 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005761/0.286, allocations: 323.9 kB / 373.6 MB, free: 6.262 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.286, allocations: 0 / 373.6 MB, free: 6.262 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.117e-06/0.286, allocations: 0 / 373.6 MB, free: 6.262 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.426e-05/0.2861, allocations: 4 kB / 373.6 MB, free: 6.258 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.0013/0.2874, allocations: 0.6643 MB / 374.3 MB, free: 5.547 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.2874, allocations: 8.031 kB / 374.3 MB, free: 5.539 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.2875, allocations: 43.53 kB / 374.4 MB, free: 5.496 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004451/0.288, allocations: 278.4 kB / 374.6 MB, free: 5.184 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.644e-05/0.2881, allocations: 29 kB / 374.7 MB, free: 5.156 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.212e-05/0.2882, allocations: 40 kB / 374.7 MB, free: 5.117 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.2894, allocations: 0.5816 MB / 375.3 MB, free: 4.512 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.2895, allocations: 0 / 375.3 MB, free: 4.512 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.764e-05/0.2895, allocations: 19.98 kB / 375.3 MB, free: 4.492 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.767e-05/0.2896, allocations: 20.95 kB / 375.3 MB, free: 4.473 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.2908, allocations: 459.5 kB / 375.8 MB, free: 4.023 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002603/0.2934, allocations: 1.391 MB / 377.2 MB, free: 2.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007752/0.2943, allocations: 287.5 kB / 377.4 MB, free: 2.262 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.844e-05/0.2943, allocations: 15.89 kB / 377.4 MB, free: 2.246 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.2944, allocations: 30.56 kB / 377.5 MB, free: 2.207 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 3.499e-06/0.2944, allocations: 0 / 377.5 MB, free: 2.207 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.001828/0.2962, allocations: 0.7229 MB / 378.2 MB, free: 1.426 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/0.2963, allocations: 102.8 kB / 378.3 MB, free: 1.301 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008376/0.2972, allocations: 0.4939 MB / 378.8 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.093e-05/0.2972, allocations: 37.7 kB / 378.8 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001962/0.2975, allocations: 238.6 kB / 379.1 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.579e-05/0.2976, allocations: 63.08 kB / 379.1 MB, free: 472 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/0.2976, allocations: 8 kB / 379.1 MB, free: 464 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.2978, allocations: 310.8 kB / 379.4 MB, free: 144 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004638/0.2982, allocations: 140 kB / 379.6 MB, free: 4 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005121/0.2988, allocations: 187.4 kB / 379.8 MB, free: 15.8 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004825/0.2993, allocations: 151.9 kB / 379.9 MB, free: 15.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.267e-06/0.2993, allocations: 0 / 379.9 MB, free: 15.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001198/0.3005, allocations: 361.3 kB / 380.3 MB, free: 15.3 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.3005, allocations: 11.95 kB / 380.3 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-05/0.3006, allocations: 31.95 kB / 380.3 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.3007, allocations: 4.156 kB / 380.3 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002807/0.301, allocations: 44.02 kB / 380.3 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.338e-06/0.301, allocations: 3.938 kB / 380.4 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003683/0.3014, allocations: 71.34 kB / 380.4 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-05/0.3014, allocations: 11.98 kB / 380.4 MB, free: 15.12 MB / 314.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.0003039/0.3018, allocations: 193.7 kB / 380.6 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/0.3019, allocations: 35.53 kB / 380.7 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/0.303, allocations: 400.6 kB / 381 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.3031, allocations: 4 kB / 381.1 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.24e-06/0.3031, allocations: 0 / 381.1 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.827e-06/0.3031, allocations: 0 / 381.1 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008006/0.3039, allocations: 369.2 kB / 381.4 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.421e-05/0.304, allocations: 23.98 kB / 381.4 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/0.3042, allocations: 27.97 kB / 381.5 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.45e-06/0.3043, allocations: 8 kB / 381.5 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.552e-05/0.3043, allocations: 7.984 kB / 381.5 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-06/0.3043, allocations: 11.89 kB / 381.5 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.677e-06/0.3043, allocations: 3.984 kB / 381.5 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.3056, allocations: 0.5946 MB / 382.1 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001707/0.3058, allocations: 120.6 kB / 382.2 MB, free: 13.24 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.979e-05/0.3059, allocations: 8 kB / 382.2 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004126/0.3063, allocations: 23.97 kB / 382.2 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.595e-05/0.3064, allocations: 19.94 kB / 382.3 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.032e-05/0.3065, allocations: 15.98 kB / 382.3 MB, free: 13.18 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006348/0.3071, allocations: 371.1 kB / 382.6 MB, free: 12.82 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.231e-06/0.3072, allocations: 4 kB / 382.6 MB, free: 12.81 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007218/0.3079, allocations: 119.9 kB / 382.8 MB, free: 12.7 MB / 314.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.0003609/0.3083, allocations: 163.1 kB / 382.9 MB, free: 12.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001246/0.3095, allocations: 0.538 MB / 383.5 MB, free: 11.93 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.72e-06/0.3096, allocations: 0 / 383.5 MB, free: 11.93 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000679/0.3102, allocations: 399.4 kB / 383.8 MB, free: 11.48 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007428/0.311, allocations: 93.61 kB / 383.9 MB, free: 11.39 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002041/0.3131, allocations: 0.9126 MB / 384.8 MB, free: 10.45 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006262/0.3137, allocations: 0.846 MB / 385.7 MB, free: 9.57 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.3139, allocations: 31.42 kB / 385.7 MB, free: 9.539 MB / 314.7 MB Notification: Performance of SimCode: time 1.68e-06/0.3139, allocations: 4 kB / 385.7 MB, free: 9.535 MB / 314.7 MB Notification: Performance of Templates: time 0.0138/0.3277, allocations: 6.802 MB / 392.5 MB, free: 2.754 MB / 314.7 MB