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.332/2.332, allocations: 234.9 MB / 250.5 MB, free: 9.477 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004366/0.0004368, allocations: 12 kB / 314.3 MB, free: 9.523 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2749, allocations: 54.87 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.002824/0.2778, allocations: 1.806 MB / 371 MB, free: 8.887 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.279, allocations: 0.6171 MB / 371.6 MB, free: 8.262 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.2791, allocations: 4 kB / 371.6 MB, free: 8.258 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.463e-05/0.2792, allocations: 31.77 kB / 371.6 MB, free: 8.227 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000204/0.2794, allocations: 71.81 kB / 371.7 MB, free: 8.156 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002543/0.2797, allocations: 63.88 kB / 371.8 MB, free: 8.094 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003162/0.28, allocations: 220 kB / 372 MB, free: 7.879 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002789/0.2803, allocations: 126.6 kB / 372.1 MB, free: 7.75 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002404/0.2806, allocations: 119.6 kB / 372.2 MB, free: 7.633 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002144/0.2808, allocations: 119.5 kB / 372.3 MB, free: 7.516 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.434e-05/0.2809, allocations: 16 kB / 372.4 MB, free: 7.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.427e-05/0.2809, allocations: 16 kB / 372.4 MB, free: 7.484 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.707e-05/0.281, allocations: 55.75 kB / 372.4 MB, free: 7.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.41e-05/0.2811, allocations: 77.58 kB / 372.5 MB, free: 7.348 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003744/0.2815, allocations: 275.9 kB / 372.8 MB, free: 7.078 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.183e-06/0.2815, allocations: 0 / 372.8 MB, free: 7.078 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.008e-06/0.2815, allocations: 0 / 372.8 MB, free: 7.078 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.2815, allocations: 0 / 372.8 MB, free: 7.078 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.000979/0.2825, allocations: 0.5381 MB / 373.3 MB, free: 6.488 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.2826, allocations: 8.031 kB / 373.3 MB, free: 6.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.597e-05/0.2827, allocations: 31.62 kB / 373.4 MB, free: 6.449 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.2829, allocations: 202.7 kB / 373.6 MB, free: 6.211 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.283, allocations: 24.66 kB / 373.6 MB, free: 6.188 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.685e-05/0.2831, allocations: 32 kB / 373.6 MB, free: 6.156 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006586/0.2838, allocations: 274.1 kB / 373.9 MB, free: 5.883 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.2838, allocations: 3.938 kB / 373.9 MB, free: 5.879 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.897e-05/0.2838, allocations: 15.95 kB / 373.9 MB, free: 5.863 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.674e-05/0.2839, allocations: 8 kB / 373.9 MB, free: 5.855 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000601/0.2845, allocations: 214.5 kB / 374.1 MB, free: 5.645 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00226/0.2868, allocations: 1.028 MB / 375.1 MB, free: 4.559 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.2869, allocations: 34.52 kB / 375.2 MB, free: 4.516 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.2869, allocations: 3.984 kB / 375.2 MB, free: 4.512 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.287, allocations: 38.62 kB / 375.2 MB, free: 4.465 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 3.657e-06/0.287, allocations: 0 / 375.2 MB, free: 4.465 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002753/0.2873, allocations: 77.45 kB / 375.3 MB, free: 4.383 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.2873, allocations: 51.41 kB / 375.3 MB, free: 4.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005327/0.2879, allocations: 318.9 kB / 375.7 MB, free: 4.004 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.2879, allocations: 29.69 kB / 375.7 MB, free: 3.969 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002274/0.2881, allocations: 289.2 kB / 376 MB, free: 3.684 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.2882, allocations: 11.84 kB / 376 MB, free: 3.672 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.64e-05/0.2882, allocations: 8.125 kB / 376 MB, free: 3.664 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.2884, allocations: 326.8 kB / 376.3 MB, free: 3.336 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.2886, allocations: 75.91 kB / 376.4 MB, free: 3.262 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.2888, allocations: 85.67 kB / 376.5 MB, free: 3.172 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002275/0.2891, allocations: 76.5 kB / 376.5 MB, free: 3.098 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.624e-06/0.2891, allocations: 0 / 376.5 MB, free: 3.098 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005717/0.2897, allocations: 229.5 kB / 376.8 MB, free: 2.867 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.2897, allocations: 4 kB / 376.8 MB, free: 2.863 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.155e-06/0.2897, allocations: 0 / 376.8 MB, free: 2.863 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.2898, allocations: 4 kB / 376.8 MB, free: 2.859 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003655/0.2901, allocations: 55.91 kB / 376.8 MB, free: 2.805 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.765e-06/0.2902, allocations: 4 kB / 376.8 MB, free: 2.801 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003019/0.2905, allocations: 39.53 kB / 376.9 MB, free: 2.762 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.558e-05/0.2905, allocations: 11.94 kB / 376.9 MB, free: 2.75 MB / 298.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.000175/0.2907, allocations: 133.9 kB / 377 MB, free: 2.609 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.879e-05/0.2908, allocations: 23.7 kB / 377 MB, free: 2.586 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.347e-05/0.2909, allocations: 20.91 kB / 377.1 MB, free: 2.566 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.274e-06/0.2909, allocations: 0 / 377.1 MB, free: 2.566 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.188e-06/0.2909, allocations: 7.891 kB / 377.1 MB, free: 2.559 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.81e-06/0.2909, allocations: 3.984 kB / 377.1 MB, free: 2.555 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008541/0.2918, allocations: 0.5033 MB / 377.6 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.2918, allocations: 0 / 377.6 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.891e-05/0.2918, allocations: 4 kB / 377.6 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.666e-06/0.2918, allocations: 3.953 kB / 377.6 MB, free: 1.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.2919, allocations: 0 / 377.6 MB, free: 1.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.199e-06/0.2919, allocations: 3.938 kB / 377.6 MB, free: 1.977 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.366e-06/0.2919, allocations: 0 / 377.6 MB, free: 1.977 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/0.2921, allocations: 105.8 kB / 377.7 MB, free: 1.852 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.2922, allocations: 100.8 kB / 377.8 MB, free: 1.734 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.85e-05/0.2923, allocations: 7.953 kB / 377.8 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.2924, allocations: 0 / 377.8 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.334e-05/0.2924, allocations: 0 / 377.8 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.073e-06/0.2925, allocations: 4 kB / 377.8 MB, free: 1.723 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003619/0.2928, allocations: 225.9 kB / 378 MB, free: 1.5 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.08e-07/0.2928, allocations: 0 / 378 MB, free: 1.5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003704/0.2932, allocations: 63.88 kB / 378.1 MB, free: 1.438 MB / 298.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.000119/0.2934, allocations: 103.8 kB / 378.2 MB, free: 1.324 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003367/0.2937, allocations: 111.9 kB / 378.3 MB, free: 1.215 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.243e-06/0.2937, allocations: 0 / 378.3 MB, free: 1.215 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.905e-05/0.2938, allocations: 12 kB / 378.3 MB, free: 1.203 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.294, allocations: 24.81 kB / 378.3 MB, free: 1.176 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008849/0.2949, allocations: 486.2 kB / 378.8 MB, free: 0.668 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004722/0.2954, allocations: 0.7482 MB / 379.5 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.89e-05/0.2955, allocations: 27.38 kB / 379.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of SimCode: time 1.48e-06/0.2956, allocations: 0 / 379.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of Templates: time 0.00593/0.3015, allocations: 2.621 MB / 382.2 MB, free: 13.25 MB / 314.7 MB