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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.62/1.62, allocations: 171.3 MB / 179.2 MB, free: 7.59 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.013e-05/2.001e-05, allocations: 7.938 kB / 222.5 MB, free: 8.723 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0689/0.06894, allocations: 38.77 MB / 261.3 MB, free: 1.867 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2905/0.3595, allocations: 79 MB / 340.3 MB, free: 9.578 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/0.3597, allocations: 72.27 kB / 340.3 MB, free: 9.543 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0402/0.4, allocations: 9.834 MB / 350.2 MB, free: 1.379 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.473e-06/0.4, allocations: 0 / 350.2 MB, free: 1.379 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.91e-05/0.4001, allocations: 15.94 kB / 350.2 MB, free: 1.363 MB / 282.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.0008626/0.4009, allocations: 0.5156 MB / 350.7 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.401, allocations: 12.03 kB / 350.7 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.401e-05/0.4011, allocations: 31.62 kB / 350.7 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006926/0.4018, allocations: 347.2 kB / 351.1 MB, free: 432 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.4018, allocations: 7.953 kB / 351.1 MB, free: 424 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.755e-05/0.4019, allocations: 19.91 kB / 351.1 MB, free: 404 kB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001921/0.4021, allocations: 70.16 kB / 351.2 MB, free: 356 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003312/0.4024, allocations: 199.2 kB / 351.4 MB, free: 136 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.4025, allocations: 0 / 351.4 MB, free: 136 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.4025, allocations: 0 / 351.4 MB, free: 136 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.964e-06/0.4025, allocations: 4 kB / 351.4 MB, free: 132 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009917/0.4035, allocations: 472.7 kB / 351.8 MB, free: 15.69 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003062/0.4038, allocations: 148.9 kB / 352 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.404, allocations: 55.31 kB / 352 MB, free: 15.53 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.404, allocations: 0 / 352 MB, free: 15.53 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.404, allocations: 38.56 kB / 352.1 MB, free: 15.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.977e-06/0.4041, allocations: 0 / 352.1 MB, free: 15.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003869/0.4045, allocations: 146.7 kB / 352.2 MB, free: 15.36 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001815/0.4046, allocations: 290.5 kB / 352.5 MB, free: 15.01 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000309/0.405, allocations: 238.3 kB / 352.7 MB, free: 14.81 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.843e-05/0.405, allocations: 25.7 kB / 352.8 MB, free: 14.78 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.4052, allocations: 201 kB / 353 MB, free: 14.61 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.435e-05/0.4053, allocations: 53.95 kB / 353 MB, free: 14.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.423e-05/0.4053, allocations: 0 / 353 MB, free: 14.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.4055, allocations: 329.5 kB / 353.3 MB, free: 14.24 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/0.4057, allocations: 82.91 kB / 353.4 MB, free: 14.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002542/0.4059, allocations: 157.2 kB / 353.6 MB, free: 14.03 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003334/0.4063, allocations: 110.1 kB / 353.7 MB, free: 13.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.982e-06/0.4063, allocations: 0 / 353.7 MB, free: 13.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006106/0.4069, allocations: 262.8 kB / 353.9 MB, free: 13.74 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.4069, allocations: 4 kB / 353.9 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.181e-05/0.407, allocations: 4 kB / 353.9 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.407, allocations: 4 kB / 353.9 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003217/0.4073, allocations: 51.58 kB / 354 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.4074, allocations: 4 kB / 354 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.4075, allocations: 15.75 kB / 354 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.719e-05/0.4076, allocations: 12 kB / 354 MB, free: 13.65 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 () * 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.0001208/0.4077, allocations: 116.9 kB / 354.1 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.133e-05/0.4078, allocations: 23.72 kB / 354.2 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.671e-05/0.4079, allocations: 25.72 kB / 354.2 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.84e-06/0.4079, allocations: 3.984 kB / 354.2 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.901e-06/0.4079, allocations: 3.984 kB / 354.2 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.554e-06/0.4079, allocations: 0 / 354.2 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003789/0.4083, allocations: 249.7 kB / 354.4 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.399e-06/0.4083, allocations: 0 / 354.4 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002438/0.4086, allocations: 31.92 kB / 354.5 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.995e-06/0.4086, allocations: 4 kB / 354.5 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.4086, allocations: 0 / 354.5 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.263e-06/0.4086, allocations: 0 / 354.5 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.302e-06/0.4087, allocations: 0 / 354.5 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004849/0.4092, allocations: 311.1 kB / 354.8 MB, free: 12.92 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.4093, allocations: 108.1 kB / 354.9 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.749e-05/0.4094, allocations: 4.094 kB / 354.9 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.4096, allocations: 18.42 kB / 354.9 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.4096, allocations: 4.125 kB / 354.9 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.4097, allocations: 11.98 kB / 354.9 MB, free: 12.77 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000211/0.4099, allocations: 180.7 kB / 355.1 MB, free: 12.62 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.36e-07/0.4099, allocations: 4 kB / 355.1 MB, free: 12.62 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004906/0.4104, allocations: 79.88 kB / 355.2 MB, free: 12.54 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 () * 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.0003043/0.4107, allocations: 159.1 kB / 355.3 MB, free: 12.38 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004606/0.4112, allocations: 265.3 kB / 355.6 MB, free: 12.14 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.434e-06/0.4112, allocations: 3.938 kB / 355.6 MB, free: 12.14 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.4113, allocations: 55.92 kB / 355.7 MB, free: 12.1 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004386/0.4118, allocations: 66.2 kB / 355.7 MB, free: 12.05 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.4129, allocations: 474.3 kB / 356.2 MB, free: 11.59 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005016/0.4134, allocations: 0.7822 MB / 357 MB, free: 10.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.804e-05/0.4135, allocations: 19.44 kB / 357 MB, free: 10.77 MB / 298.7 MB Notification: Performance of SimCode: time 1.383e-06/0.4135, allocations: 0 / 357 MB, free: 10.77 MB / 298.7 MB Notification: Performance of Templates: time 0.00808/0.4216, allocations: 3.828 MB / 360.8 MB, free: 6.961 MB / 298.7 MB