Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.FluxTubes.Shapes.Leakage.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.FluxTubes.Shapes.Leakage,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder.G_m|quarterHollowCylinder.G_m|halfCylinder.G_m|halfHollowCylinder.G_m|quarterSphere.G_m|quarterHollowSphere.G_m|eighthOfSphere.G_m|eighthOfHollowSphere.G_m|coaxCylindersEndFaces.G_m",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.FluxTubes.Shapes.Leakage") Notification: Performance of loadModel(ModelicaTest): time 2.289/2.289, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.601e-05/2.611e-05, allocations: 4 kB / 309.7 MB, free: 1.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3157, allocations: 54.86 MB / 364.5 MB, free: 5.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1236/0.4393, allocations: 82.78 MB / 447.3 MB, free: 13.7 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/0.4396, allocations: 71.95 kB / 447.4 MB, free: 13.63 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01611/0.4557, allocations: 4.16 MB / 451.5 MB, free: 9.496 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.819e-06/0.4558, allocations: 0 / 451.5 MB, free: 9.496 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.4558, allocations: 12.88 kB / 451.6 MB, free: 9.484 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0008622/0.4567, allocations: 0.5063 MB / 452.1 MB, free: 8.934 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.4567, allocations: 8.031 kB / 452.1 MB, free: 8.926 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.51e-05/0.4568, allocations: 39.58 kB / 452.1 MB, free: 8.887 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.4571, allocations: 198.8 kB / 452.3 MB, free: 8.652 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/0.4572, allocations: 28.77 kB / 452.3 MB, free: 8.621 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.3e-05/0.4573, allocations: 32 kB / 452.4 MB, free: 8.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006056/0.4579, allocations: 263.8 kB / 452.6 MB, free: 8.328 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.4579, allocations: 0 / 452.6 MB, free: 8.328 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.272e-05/0.458, allocations: 15.98 kB / 452.6 MB, free: 8.312 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.458, allocations: 12.98 kB / 452.7 MB, free: 8.301 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005186/0.4585, allocations: 199.1 kB / 452.8 MB, free: 8.102 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002271/0.4608, allocations: 1.038 MB / 453.9 MB, free: 7.008 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.4609, allocations: 34.58 kB / 453.9 MB, free: 6.965 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.748e-05/0.461, allocations: 24.91 kB / 453.9 MB, free: 6.938 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.4611, allocations: 4 kB / 453.9 MB, free: 6.934 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.4611, allocations: 38.5 kB / 454 MB, free: 6.887 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 2.541e-06/0.4611, allocations: 0 / 454 MB, free: 6.887 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002167/0.4613, allocations: 61.47 kB / 454 MB, free: 6.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.4614, allocations: 51.41 kB / 454.1 MB, free: 6.758 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004471/0.4619, allocations: 287.3 kB / 454.4 MB, free: 6.469 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.4619, allocations: 27.11 kB / 454.4 MB, free: 6.438 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.4621, allocations: 293.3 kB / 454.7 MB, free: 6.148 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.4e-05/0.4622, allocations: 19.83 kB / 454.7 MB, free: 6.129 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.734e-05/0.4622, allocations: 4 kB / 454.7 MB, free: 6.125 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.4624, allocations: 322.8 kB / 455 MB, free: 5.801 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.4625, allocations: 56 kB / 455.1 MB, free: 5.746 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/0.4627, allocations: 77.7 kB / 455.2 MB, free: 5.664 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/0.4629, allocations: 72.47 kB / 455.2 MB, free: 5.594 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.463, allocations: 7.938 kB / 455.2 MB, free: 5.586 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004961/0.4635, allocations: 205.6 kB / 455.4 MB, free: 5.379 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.4635, allocations: 4 kB / 455.4 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.707e-06/0.4635, allocations: 0 / 455.4 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.4635, allocations: 8 kB / 455.4 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004003/0.4639, allocations: 52.34 kB / 455.5 MB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/0.464, allocations: 11.94 kB / 455.5 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003141/0.4643, allocations: 39.53 kB / 455.6 MB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/0.4643, allocations: 15.94 kB / 455.6 MB, free: 5.25 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001031/0.4645, allocations: 113 kB / 455.7 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.688e-05/0.4645, allocations: 19.72 kB / 455.7 MB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.949e-05/0.4646, allocations: 20.89 kB / 455.7 MB, free: 5.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.201e-06/0.4646, allocations: 0 / 455.7 MB, free: 5.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.561e-06/0.4646, allocations: 0 / 455.7 MB, free: 5.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.266e-06/0.4647, allocations: 3.953 kB / 455.7 MB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000861/0.4655, allocations: 0.515 MB / 456.2 MB, free: 4.508 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.494e-06/0.4656, allocations: 0 / 456.2 MB, free: 4.508 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.331e-05/0.4656, allocations: 4 kB / 456.2 MB, free: 4.504 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.4656, allocations: 0 / 456.2 MB, free: 4.504 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.4656, allocations: 3.953 kB / 456.2 MB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.091e-06/0.4657, allocations: 4 kB / 456.2 MB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.438e-06/0.4657, allocations: 0 / 456.2 MB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.4659, allocations: 115.4 kB / 456.4 MB, free: 4.355 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.466, allocations: 108.8 kB / 456.5 MB, free: 4.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.096e-05/0.4661, allocations: 0 / 456.5 MB, free: 4.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.4662, allocations: 4 kB / 456.5 MB, free: 4.227 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.992e-05/0.4662, allocations: 0 / 456.5 MB, free: 4.227 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.192e-06/0.4663, allocations: 0 / 456.5 MB, free: 4.227 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003273/0.4666, allocations: 219.1 kB / 456.7 MB, free: 4.016 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.51e-07/0.4666, allocations: 0 / 456.7 MB, free: 4.016 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003735/0.467, allocations: 67.88 kB / 456.8 MB, free: 3.949 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001186/0.4671, allocations: 99.25 kB / 456.8 MB, free: 3.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002948/0.4674, allocations: 107.9 kB / 457 MB, free: 3.734 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.031e-06/0.4675, allocations: 0 / 457 MB, free: 3.734 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.221e-05/0.4675, allocations: 15.94 kB / 457 MB, free: 3.719 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.4677, allocations: 18.77 kB / 457 MB, free: 3.695 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006519/0.4684, allocations: 267.5 kB / 457.2 MB, free: 3.402 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/0.4689, allocations: 0.748 MB / 458 MB, free: 2.629 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.469, allocations: 19.44 kB / 458 MB, free: 2.609 MB / 378.7 MB Notification: Performance of SimCode: time 1.596e-06/0.469, allocations: 0 / 458 MB, free: 2.609 MB / 378.7 MB Notification: Performance of Templates: time 0.005838/0.4748, allocations: 2.618 MB / 460.6 MB, free: 15.99 MB / 394.7 MB