Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithRiseTime.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.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_Modelica.Blocks.Examples.FilterWithRiseTime") Notification: Performance of loadModel(Modelica): time 1.983/1.983, allocations: 171.2 MB / 186.7 MB, free: 1.031 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005142/0.0005143, allocations: 8 kB / 233.8 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1204, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4355/0.5559, allocations: 79.74 MB / 352.4 MB, free: 9.789 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003238/0.5563, allocations: 74.41 kB / 352.4 MB, free: 9.754 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05788/0.6142, allocations: 9.942 MB / 362.4 MB, free: 1.363 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.6143, allocations: 0 / 362.4 MB, free: 1.363 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.859e-05/0.6143, allocations: 8 kB / 362.4 MB, free: 1.355 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.001346/0.6157, allocations: 0.5706 MB / 362.9 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.698e-05/0.6157, allocations: 8.031 kB / 363 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.6159, allocations: 31.72 kB / 363 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009264/0.6168, allocations: 359.8 kB / 363.3 MB, free: 368 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.6169, allocations: 7.875 kB / 363.3 MB, free: 364 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.785e-05/0.6169, allocations: 15.88 kB / 363.4 MB, free: 352 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005124/0.6175, allocations: 226.2 kB / 363.6 MB, free: 112 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.6175, allocations: 0 / 363.6 MB, free: 112 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.2e-05/0.6175, allocations: 7.875 kB / 363.6 MB, free: 108 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.6176, allocations: 0 / 363.6 MB, free: 108 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003224/0.6179, allocations: 100.4 kB / 363.7 MB, free: 32 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001354/0.6193, allocations: 0.4911 MB / 364.2 MB, free: 15.56 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005/0.6198, allocations: 173.5 kB / 364.3 MB, free: 15.42 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.6198, allocations: 3.938 kB / 364.4 MB, free: 15.42 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.6199, allocations: 34.56 kB / 364.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.565e-06/0.6199, allocations: 0 / 364.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007765/0.6207, allocations: 241.8 kB / 364.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00019/0.6209, allocations: 286.7 kB / 364.9 MB, free: 14.83 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004333/0.6213, allocations: 285.7 kB / 365.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.226e-05/0.6214, allocations: 29.02 kB / 365.2 MB, free: 14.55 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.6215, allocations: 158.6 kB / 365.4 MB, free: 14.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.22e-05/0.6216, allocations: 44.83 kB / 365.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.699e-05/0.6217, allocations: 3.25 kB / 365.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.6219, allocations: 342.5 kB / 365.7 MB, free: 14.06 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003033/0.6222, allocations: 102 kB / 365.8 MB, free: 13.99 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003859/0.6226, allocations: 171.7 kB / 366 MB, free: 13.82 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003305/0.6229, allocations: 120.8 kB / 366.1 MB, free: 13.74 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.6229, allocations: 0 / 366.1 MB, free: 13.74 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000807/0.6238, allocations: 299.1 kB / 366.4 MB, free: 13.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.6238, allocations: 8 kB / 366.4 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.29e-05/0.6239, allocations: 4 kB / 366.4 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.6239, allocations: 112 / 366.4 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004836/0.6244, allocations: 63.83 kB / 366.5 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.6244, allocations: 3.953 kB / 366.5 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.6246, allocations: 23.72 kB / 366.5 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.081e-05/0.6247, allocations: 15.3 kB / 366.5 MB, free: 13.39 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.0002542/0.625, allocations: 147.4 kB / 366.7 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.495e-05/0.625, allocations: 31.62 kB / 366.7 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.077e-05/0.6251, allocations: 24.89 kB / 366.7 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.6252, allocations: 8 kB / 366.7 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.6252, allocations: 0 / 366.7 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.6252, allocations: 3.953 kB / 366.7 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004794/0.6257, allocations: 261.9 kB / 367 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.6257, allocations: 0 / 367 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003457/0.626, allocations: 24.61 kB / 367 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.6261, allocations: 0 / 367 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.27e-05/0.6261, allocations: 6.938 kB / 367 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.6261, allocations: 0 / 367 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.6261, allocations: 0 / 367 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008137/0.6269, allocations: 345.5 kB / 367.4 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001694/0.6271, allocations: 116 kB / 367.5 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.394e-05/0.6272, allocations: 10.86 kB / 367.5 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.6274, allocations: 10.62 kB / 367.5 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.32e-05/0.6275, allocations: 9.453 kB / 367.5 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.6275, allocations: 7.938 kB / 367.5 MB, free: 12.44 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003511/0.6279, allocations: 201.1 kB / 367.7 MB, free: 12.27 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6279, allocations: 0 / 367.7 MB, free: 12.27 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005768/0.6285, allocations: 95.34 kB / 367.8 MB, free: 12.19 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.000361/0.6289, allocations: 162.2 kB / 368 MB, free: 12.02 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007795/0.6297, allocations: 295 kB / 368.3 MB, free: 11.76 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.6297, allocations: 3.938 kB / 368.3 MB, free: 11.76 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002143/0.6299, allocations: 61.59 kB / 368.3 MB, free: 11.71 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005875/0.6305, allocations: 70.69 kB / 368.4 MB, free: 11.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.6322, allocations: 0.6165 MB / 369 MB, free: 11.05 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004811/0.6327, allocations: 0.7774 MB / 369.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000281/0.633, allocations: 45.89 kB / 369.8 MB, free: 10.21 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.357e-05/0.6331, allocations: 19.44 kB / 369.9 MB, free: 10.19 MB / 298.7 MB Notification: Performance of SimCode: time 1.022e-06/0.6332, allocations: 4 kB / 369.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of Templates: time 0.01181/0.645, allocations: 3.45 MB / 373.3 MB, free: 6.758 MB / 298.7 MB