Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.495/2.495, allocations: 234.9 MB / 251.1 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000646/0.0006468, allocations: 12 kB / 314.9 MB, free: 9.609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3581, allocations: 54.86 MB / 369.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1494/0.5075, allocations: 82.86 MB / 452.7 MB, free: 7.773 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/0.5079, allocations: 71.97 kB / 452.7 MB, free: 7.703 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0179/0.5258, allocations: 4.162 MB / 456.9 MB, free: 3.535 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.5258, allocations: 0 / 456.9 MB, free: 3.535 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.6e-05/0.5259, allocations: 4 kB / 456.9 MB, free: 3.531 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.001178/0.5271, allocations: 0.5285 MB / 457.4 MB, free: 2.953 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.5271, allocations: 8.031 kB / 457.4 MB, free: 2.945 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.5272, allocations: 36.02 kB / 457.5 MB, free: 2.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.5275, allocations: 200.7 kB / 457.7 MB, free: 2.676 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001448/0.5276, allocations: 28.64 kB / 457.7 MB, free: 2.648 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.367e-05/0.5277, allocations: 32 kB / 457.7 MB, free: 2.617 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007918/0.5285, allocations: 278 kB / 458 MB, free: 2.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.5286, allocations: 0 / 458 MB, free: 2.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.139e-05/0.5286, allocations: 8 kB / 458 MB, free: 2.332 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/0.5286, allocations: 8 kB / 458 MB, free: 2.324 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006964/0.5293, allocations: 226.5 kB / 458.2 MB, free: 2.102 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002638/0.532, allocations: 1.032 MB / 459.3 MB, free: 1.012 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.5321, allocations: 30.58 kB / 459.3 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.5322, allocations: 4 kB / 459.3 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.5322, allocations: 38.56 kB / 459.3 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 3.025e-06/0.5322, allocations: 0 / 459.3 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.000296/0.5325, allocations: 73.5 kB / 459.4 MB, free: 0.8438 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.5326, allocations: 55.36 kB / 459.5 MB, free: 0.7773 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000553/0.5332, allocations: 314.9 kB / 459.8 MB, free: 472 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.5332, allocations: 29.7 kB / 459.8 MB, free: 436 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001942/0.5334, allocations: 293.4 kB / 460.1 MB, free: 140 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.401e-05/0.5334, allocations: 3.906 kB / 460.1 MB, free: 136 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.089e-05/0.5334, allocations: 8 kB / 460.1 MB, free: 128 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.5336, allocations: 318.8 kB / 460.4 MB, free: 15.8 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002232/0.5338, allocations: 71.91 kB / 460.5 MB, free: 15.73 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002536/0.5341, allocations: 89.67 kB / 460.6 MB, free: 15.64 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.5344, allocations: 80.44 kB / 460.6 MB, free: 15.56 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.5344, allocations: 0 / 460.6 MB, free: 15.56 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006236/0.535, allocations: 221.5 kB / 460.9 MB, free: 15.34 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.5351, allocations: 4 kB / 460.9 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.5351, allocations: 3.938 kB / 460.9 MB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.5351, allocations: 4 kB / 460.9 MB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005333/0.5357, allocations: 55.89 kB / 460.9 MB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.5357, allocations: 3.953 kB / 460.9 MB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004473/0.5361, allocations: 55.47 kB / 461 MB, free: 15.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.848e-05/0.5362, allocations: 11.98 kB / 461 MB, free: 15.2 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.0001766/0.5364, allocations: 133.8 kB / 461.1 MB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.272e-05/0.5364, allocations: 15.81 kB / 461.1 MB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.497e-05/0.5365, allocations: 24.89 kB / 461.2 MB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.5366, allocations: 0 / 461.2 MB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.5366, allocations: 0 / 461.2 MB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.5366, allocations: 3.953 kB / 461.2 MB, free: 15.01 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008688/0.5375, allocations: 0.5072 MB / 461.7 MB, free: 14.44 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.5375, allocations: 0 / 461.7 MB, free: 14.44 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.472e-05/0.5375, allocations: 0 / 461.7 MB, free: 14.44 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.5376, allocations: 4 kB / 461.7 MB, free: 14.44 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.5376, allocations: 3.953 kB / 461.7 MB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.5376, allocations: 0 / 461.7 MB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5376, allocations: 0 / 461.7 MB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.5378, allocations: 105.7 kB / 461.8 MB, free: 14.31 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.5379, allocations: 100.8 kB / 461.9 MB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.433e-05/0.538, allocations: 0 / 461.9 MB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/0.5382, allocations: 11.94 kB / 461.9 MB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.872e-05/0.5382, allocations: 4 kB / 461.9 MB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.5382, allocations: 4 kB / 461.9 MB, free: 14.17 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003824/0.5386, allocations: 222 kB / 462.1 MB, free: 13.96 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5386, allocations: 0 / 462.1 MB, free: 13.96 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003721/0.539, allocations: 63.84 kB / 462.2 MB, free: 13.89 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.0001173/0.5391, allocations: 99.23 kB / 462.3 MB, free: 13.79 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000382/0.5395, allocations: 115.9 kB / 462.4 MB, free: 13.68 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.5396, allocations: 0 / 462.4 MB, free: 13.68 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.251e-05/0.5396, allocations: 11.94 kB / 462.4 MB, free: 13.66 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.5399, allocations: 33 kB / 462.4 MB, free: 13.62 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.5409, allocations: 485.8 kB / 462.9 MB, free: 13.11 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.5413, allocations: 0.7482 MB / 463.7 MB, free: 12.34 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.5414, allocations: 23.42 kB / 463.7 MB, free: 12.31 MB / 394.7 MB Notification: Performance of SimCode: time 6.71e-07/0.5414, allocations: 3.938 kB / 463.7 MB, free: 12.31 MB / 394.7 MB Notification: Performance of Templates: time 0.01047/0.5519, allocations: 2.608 MB / 466.3 MB, free: 9.703 MB / 394.7 MB