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.979/1.979, allocations: 194.8 MB / 211.6 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003873/0.0003876, allocations: 12 kB / 263.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08012/0.08054, allocations: 44.5 MB / 308.3 MB, free: 1.039 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002219/0.08281, allocations: 1.467 MB / 309.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006584/0.08943, allocations: 3.374 MB / 313.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001829/0.08966, allocations: 7.938 kB / 313.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005138/0.09019, allocations: 143.5 kB / 313.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001538/0.09036, allocations: 43.8 kB / 313.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004541/0.09492, allocations: 1.295 MB / 314.7 MB, free: 10.69 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004573/0.0954, allocations: 215.5 kB / 314.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.09554, allocations: 32.73 kB / 314.9 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001895/0.09574, allocations: 95.56 kB / 315 MB, free: 10.35 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.09591, allocations: 91.48 kB / 315.1 MB, free: 10.26 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.33e-05/0.09596, allocations: 4 kB / 315.1 MB, free: 10.26 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003127/0.09628, allocations: 107.8 kB / 315.2 MB, free: 10.15 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.09641, allocations: 59.81 kB / 315.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.269e-05/0.0965, allocations: 65.52 kB / 315.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003936/0.09691, allocations: 239.7 kB / 315.6 MB, free: 9.789 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.09692, allocations: 0 / 315.6 MB, free: 9.789 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.09694, allocations: 0 / 315.6 MB, free: 9.789 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.66e-06/0.09695, allocations: 0 / 315.6 MB, free: 9.789 MB / 266.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.000935/0.09789, allocations: 0.5373 MB / 316.1 MB, free: 9.203 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.09794, allocations: 11.97 kB / 316.1 MB, free: 9.191 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.172e-05/0.09804, allocations: 31.62 kB / 316.1 MB, free: 9.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004228/0.09847, allocations: 279.1 kB / 316.4 MB, free: 8.844 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.09851, allocations: 12.19 kB / 316.4 MB, free: 8.832 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.199e-05/0.09858, allocations: 12 kB / 316.4 MB, free: 8.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004162/0.09901, allocations: 205.9 kB / 316.6 MB, free: 8.586 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.09903, allocations: 0 / 316.6 MB, free: 8.586 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.636e-05/0.09907, allocations: 8 kB / 316.6 MB, free: 8.578 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.297e-06/0.09908, allocations: 0 / 316.6 MB, free: 8.578 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002741/0.09937, allocations: 88.5 kB / 316.7 MB, free: 8.492 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.1005, allocations: 0.4889 MB / 317.2 MB, free: 7.953 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004008/0.1009, allocations: 170.4 kB / 317.4 MB, free: 7.777 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.1009, allocations: 4.078 kB / 317.4 MB, free: 7.773 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.101, allocations: 42.5 kB / 317.4 MB, free: 7.723 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.35e-06/0.101, allocations: 0 / 317.4 MB, free: 7.723 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006441/0.1016, allocations: 229.1 kB / 317.7 MB, free: 7.492 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001873/0.1019, allocations: 290.7 kB / 317.9 MB, free: 7.141 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003851/0.1022, allocations: 280.6 kB / 318.2 MB, free: 6.852 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.096e-05/0.1023, allocations: 29.7 kB / 318.2 MB, free: 6.816 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.1025, allocations: 210.9 kB / 318.4 MB, free: 6.609 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.412e-05/0.1026, allocations: 47.34 kB / 318.5 MB, free: 6.562 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.425e-05/0.1026, allocations: 0 / 318.5 MB, free: 6.562 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.1028, allocations: 322.8 kB / 318.8 MB, free: 6.238 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002616/0.103, allocations: 111.9 kB / 318.9 MB, free: 6.129 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003324/0.1034, allocations: 172.5 kB / 319.1 MB, free: 5.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002955/0.1037, allocations: 128.1 kB / 319.2 MB, free: 5.805 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.569e-06/0.1037, allocations: 0 / 319.2 MB, free: 5.805 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006995/0.1044, allocations: 293.3 kB / 319.5 MB, free: 5.512 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.1045, allocations: 7.594 kB / 319.5 MB, free: 5.508 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.269e-05/0.1045, allocations: 7.984 kB / 319.5 MB, free: 5.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.1045, allocations: 7.938 kB / 319.5 MB, free: 5.492 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003415/0.1049, allocations: 55.97 kB / 319.6 MB, free: 5.438 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.1049, allocations: 3.938 kB / 319.6 MB, free: 5.434 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.1051, allocations: 23.77 kB / 319.6 MB, free: 5.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.345e-05/0.1052, allocations: 8 kB / 319.6 MB, free: 5.402 MB / 266.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.0002068/0.1054, allocations: 141.8 kB / 319.8 MB, free: 5.254 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.677e-05/0.1055, allocations: 27.62 kB / 319.8 MB, free: 5.227 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.712e-05/0.1056, allocations: 33.97 kB / 319.8 MB, free: 5.191 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.341e-06/0.1056, allocations: 3.953 kB / 319.8 MB, free: 5.188 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/0.1056, allocations: 4.094 kB / 319.8 MB, free: 5.184 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.794e-06/0.1056, allocations: 7.938 kB / 319.8 MB, free: 5.176 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004171/0.106, allocations: 261.5 kB / 320.1 MB, free: 4.871 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.07e-06/0.1061, allocations: 0 / 320.1 MB, free: 4.871 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002528/0.1063, allocations: 31.92 kB / 320.1 MB, free: 4.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.072e-06/0.1063, allocations: 0 / 320.1 MB, free: 4.84 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.528e-05/0.1064, allocations: 4 kB / 320.1 MB, free: 4.836 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.92e-06/0.1064, allocations: 3.984 kB / 320.1 MB, free: 4.832 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-06/0.1064, allocations: 4.062 kB / 320.1 MB, free: 4.828 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006851/0.1071, allocations: 354.7 kB / 320.5 MB, free: 4.469 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.103e-05/0.1072, allocations: 100.7 kB / 320.6 MB, free: 4.352 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.983e-05/0.1073, allocations: 8 kB / 320.6 MB, free: 4.344 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.1075, allocations: 16.05 kB / 320.6 MB, free: 4.328 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.1075, allocations: 11.94 kB / 320.6 MB, free: 4.316 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.1076, allocations: 4 kB / 320.6 MB, free: 4.312 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002602/0.1078, allocations: 195.1 kB / 320.8 MB, free: 4.125 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.07e-07/0.1078, allocations: 0 / 320.8 MB, free: 4.125 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005062/0.1084, allocations: 79.89 kB / 320.9 MB, free: 4.047 MB / 266.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.0003111/0.1087, allocations: 143.2 kB / 321 MB, free: 3.895 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006362/0.1093, allocations: 280.9 kB / 321.3 MB, free: 3.602 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.77e-06/0.1094, allocations: 4 kB / 321.3 MB, free: 3.598 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001762/0.1095, allocations: 63.91 kB / 321.4 MB, free: 3.535 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004624/0.11, allocations: 64.59 kB / 321.4 MB, free: 3.473 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.1114, allocations: 0.6416 MB / 322.1 MB, free: 2.801 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005028/0.1119, allocations: 0.7833 MB / 322.8 MB, free: 1.992 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.086e-05/0.112, allocations: 27.38 kB / 322.9 MB, free: 1.969 MB / 266.7 MB Notification: Performance of SimCode: time 1.471e-06/0.112, allocations: 0 / 322.9 MB, free: 1.969 MB / 266.7 MB Notification: Performance of Templates: time 0.008473/0.1205, allocations: 3.839 MB / 326.7 MB, free: 14.12 MB / 282.7 MB