Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_cpp_Modelica.Blocks.Examples.FilterWithRiseTime") Notification: Performance of loadModel(Modelica): time 1.806/1.806, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003631/0.0003633, allocations: 8 kB / 263.9 MB, free: 13.59 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08147/0.08187, allocations: 44.52 MB / 308.4 MB, free: 1 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5038/0.5857, allocations: 84.92 MB / 393.4 MB, free: 18.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002043/0.586, allocations: 72.83 kB / 393.4 MB, free: 18.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03719/0.6232, allocations: 9.911 MB / 403.3 MB, free: 15.63 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.719e-06/0.6232, allocations: 0 / 403.3 MB, free: 15.63 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.302e-05/0.6233, allocations: 11.81 kB / 403.4 MB, free: 15.62 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.000948/0.6242, allocations: 0.5704 MB / 403.9 MB, free: 15.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.6243, allocations: 7.719 kB / 403.9 MB, free: 15.11 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.499e-05/0.6244, allocations: 35.2 kB / 404 MB, free: 15.09 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005543/0.625, allocations: 353 kB / 404.3 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.625, allocations: 11.69 kB / 404.3 MB, free: 14.81 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.075e-05/0.6251, allocations: 15.47 kB / 404.3 MB, free: 14.81 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00035/0.6254, allocations: 225.7 kB / 404.6 MB, free: 14.64 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.6254, allocations: 0 / 404.6 MB, free: 14.64 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.6255, allocations: 7 kB / 404.6 MB, free: 14.64 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.994e-06/0.6255, allocations: 0 / 404.6 MB, free: 14.64 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000233/0.6257, allocations: 93.05 kB / 404.7 MB, free: 14.62 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008792/0.6266, allocations: 0.4961 MB / 405.2 MB, free: 14.26 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003739/0.627, allocations: 178.8 kB / 405.3 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.6271, allocations: 3.938 kB / 405.3 MB, free: 14.19 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.6271, allocations: 42.19 kB / 405.4 MB, free: 14.15 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.268e-06/0.6271, allocations: 0 / 405.4 MB, free: 14.15 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005392/0.6277, allocations: 225.7 kB / 405.6 MB, free: 14.07 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/0.6277, allocations: 286.6 kB / 405.9 MB, free: 13.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.628, allocations: 252.5 kB / 406.1 MB, free: 13.59 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.628, allocations: 28.89 kB / 406.1 MB, free: 13.56 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.845e-05/0.6281, allocations: 213.6 kB / 406.4 MB, free: 13.4 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.6282, allocations: 46.17 kB / 406.4 MB, free: 13.37 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.48e-05/0.6282, allocations: 0 / 406.4 MB, free: 13.37 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.845e-05/0.6283, allocations: 325.7 kB / 406.7 MB, free: 13.05 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.6285, allocations: 103.5 kB / 406.8 MB, free: 13.03 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002486/0.6288, allocations: 171 kB / 407 MB, free: 12.93 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000234/0.629, allocations: 118.3 kB / 407.1 MB, free: 12.91 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.812e-06/0.629, allocations: 4 kB / 407.1 MB, free: 12.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005488/0.6296, allocations: 283.7 kB / 407.4 MB, free: 12.83 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.6296, allocations: 7.859 kB / 407.4 MB, free: 12.83 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.213e-05/0.6297, allocations: 7.953 kB / 407.4 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.6297, allocations: 3.906 kB / 407.4 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002928/0.63, allocations: 46.84 kB / 407.4 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.477e-06/0.63, allocations: 0 / 407.4 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.6302, allocations: 31.34 kB / 407.5 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.708e-05/0.6302, allocations: 15.59 kB / 407.5 MB, free: 12.79 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 (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.0001465/0.6304, allocations: 143.2 kB / 407.6 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.121e-05/0.6305, allocations: 27.25 kB / 407.7 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.091e-05/0.6305, allocations: 36.05 kB / 407.7 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.731e-06/0.6305, allocations: 0 / 407.7 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.384e-06/0.6306, allocations: 0 / 407.7 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.199e-06/0.6306, allocations: 0 / 407.7 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002913/0.6309, allocations: 271.5 kB / 408 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.602e-06/0.6309, allocations: 4 kB / 408 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000258/0.6312, allocations: 30.72 kB / 408 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.6312, allocations: 3.938 kB / 408 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.6312, allocations: 3.938 kB / 408 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.673e-06/0.6312, allocations: 3.953 kB / 408 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.795e-06/0.6312, allocations: 0 / 408 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000542/0.6318, allocations: 340 kB / 408.3 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.776e-05/0.6319, allocations: 100.6 kB / 408.4 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.353e-05/0.6319, allocations: 7.406 kB / 408.4 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.6321, allocations: 19.16 kB / 408.5 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.6322, allocations: 3.969 kB / 408.5 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.6322, allocations: 7.406 kB / 408.5 MB, free: 12.09 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001846/0.6324, allocations: 196.2 kB / 408.7 MB, free: 11.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.59e-07/0.6324, allocations: 0 / 408.7 MB, free: 11.98 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004789/0.6329, allocations: 107.5 kB / 408.8 MB, free: 11.95 MB / 314.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.0002427/0.6332, allocations: 148.9 kB / 408.9 MB, free: 11.85 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004625/0.6336, allocations: 284.3 kB / 409.2 MB, free: 11.72 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.179e-06/0.6337, allocations: 0 / 409.2 MB, free: 11.72 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.6338, allocations: 73.59 kB / 409.3 MB, free: 11.7 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004402/0.6343, allocations: 62.66 kB / 409.3 MB, free: 11.68 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.6354, allocations: 0.6484 MB / 410 MB, free: 11.25 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.6357, allocations: 0.7733 MB / 410.7 MB, free: 10.51 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.79e-05/0.6357, allocations: 22.78 kB / 410.8 MB, free: 10.51 MB / 314.7 MB Notification: Performance of SimCode: time 1.391e-06/0.6357, allocations: 0 / 410.8 MB, free: 10.51 MB / 314.7 MB Notification: Performance of Templates: time 0.006616/0.6424, allocations: 3.86 MB / 414.6 MB, free: 8.555 MB / 314.7 MB