Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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) 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.975/1.975, allocations: 194.8 MB / 212.3 MB, free: 3.02 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005743/0.0005744, allocations: 11.98 kB / 264.5 MB, free: 13.64 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1811, allocations: 44.5 MB / 309 MB, free: 1.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4935/0.6746, allocations: 85.05 MB / 394 MB, free: 14.85 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/0.675, allocations: 73.12 kB / 394.1 MB, free: 14.85 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1248/0.7998, allocations: 16.84 MB / 410.9 MB, free: 6.953 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.995e-06/0.7998, allocations: 4 kB / 410.9 MB, free: 6.949 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.135e-05/0.7999, allocations: 15.75 kB / 411 MB, free: 6.938 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.001651/0.8015, allocations: 0.5614 MB / 411.5 MB, free: 6.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.8016, allocations: 11.62 kB / 411.5 MB, free: 6.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.854e-05/0.8017, allocations: 11.69 kB / 411.5 MB, free: 6.492 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003785/0.802, allocations: 228.9 kB / 411.8 MB, free: 6.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.8021, allocations: 15 kB / 411.8 MB, free: 6.262 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.111e-05/0.8021, allocations: 7.438 kB / 411.8 MB, free: 6.262 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002956/0.8024, allocations: 131.2 kB / 411.9 MB, free: 6.172 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.8025, allocations: 0 / 411.9 MB, free: 6.172 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/0.8025, allocations: 3.875 kB / 411.9 MB, free: 6.172 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.8025, allocations: 4 kB / 411.9 MB, free: 6.168 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002129/0.8027, allocations: 72.67 kB / 412 MB, free: 6.145 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007489/0.8035, allocations: 389 kB / 412.4 MB, free: 5.82 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004782/0.804, allocations: 132.4 kB / 412.5 MB, free: 5.773 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.804, allocations: 0 / 412.5 MB, free: 5.773 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.8041, allocations: 34.66 kB / 412.5 MB, free: 5.734 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.8041, allocations: 3.938 kB / 412.5 MB, free: 5.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.003017/0.8071, allocations: 1.234 MB / 413.8 MB, free: 4.938 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.8072, allocations: 132.4 kB / 413.9 MB, free: 4.781 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.8074, allocations: 173.7 kB / 414.1 MB, free: 4.66 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.8074, allocations: 28.45 kB / 414.1 MB, free: 4.629 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.223e-05/0.8075, allocations: 187.8 kB / 414.3 MB, free: 4.465 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.999e-05/0.8076, allocations: 49.52 kB / 414.3 MB, free: 4.43 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.553e-05/0.8076, allocations: 0 / 414.3 MB, free: 4.43 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.645e-05/0.8077, allocations: 328.8 kB / 414.6 MB, free: 4.109 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/0.8079, allocations: 94.72 kB / 414.7 MB, free: 4.094 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002643/0.8082, allocations: 131.5 kB / 414.9 MB, free: 4.043 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002748/0.8085, allocations: 123.6 kB / 415 MB, free: 4.016 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.8085, allocations: 3.906 kB / 415 MB, free: 4.016 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007445/0.8093, allocations: 286.6 kB / 415.3 MB, free: 3.938 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.8093, allocations: 5.688 kB / 415.3 MB, free: 3.938 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.351e-05/0.8093, allocations: 11.83 kB / 415.3 MB, free: 3.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000253/0.8096, allocations: 48.73 kB / 415.3 MB, free: 3.906 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002708/0.8099, allocations: 27.2 kB / 415.4 MB, free: 3.902 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/0.8112, allocations: 1.421 MB / 416.8 MB, free: 2.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.8114, allocations: 11.08 kB / 416.8 MB, free: 2.566 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.942e-05/0.8115, allocations: 3.906 kB / 416.8 MB, free: 2.566 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.0001687/0.8117, allocations: 135.6 kB / 416.9 MB, free: 2.449 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.922e-05/0.8117, allocations: 15.59 kB / 416.9 MB, free: 2.441 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.301e-05/0.8118, allocations: 25.55 kB / 417 MB, free: 2.43 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.8118, allocations: 4 kB / 417 MB, free: 2.426 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.8118, allocations: 0 / 417 MB, free: 2.426 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.8118, allocations: 11.8 kB / 417 MB, free: 2.418 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000301/0.8121, allocations: 246.7 kB / 417.2 MB, free: 2.199 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.8122, allocations: 0 / 417.2 MB, free: 2.199 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004847/0.8126, allocations: 54.88 kB / 417.3 MB, free: 2.188 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.8127, allocations: 0 / 417.3 MB, free: 2.188 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.8127, allocations: 3.062 kB / 417.3 MB, free: 2.188 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.8127, allocations: 0 / 417.3 MB, free: 2.188 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.8127, allocations: 0 / 417.3 MB, free: 2.188 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007462/0.8135, allocations: 422.2 kB / 417.7 MB, free: 1.992 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.127e-05/0.8135, allocations: 92.77 kB / 417.8 MB, free: 1.887 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.849e-05/0.8136, allocations: 7.594 kB / 417.8 MB, free: 1.887 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.8138, allocations: 7.906 kB / 417.8 MB, free: 1.883 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/0.8138, allocations: 15.69 kB / 417.8 MB, free: 1.875 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.8138, allocations: 3.844 kB / 417.8 MB, free: 1.875 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001096/0.814, allocations: 124.8 kB / 417.9 MB, free: 1.793 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.814, allocations: 0 / 417.9 MB, free: 1.793 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002099/0.8161, allocations: 0.5319 MB / 418.5 MB, free: 1.766 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.001795/0.8179, allocations: 0.5665 MB / 419 MB, free: 1.637 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008837/0.8188, allocations: 397.8 kB / 419.4 MB, free: 1.418 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.8188, allocations: 0 / 419.4 MB, free: 1.418 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002237/0.8191, allocations: 94.48 kB / 419.5 MB, free: 1.398 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.8194, allocations: 28.88 kB / 419.6 MB, free: 1.391 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007987/0.8202, allocations: 475.8 kB / 420 MB, free: 1.074 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/0.8204, allocations: 0.738 MB / 420.8 MB, free: 356 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.495e-05/0.8205, allocations: 15.25 kB / 420.8 MB, free: 348 kB / 314.7 MB Notification: Performance of SimCode: time 1.182e-06/0.8205, allocations: 0 / 420.8 MB, free: 348 kB / 314.7 MB Notification: Performance of Templates: time 0.01943/0.84, allocations: 7.066 MB / 427.8 MB, free: 12.69 MB / 330.7 MB