Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.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) Running command: translateModel(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation") Notification: Performance of loadModel(Modelica): time 1.865/1.865, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003564/0.0003565, allocations: 8 kB / 263.9 MB, free: 13.58 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07696/0.07734, allocations: 44.51 MB / 308.4 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3905/0.4679, allocations: 85.05 MB / 393.5 MB, free: 18.8 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002064/0.4681, allocations: 73.91 kB / 393.6 MB, free: 18.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06332/0.5315, allocations: 16.86 MB / 410.4 MB, free: 11.38 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.715e-06/0.5315, allocations: 0 / 410.4 MB, free: 11.38 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.651e-05/0.5315, allocations: 11.81 kB / 410.4 MB, free: 11.38 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001243/0.5328, allocations: 0.5614 MB / 411 MB, free: 10.94 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.5328, allocations: 7.656 kB / 411 MB, free: 10.94 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.627e-05/0.5329, allocations: 15.44 kB / 411 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.5332, allocations: 234.5 kB / 411.2 MB, free: 10.7 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.5333, allocations: 11.66 kB / 411.3 MB, free: 10.7 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.714e-05/0.5333, allocations: 7.812 kB / 411.3 MB, free: 10.7 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002393/0.5336, allocations: 130 kB / 411.4 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.5336, allocations: 7.75 kB / 411.4 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.5336, allocations: 0 / 411.4 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.753e-06/0.5336, allocations: 0 / 411.4 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.5338, allocations: 69.52 kB / 411.5 MB, free: 10.59 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006051/0.5344, allocations: 382.4 kB / 411.8 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004082/0.5349, allocations: 132.6 kB / 412 MB, free: 10.21 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.5349, allocations: 3.875 kB / 412 MB, free: 10.21 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.5349, allocations: 34.28 kB / 412 MB, free: 10.18 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 2.282e-06/0.5349, allocations: 3.938 kB / 412 MB, free: 10.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.002545/0.5375, allocations: 1.228 MB / 413.2 MB, free: 9.387 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.5376, allocations: 132.5 kB / 413.4 MB, free: 9.23 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.5377, allocations: 162.7 kB / 413.5 MB, free: 9.117 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.5378, allocations: 33.36 kB / 413.6 MB, free: 9.082 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.577e-05/0.5378, allocations: 173.7 kB / 413.7 MB, free: 8.926 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.434e-05/0.5379, allocations: 53.61 kB / 413.8 MB, free: 8.887 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.396e-05/0.5379, allocations: 3.875 kB / 413.8 MB, free: 8.887 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.464e-05/0.538, allocations: 322 kB / 414.1 MB, free: 8.566 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.5382, allocations: 99 kB / 414.2 MB, free: 8.551 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002282/0.5384, allocations: 126.1 kB / 414.3 MB, free: 8.504 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002418/0.5387, allocations: 117.6 kB / 414.4 MB, free: 8.48 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.012e-06/0.5387, allocations: 7.828 kB / 414.4 MB, free: 8.477 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006144/0.5393, allocations: 288.9 kB / 414.7 MB, free: 8.395 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.5394, allocations: 7.75 kB / 414.7 MB, free: 8.395 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.167e-05/0.5394, allocations: 7.922 kB / 414.7 MB, free: 8.387 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002034/0.5396, allocations: 38.83 kB / 414.8 MB, free: 8.371 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/0.5398, allocations: 38.67 kB / 414.8 MB, free: 8.363 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001085/0.5409, allocations: 1.426 MB / 416.2 MB, free: 7.027 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.5411, allocations: 3.75 kB / 416.2 MB, free: 7.027 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.857e-05/0.5411, allocations: 7.688 kB / 416.3 MB, free: 7.027 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001385/0.5413, allocations: 135.2 kB / 416.4 MB, free: 6.906 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.482e-05/0.5414, allocations: 15.09 kB / 416.4 MB, free: 6.898 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.993e-05/0.5414, allocations: 27.77 kB / 416.4 MB, free: 6.887 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.5414, allocations: 4.188 kB / 416.4 MB, free: 6.883 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.911e-06/0.5415, allocations: 3.75 kB / 416.4 MB, free: 6.883 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.793e-06/0.5415, allocations: 3.953 kB / 416.4 MB, free: 6.879 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002706/0.5417, allocations: 244.6 kB / 416.7 MB, free: 6.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.5418, allocations: 4 kB / 416.7 MB, free: 6.656 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000371/0.5421, allocations: 54.53 kB / 416.7 MB, free: 6.648 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.5422, allocations: 0 / 416.7 MB, free: 6.648 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.5422, allocations: 0.6562 kB / 416.7 MB, free: 6.648 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.5422, allocations: 0 / 416.7 MB, free: 6.648 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.57e-06/0.5422, allocations: 3.875 kB / 416.7 MB, free: 6.648 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006515/0.5429, allocations: 422.8 kB / 417.2 MB, free: 6.453 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.414e-05/0.5429, allocations: 88.8 kB / 417.2 MB, free: 6.352 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.182e-05/0.543, allocations: 7.406 kB / 417.2 MB, free: 6.348 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.5431, allocations: 7.688 kB / 417.3 MB, free: 6.348 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.972e-05/0.5432, allocations: 15.8 kB / 417.3 MB, free: 6.336 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.5432, allocations: 3.875 kB / 417.3 MB, free: 6.336 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.803e-05/0.5433, allocations: 126.1 kB / 417.4 MB, free: 6.254 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.66e-07/0.5434, allocations: 0 / 417.4 MB, free: 6.254 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001717/0.5451, allocations: 0.5324 MB / 417.9 MB, free: 6.227 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (der1.u,der2.u,der3.u) * 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 (15): * Single equations (assignments): 15 * 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.001424/0.5465, allocations: 0.5791 MB / 418.5 MB, free: 6.098 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000765/0.5473, allocations: 389.8 kB / 418.9 MB, free: 5.879 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.447e-06/0.5473, allocations: 3.906 kB / 418.9 MB, free: 5.879 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000184/0.5475, allocations: 87.8 kB / 419 MB, free: 5.863 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.5478, allocations: 29.92 kB / 419 MB, free: 5.855 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00068/0.5485, allocations: 475.2 kB / 419.5 MB, free: 5.539 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001827/0.5487, allocations: 0.7386 MB / 420.2 MB, free: 4.812 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.296e-05/0.5488, allocations: 22.88 kB / 420.2 MB, free: 4.801 MB / 314.7 MB Notification: Performance of SimCode: time 1.562e-06/0.5488, allocations: 0 / 420.2 MB, free: 4.801 MB / 314.7 MB Notification: Performance of Templates: time 0.01285/0.5617, allocations: 7.051 MB / 427.3 MB, free: 1.156 MB / 314.7 MB