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.377/2.377, allocations: 234.9 MB / 250.5 MB, free: 9.465 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004243/0.0004244, allocations: 15.98 kB / 314.4 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2734, allocations: 54.86 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1232/0.3967, allocations: 82.87 MB / 452.1 MB, free: 7.711 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/0.397, allocations: 71.95 kB / 452.2 MB, free: 7.641 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01629/0.4133, allocations: 4.147 MB / 456.4 MB, free: 3.488 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.388e-06/0.4133, allocations: 0 / 456.4 MB, free: 3.488 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.045e-05/0.4133, allocations: 12 kB / 456.4 MB, free: 3.477 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.0009702/0.4143, allocations: 0.519 MB / 456.9 MB, free: 2.906 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.4144, allocations: 12.03 kB / 456.9 MB, free: 2.895 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.603e-05/0.4145, allocations: 39.58 kB / 456.9 MB, free: 2.855 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.4147, allocations: 202.7 kB / 457.1 MB, free: 2.617 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.4148, allocations: 28.59 kB / 457.2 MB, free: 2.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.794e-05/0.4149, allocations: 32 kB / 457.2 MB, free: 2.559 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000676/0.4156, allocations: 276.2 kB / 457.5 MB, free: 2.285 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.4157, allocations: 4 kB / 457.5 MB, free: 2.281 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.951e-05/0.4157, allocations: 11.94 kB / 457.5 MB, free: 2.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.4157, allocations: 8 kB / 457.5 MB, free: 2.262 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006046/0.4163, allocations: 226.5 kB / 457.7 MB, free: 2.039 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002291/0.4186, allocations: 1.024 MB / 458.7 MB, free: 0.957 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.739e-05/0.4188, allocations: 42.5 kB / 458.8 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.583e-06/0.4188, allocations: 0 / 458.8 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.4188, allocations: 30.62 kB / 458.8 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 2.26e-06/0.4188, allocations: 4 kB / 458.8 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002509/0.4191, allocations: 65.52 kB / 458.9 MB, free: 0.793 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.4192, allocations: 59.36 kB / 458.9 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004937/0.4197, allocations: 297.9 kB / 459.2 MB, free: 432 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.4197, allocations: 29.83 kB / 459.3 MB, free: 396 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002165/0.4199, allocations: 289.2 kB / 459.5 MB, free: 104 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.587e-05/0.42, allocations: 7.906 kB / 459.5 MB, free: 96 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.855e-05/0.42, allocations: 4 kB / 459.6 MB, free: 92 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.4202, allocations: 322.8 kB / 459.9 MB, free: 15.77 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.4204, allocations: 63.97 kB / 459.9 MB, free: 15.7 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002199/0.4206, allocations: 89.67 kB / 460 MB, free: 15.61 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/0.4209, allocations: 80.44 kB / 460.1 MB, free: 15.53 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.347e-06/0.4209, allocations: 0 / 460.1 MB, free: 15.53 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005972/0.4215, allocations: 225.4 kB / 460.3 MB, free: 15.3 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.4215, allocations: 4 kB / 460.3 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.099e-06/0.4216, allocations: 0 / 460.3 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/0.4216, allocations: 4 kB / 460.3 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003809/0.422, allocations: 59.89 kB / 460.4 MB, free: 15.24 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.422, allocations: 4 kB / 460.4 MB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003122/0.4224, allocations: 47.42 kB / 460.4 MB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.939e-05/0.4224, allocations: 11.98 kB / 460.4 MB, free: 15.18 MB / 394.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 () * Number of clocked 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.0001829/0.4226, allocations: 129.8 kB / 460.6 MB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.224e-05/0.4227, allocations: 15.81 kB / 460.6 MB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.91e-05/0.4227, allocations: 24.89 kB / 460.6 MB, free: 15 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.509e-06/0.4227, allocations: 3.938 kB / 460.6 MB, free: 14.99 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.405e-06/0.4228, allocations: 0 / 460.6 MB, free: 14.99 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.4228, allocations: 0 / 460.6 MB, free: 14.99 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008418/0.4236, allocations: 0.5072 MB / 461.1 MB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.329e-06/0.4236, allocations: 0 / 461.1 MB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.223e-05/0.4237, allocations: 7.938 kB / 461.1 MB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.973e-06/0.4237, allocations: 0 / 461.1 MB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.4237, allocations: 3.984 kB / 461.1 MB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.358e-06/0.4237, allocations: 3.953 kB / 461.1 MB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.119e-06/0.4238, allocations: 4 kB / 461.1 MB, free: 14.4 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.424, allocations: 103.5 kB / 461.2 MB, free: 14.27 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.4241, allocations: 104.8 kB / 461.3 MB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.619e-05/0.4241, allocations: 7.953 kB / 461.4 MB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.4243, allocations: 3.984 kB / 461.4 MB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.733e-05/0.4243, allocations: 4 kB / 461.4 MB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.832e-06/0.4244, allocations: 4.031 kB / 461.4 MB, free: 14.13 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003688/0.4247, allocations: 221.9 kB / 461.6 MB, free: 13.92 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.36e-07/0.4247, allocations: 3.938 kB / 461.6 MB, free: 13.91 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003893/0.4251, allocations: 63.84 kB / 461.6 MB, free: 13.85 MB / 394.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 () * Number of clocked 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.0001242/0.4253, allocations: 103.2 kB / 461.7 MB, free: 13.74 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003554/0.4256, allocations: 115.9 kB / 461.9 MB, free: 13.63 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.031e-06/0.4257, allocations: 4.062 kB / 461.9 MB, free: 13.62 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.019e-05/0.4257, allocations: 12 kB / 461.9 MB, free: 13.61 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.426, allocations: 28.75 kB / 461.9 MB, free: 13.58 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009356/0.4269, allocations: 486 kB / 462.4 MB, free: 13.06 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000435/0.4274, allocations: 0.7521 MB / 463.1 MB, free: 12.28 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.524e-05/0.4275, allocations: 19.44 kB / 463.2 MB, free: 12.26 MB / 394.7 MB Notification: Performance of SimCode: time 1.764e-06/0.4275, allocations: 0 / 463.2 MB, free: 12.26 MB / 394.7 MB Notification: Performance of Templates: time 0.005681/0.4332, allocations: 2.596 MB / 465.7 MB, free: 9.664 MB / 394.7 MB