Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 1.683/1.683, allocations: 171.2 MB / 186.7 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003653/0.0003655, allocations: 16 kB / 233.2 MB, free: 3.012 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07381/0.0742, allocations: 38.77 MB / 272 MB, free: 12.16 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3065/0.3807, allocations: 79.87 MB / 351.9 MB, free: 10.25 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002223/0.381, allocations: 70.28 kB / 351.9 MB, free: 10.21 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06565/0.4466, allocations: 16.88 MB / 368.8 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.42e-06/0.4467, allocations: 0 / 368.8 MB, free: 10.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.165e-05/0.4467, allocations: 4 kB / 368.8 MB, free: 10.59 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.001488/0.4482, allocations: 0.5577 MB / 369.4 MB, free: 9.996 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.4483, allocations: 12.03 kB / 369.4 MB, free: 9.984 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.926e-05/0.4484, allocations: 15.81 kB / 369.4 MB, free: 9.969 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000419/0.4488, allocations: 242.6 kB / 369.7 MB, free: 9.703 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.4488, allocations: 11.83 kB / 369.7 MB, free: 9.695 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.008e-05/0.4489, allocations: 11.69 kB / 369.7 MB, free: 9.688 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003108/0.4492, allocations: 137.9 kB / 369.8 MB, free: 9.551 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.4492, allocations: 0 / 369.8 MB, free: 9.551 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.4493, allocations: 4 kB / 369.8 MB, free: 9.551 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.429e-06/0.4493, allocations: 4 kB / 369.8 MB, free: 9.547 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001967/0.4495, allocations: 66.38 kB / 369.9 MB, free: 9.496 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007554/0.4503, allocations: 385 kB / 370.3 MB, free: 9.109 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000461/0.4507, allocations: 131.3 kB / 370.4 MB, free: 8.996 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.4508, allocations: 0 / 370.4 MB, free: 8.996 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.4508, allocations: 38.53 kB / 370.4 MB, free: 8.953 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 2.104e-06/0.4508, allocations: 0 / 370.4 MB, free: 8.953 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.002981/0.4538, allocations: 1.221 MB / 371.6 MB, free: 7.785 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.271e-05/0.454, allocations: 132.5 kB / 371.8 MB, free: 7.625 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.4542, allocations: 162.9 kB / 371.9 MB, free: 7.473 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.887e-05/0.4542, allocations: 29.02 kB / 372 MB, free: 7.441 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.4544, allocations: 180.8 kB / 372.1 MB, free: 7.27 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.295e-05/0.4544, allocations: 53.81 kB / 372.2 MB, free: 7.223 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.39e-05/0.4545, allocations: 3.375 kB / 372.2 MB, free: 7.223 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.4546, allocations: 321.8 kB / 372.5 MB, free: 6.902 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000253/0.4549, allocations: 97.5 kB / 372.6 MB, free: 6.836 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002611/0.4552, allocations: 133 kB / 372.7 MB, free: 6.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002547/0.4554, allocations: 115.8 kB / 372.8 MB, free: 6.656 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4555, allocations: 0 / 372.8 MB, free: 6.656 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007401/0.4562, allocations: 302.5 kB / 373.1 MB, free: 6.426 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.4563, allocations: 7.938 kB / 373.2 MB, free: 6.418 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.694e-05/0.4563, allocations: 7.672 kB / 373.2 MB, free: 6.414 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002326/0.4565, allocations: 40.64 kB / 373.2 MB, free: 6.375 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.4568, allocations: 34.92 kB / 373.2 MB, free: 6.344 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001655/0.4584, allocations: 1.42 MB / 374.7 MB, free: 4.863 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.4586, allocations: 7.781 kB / 374.7 MB, free: 4.859 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.982e-05/0.4587, allocations: 8 kB / 374.7 MB, free: 4.852 MB / 298.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.0002088/0.4589, allocations: 145.4 kB / 374.8 MB, free: 4.711 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.958e-05/0.4589, allocations: 11.81 kB / 374.8 MB, free: 4.699 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.2e-05/0.459, allocations: 30.89 kB / 374.9 MB, free: 4.688 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.118e-06/0.459, allocations: 0 / 374.9 MB, free: 4.688 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.416e-06/0.459, allocations: 4 kB / 374.9 MB, free: 4.684 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.482e-06/0.4591, allocations: 0 / 374.9 MB, free: 4.684 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000367/0.4594, allocations: 255.9 kB / 375.1 MB, free: 4.418 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.867e-06/0.4594, allocations: 0 / 375.1 MB, free: 4.418 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000357/0.4598, allocations: 47.97 kB / 375.2 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.4598, allocations: 0 / 375.2 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.4599, allocations: 10.73 kB / 375.2 MB, free: 4.363 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.847e-06/0.4599, allocations: 0 / 375.2 MB, free: 4.363 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.4599, allocations: 7.984 kB / 375.2 MB, free: 4.355 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007709/0.4607, allocations: 420.8 kB / 375.6 MB, free: 4.016 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.434e-05/0.4608, allocations: 88.92 kB / 375.7 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.739e-05/0.4608, allocations: 7.719 kB / 375.7 MB, free: 3.906 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.461, allocations: 4 kB / 375.7 MB, free: 3.902 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.55e-05/0.461, allocations: 15.23 kB / 375.7 MB, free: 3.891 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.4611, allocations: 7.938 kB / 375.7 MB, free: 3.883 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001492/0.4612, allocations: 129.9 kB / 375.8 MB, free: 3.77 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.13e-07/0.4612, allocations: 0 / 375.8 MB, free: 3.77 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001942/0.4632, allocations: 0.5332 MB / 376.4 MB, free: 3.242 MB / 298.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.002027/0.4653, allocations: 0.5646 MB / 376.9 MB, free: 2.68 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009379/0.4662, allocations: 395.3 kB / 377.3 MB, free: 2.332 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.182e-06/0.4663, allocations: 0 / 377.3 MB, free: 2.332 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002272/0.4665, allocations: 89.75 kB / 377.4 MB, free: 2.266 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.4668, allocations: 26.25 kB / 377.4 MB, free: 2.246 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008821/0.4677, allocations: 474.6 kB / 377.9 MB, free: 1.797 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004357/0.4682, allocations: 0.7395 MB / 378.6 MB, free: 1.035 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.791e-05/0.4683, allocations: 23.38 kB / 378.7 MB, free: 1.016 MB / 298.7 MB Notification: Performance of SimCode: time 1.561e-06/0.4683, allocations: 3.938 kB / 378.7 MB, free: 1.012 MB / 298.7 MB Notification: Performance of Templates: time 0.01561/0.4839, allocations: 7.066 MB / 385.7 MB, free: 9.945 MB / 314.7 MB