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.Plate.kc_turbulent.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.Plate.kc_turbulent,tolerance=1e-07,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.|velocity.1.|velocity.2.|velocity.3.|Nu.1.|Nu.2.|Nu.3.|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|input_v_0.y|input_v_1.y|input_v_2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent") Notification: Performance of loadModel(ModelicaTest): time 2.221/2.221, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007255/0.0007257, allocations: 12 kB / 314.3 MB, free: 9.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3333, allocations: 54.87 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.003804/0.3372, allocations: 1.454 MB / 370.7 MB, free: 9.242 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002944/0.3402, allocations: 0.8666 MB / 371.5 MB, free: 8.367 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.3404, allocations: 0 / 371.5 MB, free: 8.367 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003198/0.3407, allocations: 31.88 kB / 371.6 MB, free: 8.336 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003535/0.3411, allocations: 51.8 kB / 371.6 MB, free: 8.285 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007361/0.3419, allocations: 99.73 kB / 371.7 MB, free: 8.188 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003955/0.3423, allocations: 127.7 kB / 371.8 MB, free: 8.062 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.404e-05/0.3424, allocations: 13.55 kB / 371.8 MB, free: 8.051 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002718/0.3427, allocations: 79.69 kB / 371.9 MB, free: 7.973 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002349/0.343, allocations: 75.73 kB / 372 MB, free: 7.898 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.565e-05/0.343, allocations: 4 kB / 372 MB, free: 7.895 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005695/0.3436, allocations: 127.8 kB / 372.1 MB, free: 7.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.3438, allocations: 43.83 kB / 372.2 MB, free: 7.727 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.853e-05/0.3439, allocations: 45.64 kB / 372.2 MB, free: 7.676 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004918/0.3444, allocations: 168.3 kB / 372.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.019e-06/0.3444, allocations: 0 / 372.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.88e-06/0.3445, allocations: 0 / 372.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.3445, allocations: 0 / 372.4 MB, free: 7.512 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.00171/0.3462, allocations: 0.5182 MB / 372.9 MB, free: 6.945 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.3463, allocations: 16.03 kB / 372.9 MB, free: 6.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.908e-05/0.3464, allocations: 19.72 kB / 372.9 MB, free: 6.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004399/0.3469, allocations: 218.8 kB / 373.1 MB, free: 6.656 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.3469, allocations: 8.234 kB / 373.2 MB, free: 6.648 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.841e-05/0.347, allocations: 11.98 kB / 373.2 MB, free: 6.637 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.3482, allocations: 286.5 kB / 373.4 MB, free: 6.34 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.3483, allocations: 0 / 373.4 MB, free: 6.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.506e-05/0.3483, allocations: 4 kB / 373.4 MB, free: 6.336 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.474e-05/0.3484, allocations: 20.17 kB / 373.5 MB, free: 6.316 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/0.3499, allocations: 248.4 kB / 373.7 MB, free: 6.074 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002076/0.352, allocations: 0.8216 MB / 374.5 MB, free: 5.191 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005461/0.3525, allocations: 203.6 kB / 374.7 MB, free: 4.965 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.518e-05/0.3526, allocations: 11.94 kB / 374.7 MB, free: 4.953 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.3527, allocations: 34.5 kB / 374.8 MB, free: 4.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 3.822e-06/0.3527, allocations: 0 / 374.8 MB, free: 4.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.001277/0.354, allocations: 357.4 kB / 375.1 MB, free: 4.555 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.909e-05/0.3541, allocations: 110.8 kB / 375.2 MB, free: 4.422 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003722/0.3544, allocations: 256.9 kB / 375.5 MB, free: 4.16 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.636e-05/0.3545, allocations: 29.7 kB / 375.5 MB, free: 4.125 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.3546, allocations: 190.3 kB / 375.7 MB, free: 3.938 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.781e-05/0.3547, allocations: 35.45 kB / 375.7 MB, free: 3.902 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.135e-05/0.3547, allocations: 4 kB / 375.7 MB, free: 3.898 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.3549, allocations: 318.8 kB / 376.1 MB, free: 3.578 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003579/0.3553, allocations: 103.9 kB / 376.2 MB, free: 3.477 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00041/0.3557, allocations: 148.7 kB / 376.3 MB, free: 3.316 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000379/0.3561, allocations: 111.9 kB / 376.4 MB, free: 3.207 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.574e-06/0.3561, allocations: 0 / 376.4 MB, free: 3.207 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0009022/0.357, allocations: 289.3 kB / 376.7 MB, free: 2.918 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.3571, allocations: 11.95 kB / 376.7 MB, free: 2.906 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.359e-05/0.3571, allocations: 7.984 kB / 376.7 MB, free: 2.898 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.3571, allocations: 4 kB / 376.7 MB, free: 2.895 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003201/0.3575, allocations: 48.08 kB / 376.8 MB, free: 2.848 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.3575, allocations: 3.938 kB / 376.8 MB, free: 2.844 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002686/0.3578, allocations: 39.73 kB / 376.8 MB, free: 2.805 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.389e-05/0.3578, allocations: 12.45 kB / 376.8 MB, free: 2.793 MB / 298.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 (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001861/0.358, allocations: 141.8 kB / 377 MB, free: 2.645 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.3582, allocations: 15.81 kB / 377 MB, free: 2.629 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006654/0.3588, allocations: 246.9 kB / 377.2 MB, free: 2.379 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.196e-06/0.3589, allocations: 0 / 377.2 MB, free: 2.379 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.357e-06/0.3589, allocations: 0 / 377.2 MB, free: 2.379 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.355e-06/0.3589, allocations: 8 kB / 377.2 MB, free: 2.371 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005816/0.3595, allocations: 257.4 kB / 377.5 MB, free: 2.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-05/0.3595, allocations: 11.98 kB / 377.5 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002564/0.3598, allocations: 35.91 kB / 377.5 MB, free: 2.023 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.103e-06/0.3598, allocations: 0 / 377.5 MB, free: 2.023 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/0.3599, allocations: 7.984 kB / 377.5 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.847e-06/0.3599, allocations: 3.953 kB / 377.5 MB, free: 2.012 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.57e-06/0.3599, allocations: 4 kB / 377.5 MB, free: 2.008 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000915/0.3608, allocations: 0.49 MB / 378 MB, free: 1.5 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.3609, allocations: 96.83 kB / 378.1 MB, free: 1.387 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.768e-05/0.361, allocations: 4 kB / 378.1 MB, free: 1.383 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003581/0.3614, allocations: 31.97 kB / 378.2 MB, free: 1.352 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.739e-05/0.3615, allocations: 19.81 kB / 378.2 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-05/0.3615, allocations: 15.97 kB / 378.2 MB, free: 1.316 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002617/0.3618, allocations: 192.4 kB / 378.4 MB, free: 1.133 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.86e-07/0.3618, allocations: 0 / 378.4 MB, free: 1.133 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005767/0.3624, allocations: 67.94 kB / 378.4 MB, free: 1.066 MB / 298.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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0003095/0.3627, allocations: 155.1 kB / 378.6 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008995/0.3636, allocations: 313 kB / 378.9 MB, free: 0.582 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3e-06/0.3636, allocations: 0 / 378.9 MB, free: 0.582 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004462/0.3641, allocations: 193.2 kB / 379.1 MB, free: 384 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004658/0.3646, allocations: 42.41 kB / 379.1 MB, free: 344 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.3659, allocations: 0.5189 MB / 379.6 MB, free: 15.78 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004721/0.3664, allocations: 0.7478 MB / 380.4 MB, free: 15.01 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.3665, allocations: 19.42 kB / 380.4 MB, free: 14.99 MB / 314.7 MB Notification: Performance of SimCode: time 1.756e-06/0.3665, allocations: 0 / 380.4 MB, free: 14.99 MB / 314.7 MB Notification: Performance of Templates: time 0.007392/0.3739, allocations: 3.494 MB / 383.9 MB, free: 11.5 MB / 314.7 MB