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.FilterWithRiseTime.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.FilterWithRiseTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filter_fac3.x.1.|filter_fac3.x.2.|filter_fac4.x.1.|filter_fac4.x.2.|filter_fac5.x.1.|filter_fac5.x.2.",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Blocks.Examples.FilterWithRiseTime") Notification: Performance of loadModel(Modelica): time 1.723/1.723, allocations: 171.1 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.0003643, allocations: 12 kB / 233.2 MB, free: 0.9336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07119/0.07158, allocations: 38.77 MB / 272 MB, free: 10.08 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2941/0.3658, allocations: 79.74 MB / 351.7 MB, free: 3.293 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/0.366, allocations: 71.97 kB / 351.8 MB, free: 3.223 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04258/0.4086, allocations: 9.941 MB / 361.8 MB, free: 9.285 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.539e-06/0.4087, allocations: 4 kB / 361.8 MB, free: 9.281 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.357e-05/0.4087, allocations: 8 kB / 361.8 MB, free: 9.273 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.00117/0.4099, allocations: 0.5684 MB / 362.3 MB, free: 8.652 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.41, allocations: 8.031 kB / 362.3 MB, free: 8.645 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.4101, allocations: 27.72 kB / 362.4 MB, free: 8.617 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007271/0.4108, allocations: 358.7 kB / 362.7 MB, free: 8.23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.4109, allocations: 12.12 kB / 362.7 MB, free: 8.219 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.137e-05/0.4109, allocations: 19.98 kB / 362.8 MB, free: 8.199 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004471/0.4114, allocations: 229.8 kB / 363 MB, free: 7.934 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.4114, allocations: 0 / 363 MB, free: 7.934 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.033e-05/0.4115, allocations: 4 kB / 363 MB, free: 7.93 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.938e-06/0.4115, allocations: 3.938 kB / 363 MB, free: 7.926 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002784/0.4118, allocations: 92.5 kB / 363.1 MB, free: 7.836 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.4129, allocations: 0.4933 MB / 363.6 MB, free: 7.293 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004125/0.4133, allocations: 170.5 kB / 363.7 MB, free: 7.117 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.4134, allocations: 0 / 363.7 MB, free: 7.117 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.354e-05/0.4134, allocations: 34.56 kB / 363.8 MB, free: 7.074 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.409e-06/0.4134, allocations: 0 / 363.8 MB, free: 7.074 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006752/0.4141, allocations: 225.6 kB / 364 MB, free: 6.848 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001836/0.4143, allocations: 298.7 kB / 364.3 MB, free: 6.488 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003678/0.4147, allocations: 243.6 kB / 364.5 MB, free: 6.238 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.379e-05/0.4148, allocations: 37.69 kB / 364.6 MB, free: 6.195 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.415, allocations: 207 kB / 364.8 MB, free: 5.988 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.135e-05/0.415, allocations: 43.27 kB / 364.8 MB, free: 5.945 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.031e-05/0.4151, allocations: 8 kB / 364.8 MB, free: 5.938 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.4152, allocations: 322.8 kB / 365.1 MB, free: 5.613 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002573/0.4155, allocations: 95.94 kB / 365.2 MB, free: 5.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003321/0.4158, allocations: 184.4 kB / 365.4 MB, free: 5.309 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002803/0.4161, allocations: 112 kB / 365.5 MB, free: 5.199 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.755e-06/0.4162, allocations: 0 / 365.5 MB, free: 5.199 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006689/0.4168, allocations: 281.5 kB / 365.8 MB, free: 4.918 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.4169, allocations: 4 kB / 365.8 MB, free: 4.914 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.63e-05/0.4169, allocations: 11.92 kB / 365.8 MB, free: 4.902 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.4169, allocations: 0 / 365.8 MB, free: 4.902 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003199/0.4173, allocations: 56.08 kB / 365.8 MB, free: 4.848 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.589e-05/0.4173, allocations: 19.88 kB / 365.9 MB, free: 4.828 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.4175, allocations: 23.69 kB / 365.9 MB, free: 4.805 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.285e-05/0.4176, allocations: 11.98 kB / 365.9 MB, free: 4.793 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 (25): * Single equations (assignments): 19 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * 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.0002234/0.4178, allocations: 145.9 kB / 366 MB, free: 4.641 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.232e-05/0.4179, allocations: 27.66 kB / 366.1 MB, free: 4.613 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.721e-05/0.418, allocations: 34.02 kB / 366.1 MB, free: 4.582 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.862e-06/0.418, allocations: 0 / 366.1 MB, free: 4.582 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.767e-06/0.418, allocations: 0 / 366.1 MB, free: 4.582 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.391e-06/0.418, allocations: 7.953 kB / 366.1 MB, free: 4.574 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000416/0.4184, allocations: 273.4 kB / 366.4 MB, free: 4.258 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.734e-06/0.4185, allocations: 0 / 366.4 MB, free: 4.258 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002411/0.4187, allocations: 23.98 kB / 366.4 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.902e-06/0.4187, allocations: 0 / 366.4 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/0.4188, allocations: 8 kB / 366.4 MB, free: 4.227 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.079e-06/0.4188, allocations: 0 / 366.4 MB, free: 4.227 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.377e-06/0.4188, allocations: 3.938 kB / 366.4 MB, free: 4.223 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006779/0.4195, allocations: 353.2 kB / 366.8 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/0.4196, allocations: 112.8 kB / 366.9 MB, free: 3.734 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.342e-05/0.4197, allocations: 8 kB / 366.9 MB, free: 3.727 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.4199, allocations: 7.984 kB / 366.9 MB, free: 3.719 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.509e-05/0.4199, allocations: 4 kB / 366.9 MB, free: 3.715 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.42, allocations: 8 kB / 366.9 MB, free: 3.707 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002718/0.4203, allocations: 199.1 kB / 367.1 MB, free: 3.516 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.39e-07/0.4203, allocations: 0 / 367.1 MB, free: 3.516 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005441/0.4208, allocations: 99.78 kB / 367.2 MB, free: 3.418 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (filter_fac5.x[1],filter_fac5.x[2],filter_fac4.x[1],filter_fac4.x[2],filter_fac3.x[1],filter_fac3.x[2]) * 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 (13): * Single equations (assignments): 13 * 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.0003269/0.4212, allocations: 163 kB / 367.4 MB, free: 3.246 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006155/0.4218, allocations: 280.9 kB / 367.6 MB, free: 2.953 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/0.4218, allocations: 8 kB / 367.6 MB, free: 2.945 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001764/0.422, allocations: 63.91 kB / 367.7 MB, free: 2.883 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004557/0.4225, allocations: 70.45 kB / 367.8 MB, free: 2.812 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.4239, allocations: 0.6461 MB / 368.4 MB, free: 2.129 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004908/0.4244, allocations: 0.7716 MB / 369.2 MB, free: 1.332 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.67e-05/0.4245, allocations: 23.44 kB / 369.2 MB, free: 1.309 MB / 298.7 MB Notification: Performance of SimCode: time 1.767e-06/0.4245, allocations: 0 / 369.2 MB, free: 1.309 MB / 298.7 MB Notification: Performance of Templates: time 0.00841/0.433, allocations: 3.869 MB / 373.1 MB, free: 13.44 MB / 314.7 MB