Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation") Notification: Performance of loadModel(Modelica): time 2.146/2.146, allocations: 171.1 MB / 187.3 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003762/0.0003765, allocations: 8 kB / 233.8 MB, free: 0.9961 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08689/0.0873, allocations: 38.78 MB / 272.5 MB, free: 10.14 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3683/0.4556, allocations: 79.87 MB / 352.4 MB, free: 3.238 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/0.456, allocations: 71.97 kB / 352.5 MB, free: 3.168 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08436/0.5403, allocations: 16.89 MB / 369.4 MB, free: 2.258 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.073e-06/0.5404, allocations: 0 / 369.4 MB, free: 2.258 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.311e-05/0.5404, allocations: 4 kB / 369.4 MB, free: 2.254 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001627/0.5421, allocations: 0.5572 MB / 369.9 MB, free: 1.648 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.5421, allocations: 8.031 kB / 369.9 MB, free: 1.641 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.262e-05/0.5422, allocations: 15.81 kB / 369.9 MB, free: 1.625 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004474/0.5427, allocations: 247.1 kB / 370.2 MB, free: 1.344 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.5427, allocations: 11.95 kB / 370.2 MB, free: 1.332 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.322e-05/0.5428, allocations: 8 kB / 370.2 MB, free: 1.324 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003464/0.5431, allocations: 133.8 kB / 370.3 MB, free: 1.172 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.5431, allocations: 0 / 370.3 MB, free: 1.172 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.5432, allocations: 8 kB / 370.3 MB, free: 1.164 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.5432, allocations: 0 / 370.3 MB, free: 1.164 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002362/0.5434, allocations: 59.95 kB / 370.4 MB, free: 1.105 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008384/0.5443, allocations: 392.5 kB / 370.8 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005247/0.5448, allocations: 126.6 kB / 370.9 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.5449, allocations: 0 / 370.9 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.5449, allocations: 34.78 kB / 370.9 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.673e-06/0.5449, allocations: 192 / 370.9 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.003455/0.5484, allocations: 1.23 MB / 372.2 MB, free: 15.13 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.899e-05/0.5485, allocations: 140.5 kB / 372.3 MB, free: 14.96 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.5487, allocations: 174.7 kB / 372.5 MB, free: 14.78 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.5488, allocations: 29.7 kB / 372.5 MB, free: 14.75 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.5489, allocations: 174.8 kB / 372.7 MB, free: 14.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.386e-05/0.549, allocations: 51.27 kB / 372.7 MB, free: 14.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.725e-05/0.549, allocations: 4 kB / 372.7 MB, free: 14.52 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.5491, allocations: 318.8 kB / 373 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000295/0.5494, allocations: 99.94 kB / 373.1 MB, free: 14.1 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000319/0.5498, allocations: 135.4 kB / 373.3 MB, free: 13.95 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003142/0.5501, allocations: 115.9 kB / 373.4 MB, free: 13.84 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.5501, allocations: 0 / 373.4 MB, free: 13.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008648/0.551, allocations: 302.4 kB / 373.7 MB, free: 13.54 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.551, allocations: 4 kB / 373.7 MB, free: 13.53 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.636e-05/0.5511, allocations: 4 kB / 373.7 MB, free: 13.53 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002704/0.5514, allocations: 48.81 kB / 373.7 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002854/0.5517, allocations: 29.2 kB / 373.8 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001671/0.5533, allocations: 1.417 MB / 375.2 MB, free: 11.9 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.5536, allocations: 12.03 kB / 375.2 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.439e-05/0.5536, allocations: 7.984 kB / 375.2 MB, free: 11.88 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.0001961/0.5538, allocations: 145.7 kB / 375.4 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.341e-05/0.5539, allocations: 19.98 kB / 375.4 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.574e-05/0.554, allocations: 21.53 kB / 375.4 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.554, allocations: 0 / 375.4 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.554, allocations: 4 kB / 375.4 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.554, allocations: 0 / 375.4 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00037/0.5544, allocations: 261.4 kB / 375.7 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5544, allocations: 0 / 375.7 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005155/0.5549, allocations: 47.97 kB / 375.7 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.5549, allocations: 3.938 kB / 375.7 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.318e-05/0.555, allocations: 4 kB / 375.7 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.555, allocations: 11.92 kB / 375.7 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.555, allocations: 0 / 375.7 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000884/0.5559, allocations: 417 kB / 376.1 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.126e-05/0.556, allocations: 88.92 kB / 376.2 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.965e-05/0.556, allocations: 4 kB / 376.2 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.5562, allocations: 8 kB / 376.2 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.351e-05/0.5563, allocations: 7.984 kB / 376.2 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.5563, allocations: 11.94 kB / 376.2 MB, free: 10.75 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001443/0.5565, allocations: 128.2 kB / 376.4 MB, free: 10.63 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5565, allocations: 0 / 376.4 MB, free: 10.63 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002198/0.5587, allocations: 0.535 MB / 376.9 MB, free: 10.09 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.002022/0.5607, allocations: 0.5695 MB / 377.5 MB, free: 9.523 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001087/0.5619, allocations: 393.9 kB / 377.9 MB, free: 9.113 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.5619, allocations: 0 / 377.9 MB, free: 9.113 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002587/0.5622, allocations: 87.89 kB / 377.9 MB, free: 9.027 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.5625, allocations: 27.94 kB / 378 MB, free: 9 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009927/0.5635, allocations: 486.4 kB / 378.4 MB, free: 8.492 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.5639, allocations: 0.7402 MB / 379.2 MB, free: 7.723 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.951e-05/0.564, allocations: 15.44 kB / 379.2 MB, free: 7.711 MB / 314.7 MB Notification: Performance of SimCode: time 9.12e-07/0.564, allocations: 0 / 379.2 MB, free: 7.711 MB / 314.7 MB Notification: Performance of Templates: time 0.02935/0.5934, allocations: 7.069 MB / 386.3 MB, free: 0.6289 MB / 314.7 MB