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.Filter.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.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.|Butterworth.x.1.|Butterworth.x.2.|Butterworth.x.3.|ChebyshevI.x.1.|ChebyshevI.x.2.|ChebyshevI.x.3.|CriticalDamping.x.1.|CriticalDamping.x.2.|CriticalDamping.x.3.",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Blocks.Examples.Filter") Notification: Performance of loadModel(Modelica): time 1.714/1.714, allocations: 194.9 MB / 211.7 MB, free: 2.973 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003472/0.0003473, allocations: 8 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07441/0.07478, allocations: 44.51 MB / 308.4 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3402/0.415, allocations: 85.21 MB / 393.7 MB, free: 18.73 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000196/0.4152, allocations: 69.5 kB / 393.7 MB, free: 18.73 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1495/0.5648, allocations: 35.53 MB / 429.2 MB, free: 4.434 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.5648, allocations: 0 / 429.2 MB, free: 4.434 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.728e-05/0.5649, allocations: 23.66 kB / 429.3 MB, free: 4.422 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.002087/0.567, allocations: 0.884 MB / 430.2 MB, free: 3.785 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.567, allocations: 7.75 kB / 430.2 MB, free: 3.785 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/0.5672, allocations: 54.67 kB / 430.2 MB, free: 3.754 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008247/0.568, allocations: 455 kB / 430.7 MB, free: 3.438 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.568, allocations: 11.81 kB / 430.7 MB, free: 3.438 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.647e-05/0.5681, allocations: 26.69 kB / 430.7 MB, free: 3.438 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005019/0.5686, allocations: 337.9 kB / 431 MB, free: 3.203 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.5687, allocations: 0 / 431 MB, free: 3.203 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.613e-05/0.5687, allocations: 11.31 kB / 431 MB, free: 3.203 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.582e-06/0.5687, allocations: 7.828 kB / 431 MB, free: 3.199 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003295/0.5691, allocations: 151.3 kB / 431.2 MB, free: 3.168 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/0.5704, allocations: 0.6849 MB / 431.9 MB, free: 2.73 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007182/0.5711, allocations: 314.5 kB / 432.2 MB, free: 2.656 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.5711, allocations: 3.219 kB / 432.2 MB, free: 2.656 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.5712, allocations: 41.25 kB / 432.2 MB, free: 2.613 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 2.679e-06/0.5712, allocations: 0 / 432.2 MB, free: 2.613 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.000844/0.572, allocations: 391.9 kB / 432.6 MB, free: 2.504 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.143e-05/0.5721, allocations: 371.7 kB / 433 MB, free: 2.059 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004043/0.5725, allocations: 358.6 kB / 433.3 MB, free: 1.902 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.369e-05/0.5726, allocations: 37.02 kB / 433.4 MB, free: 1.867 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.5727, allocations: 244.1 kB / 433.6 MB, free: 1.695 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.344e-05/0.5728, allocations: 80.34 kB / 433.7 MB, free: 1.633 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-05/0.5728, allocations: 11.03 kB / 433.7 MB, free: 1.633 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.319e-05/0.5729, allocations: 333.6 kB / 434 MB, free: 1.309 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003827/0.5733, allocations: 197.7 kB / 434.2 MB, free: 1.277 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004392/0.5738, allocations: 307.5 kB / 434.5 MB, free: 1.125 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00042/0.5742, allocations: 241.3 kB / 434.7 MB, free: 1.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.5742, allocations: 0 / 434.7 MB, free: 1.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001262/0.5755, allocations: 0.6169 MB / 435.4 MB, free: 0.918 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.5755, allocations: 8.406 kB / 435.4 MB, free: 0.918 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-05/0.5756, allocations: 11.91 kB / 435.4 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005148/0.5761, allocations: 134.1 kB / 435.5 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003311/0.5765, allocations: 58.06 kB / 435.6 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004335/0.5808, allocations: 4.251 MB / 439.8 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004012/0.5813, allocations: 58.11 kB / 439.9 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6e-05/0.5813, allocations: 15.7 kB / 439.9 MB, free: 12.81 MB / 330.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 (38): * Single equations (assignments): 27 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003212/0.5817, allocations: 174.5 kB / 440.1 MB, free: 12.69 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.802e-05/0.5818, allocations: 42.92 kB / 440.1 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.032e-05/0.5819, allocations: 43.62 kB / 440.1 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/0.5819, allocations: 4 kB / 440.1 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.5819, allocations: 7.875 kB / 440.2 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.296e-06/0.5819, allocations: 3.984 kB / 440.2 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005097/0.5824, allocations: 342 kB / 440.5 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.399e-06/0.5825, allocations: 0 / 440.5 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003768/0.5829, allocations: 38.81 kB / 440.5 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.5829, allocations: 7.859 kB / 440.5 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.78e-05/0.5829, allocations: 11.33 kB / 440.6 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.867e-06/0.5829, allocations: 0 / 440.6 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.583, allocations: 0 / 440.6 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008911/0.5839, allocations: 0.5068 MB / 441.1 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.584, allocations: 120.5 kB / 441.2 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.176e-05/0.5841, allocations: 15.31 kB / 441.2 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002366/0.5843, allocations: 15.61 kB / 441.2 MB, free: 11.99 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.176e-05/0.5844, allocations: 15.97 kB / 441.2 MB, free: 11.97 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.5844, allocations: 4 kB / 441.2 MB, free: 11.97 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003663/0.5848, allocations: 269.1 kB / 441.5 MB, free: 11.76 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.92e-07/0.5848, allocations: 0 / 441.5 MB, free: 11.76 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002368/0.5872, allocations: 0.6962 MB / 442.2 MB, free: 11.08 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (CriticalDamping.x[1],CriticalDamping.x[2],CriticalDamping.x[3],Bessel.x[1],Bessel.x[2],Bessel.x[3],Butterworth.x[1],Butterworth.x[2],Butterworth.x[3],ChebyshevI.x[1],ChebyshevI.x[2],ChebyshevI.x[3]) * 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 (21): * Single equations (assignments): 21 * 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.001903/0.5891, allocations: 0.7192 MB / 442.9 MB, free: 10.38 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001729/0.5909, allocations: 0.9397 MB / 443.8 MB, free: 9.477 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.915e-06/0.5909, allocations: 0 / 443.8 MB, free: 9.477 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000286/0.5912, allocations: 127.5 kB / 444 MB, free: 9.379 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005738/0.5918, allocations: 94.55 kB / 444.1 MB, free: 9.305 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001934/0.5937, allocations: 1.053 MB / 445.1 MB, free: 8.297 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006276/0.5944, allocations: 0.8561 MB / 446 MB, free: 7.422 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.5945, allocations: 27.44 kB / 446 MB, free: 7.395 MB / 330.7 MB Notification: Performance of SimCode: time 1.336e-06/0.5945, allocations: 0 / 446 MB, free: 7.395 MB / 330.7 MB Notification: Performance of Templates: time 0.02487/0.6194, allocations: 12.83 MB / 458.8 MB, free: 10.59 MB / 346.7 MB