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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.228/2.228, allocations: 235.1 MB / 243 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.504e-05/1.506e-05, allocations: 0 / 303.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.27, allocations: 54.84 MB / 358 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1228/0.3929, allocations: 82.12 MB / 440.2 MB, free: 12.72 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/0.3932, allocations: 63.97 kB / 440.2 MB, free: 12.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0157/0.4089, allocations: 4.135 MB / 444.4 MB, free: 8.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.225e-06/0.4089, allocations: 0 / 444.4 MB, free: 8.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.409, allocations: 8 kB / 444.4 MB, free: 8.512 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.0008687/0.4098, allocations: 0.5063 MB / 444.9 MB, free: 7.961 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.4099, allocations: 8.031 kB / 444.9 MB, free: 7.953 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.434e-05/0.41, allocations: 35.66 kB / 444.9 MB, free: 7.918 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.4102, allocations: 201.1 kB / 445.1 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.4103, allocations: 16.78 kB / 445.1 MB, free: 7.668 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.241e-05/0.4104, allocations: 16 kB / 445.1 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005099/0.4109, allocations: 189.5 kB / 445.3 MB, free: 7.465 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000524/0.4115, allocations: 222.1 kB / 445.5 MB, free: 7.242 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.4115, allocations: 0 / 445.5 MB, free: 7.242 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.987e-05/0.4115, allocations: 448 / 445.5 MB, free: 7.242 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.779e-05/0.4116, allocations: 11.95 kB / 445.6 MB, free: 7.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00216/0.4137, allocations: 0.9656 MB / 446.5 MB, free: 6.215 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.668e-05/0.4138, allocations: 30.58 kB / 446.5 MB, free: 6.176 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.742e-05/0.4139, allocations: 20.92 kB / 446.6 MB, free: 6.152 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.4139, allocations: 4 kB / 446.6 MB, free: 6.148 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.414, allocations: 34.5 kB / 446.6 MB, free: 6.105 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 2.225e-06/0.414, allocations: 0 / 446.6 MB, free: 6.105 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002112/0.4142, allocations: 61.5 kB / 446.7 MB, free: 6.039 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.4143, allocations: 51.41 kB / 446.7 MB, free: 5.977 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000324/0.4146, allocations: 226 kB / 446.9 MB, free: 5.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.4146, allocations: 25.7 kB / 447 MB, free: 5.719 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002123/0.4149, allocations: 309.2 kB / 447.3 MB, free: 5.414 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.589e-05/0.4149, allocations: 11.92 kB / 447.3 MB, free: 5.402 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.341e-05/0.4149, allocations: 0 / 447.3 MB, free: 5.402 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.4151, allocations: 322.8 kB / 447.6 MB, free: 5.078 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.4152, allocations: 55.98 kB / 447.6 MB, free: 5.023 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/0.4154, allocations: 77.72 kB / 447.7 MB, free: 4.941 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.4156, allocations: 59.97 kB / 447.8 MB, free: 4.883 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.767e-06/0.4156, allocations: 4 kB / 447.8 MB, free: 4.879 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004292/0.416, allocations: 189.5 kB / 448 MB, free: 4.688 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.4161, allocations: 4 kB / 448 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.82e-06/0.4161, allocations: 3.984 kB / 448 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.4161, allocations: 4 kB / 448 MB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003844/0.4165, allocations: 59.89 kB / 448 MB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.4165, allocations: 7.984 kB / 448 MB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002705/0.4168, allocations: 27.67 kB / 448.1 MB, free: 4.582 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.779e-05/0.4169, allocations: 11.94 kB / 448.1 MB, free: 4.57 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.0001025/0.417, allocations: 112.9 kB / 448.2 MB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.677e-05/0.417, allocations: 15.81 kB / 448.2 MB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.617e-05/0.4171, allocations: 21.17 kB / 448.2 MB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.089e-06/0.4171, allocations: 0 / 448.2 MB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.4171, allocations: 0 / 448.2 MB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.863e-06/0.4171, allocations: 0 / 448.2 MB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007462/0.4179, allocations: 479.8 kB / 448.7 MB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.099e-06/0.4179, allocations: 4.062 kB / 448.7 MB, free: 3.898 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.898e-05/0.418, allocations: 4 kB / 448.7 MB, free: 3.895 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.681e-06/0.418, allocations: 0 / 448.7 MB, free: 3.895 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.418, allocations: 0 / 448.7 MB, free: 3.895 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.351e-06/0.418, allocations: 3.984 kB / 448.7 MB, free: 3.891 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.418, allocations: 3.938 kB / 448.7 MB, free: 3.887 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000174/0.4182, allocations: 103.5 kB / 448.8 MB, free: 3.758 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.633e-05/0.4183, allocations: 93 kB / 448.9 MB, free: 3.648 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.415e-05/0.4184, allocations: 0 / 448.9 MB, free: 3.648 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.4185, allocations: 10.05 kB / 448.9 MB, free: 3.641 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.786e-05/0.4185, allocations: 11.88 kB / 448.9 MB, free: 3.629 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.721e-06/0.4186, allocations: 4 kB / 448.9 MB, free: 3.625 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000227/0.4188, allocations: 172.6 kB / 449.1 MB, free: 3.457 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.88e-07/0.4188, allocations: 0 / 449.1 MB, free: 3.457 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003774/0.4192, allocations: 63.75 kB / 449.2 MB, free: 3.395 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.0001137/0.4193, allocations: 99.27 kB / 449.3 MB, free: 3.285 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002643/0.4196, allocations: 99.94 kB / 449.4 MB, free: 3.188 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.4196, allocations: 0 / 449.4 MB, free: 3.188 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.799e-05/0.4197, allocations: 12 kB / 449.4 MB, free: 3.176 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.4199, allocations: 17.44 kB / 449.4 MB, free: 3.156 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006461/0.4206, allocations: 264.9 kB / 449.6 MB, free: 2.867 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004253/0.421, allocations: 0.7475 MB / 450.4 MB, free: 2.094 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.913e-05/0.4211, allocations: 19.42 kB / 450.4 MB, free: 2.074 MB / 378.7 MB Notification: Performance of SimCode: time 1.437e-06/0.4211, allocations: 7.938 kB / 450.4 MB, free: 2.066 MB / 378.7 MB Notification: Performance of Templates: time 0.005135/0.4263, allocations: 2.413 MB / 452.8 MB, free: 15.65 MB / 394.7 MB