Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithDifferentiation.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.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithDifferentiation") Notification: Performance of loadModel(Modelica): time 1.841/1.841, allocations: 171.1 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005032/0.0005033, allocations: 11.98 kB / 233.9 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09687/0.09741, allocations: 38.76 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4585/0.5559, allocations: 79.87 MB / 352.5 MB, free: 9.715 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00032/0.5563, allocations: 75.5 kB / 352.6 MB, free: 9.68 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09279/0.6491, allocations: 16.89 MB / 369.4 MB, free: 10.06 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.6492, allocations: 0 / 369.4 MB, free: 10.06 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.137e-05/0.6492, allocations: 0 / 369.4 MB, free: 10.06 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.002071/0.6513, allocations: 0.5666 MB / 370 MB, free: 9.457 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.846e-05/0.6514, allocations: 12.03 kB / 370 MB, free: 9.445 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.26e-05/0.6515, allocations: 11.81 kB / 370 MB, free: 9.434 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006205/0.6521, allocations: 237.3 kB / 370.3 MB, free: 9.176 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.6522, allocations: 11.14 kB / 370.3 MB, free: 9.168 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.031e-05/0.6523, allocations: 11 kB / 370.3 MB, free: 9.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004392/0.6527, allocations: 138.8 kB / 370.4 MB, free: 9.023 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.6527, allocations: 0 / 370.4 MB, free: 9.023 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.6528, allocations: 7.5 kB / 370.4 MB, free: 9.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.6528, allocations: 0 / 370.4 MB, free: 9.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003056/0.6531, allocations: 61.33 kB / 370.5 MB, free: 8.973 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/0.6542, allocations: 383.2 kB / 370.9 MB, free: 8.586 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006912/0.6549, allocations: 133.8 kB / 371 MB, free: 8.473 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.655, allocations: 7.984 kB / 371 MB, free: 8.465 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.503e-05/0.655, allocations: 30.78 kB / 371 MB, free: 8.426 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 2.545e-06/0.6551, allocations: 0 / 371 MB, free: 8.426 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.00465/0.6597, allocations: 1.235 MB / 372.3 MB, free: 7.246 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/0.6599, allocations: 132.6 kB / 372.4 MB, free: 7.086 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003047/0.6602, allocations: 182 kB / 372.6 MB, free: 6.918 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.91e-05/0.6603, allocations: 25.7 kB / 372.6 MB, free: 6.887 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.6604, allocations: 114 kB / 372.7 MB, free: 6.781 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.934e-05/0.6605, allocations: 52.95 kB / 372.8 MB, free: 6.742 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.119e-05/0.6605, allocations: 4 kB / 372.8 MB, free: 6.738 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002022/0.6608, allocations: 330.1 kB / 373.1 MB, free: 6.414 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003757/0.6611, allocations: 97.52 kB / 373.2 MB, free: 6.348 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004264/0.6616, allocations: 131.5 kB / 373.3 MB, free: 6.242 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004199/0.662, allocations: 119.2 kB / 373.4 MB, free: 6.164 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.6621, allocations: 0 / 373.4 MB, free: 6.164 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001197/0.6633, allocations: 304.2 kB / 373.7 MB, free: 5.934 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.6633, allocations: 8 kB / 373.7 MB, free: 5.926 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.78e-05/0.6634, allocations: 0 / 373.7 MB, free: 5.926 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003451/0.6637, allocations: 44.12 kB / 373.8 MB, free: 5.887 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003915/0.6641, allocations: 35.92 kB / 373.8 MB, free: 5.852 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002301/0.6664, allocations: 1.417 MB / 375.2 MB, free: 4.383 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/0.6667, allocations: 11.64 kB / 375.2 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.241e-05/0.6668, allocations: 8.234 kB / 375.2 MB, free: 4.367 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 (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00024/0.667, allocations: 148 kB / 375.4 MB, free: 4.227 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.691e-05/0.6671, allocations: 15.81 kB / 375.4 MB, free: 4.211 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.172e-05/0.6672, allocations: 20.34 kB / 375.4 MB, free: 4.199 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.6672, allocations: 3.984 kB / 375.4 MB, free: 4.195 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.6672, allocations: 0 / 375.4 MB, free: 4.195 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.6673, allocations: 0 / 375.4 MB, free: 4.195 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005/0.6678, allocations: 246.1 kB / 375.7 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.6678, allocations: 8 kB / 375.7 MB, free: 3.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006657/0.6685, allocations: 63.52 kB / 375.7 MB, free: 3.871 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.6685, allocations: 0 / 375.7 MB, free: 3.871 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.366e-05/0.6685, allocations: 0 / 375.7 MB, free: 3.871 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.143e-06/0.6686, allocations: 4 kB / 375.7 MB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.6686, allocations: 0 / 375.7 MB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/0.6697, allocations: 418.4 kB / 376.2 MB, free: 3.531 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.698e-05/0.6698, allocations: 89.06 kB / 376.2 MB, free: 3.426 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.179e-05/0.6699, allocations: 7.5 kB / 376.2 MB, free: 3.422 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002501/0.6701, allocations: 11.97 kB / 376.3 MB, free: 3.414 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.548e-05/0.6702, allocations: 11.97 kB / 376.3 MB, free: 3.402 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.393e-05/0.6703, allocations: 7.938 kB / 376.3 MB, free: 3.395 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001826/0.6705, allocations: 129.9 kB / 376.4 MB, free: 3.281 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.6705, allocations: 0 / 376.4 MB, free: 3.281 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.003013/0.6735, allocations: 0.5339 MB / 376.9 MB, free: 2.754 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (der1.u,der2.u,der3.u) * 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 (15): * Single equations (assignments): 15 * 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.002497/0.676, allocations: 0.5774 MB / 377.5 MB, free: 2.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00135/0.6774, allocations: 388.4 kB / 377.9 MB, free: 1.836 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.6775, allocations: 8 kB / 377.9 MB, free: 1.828 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003526/0.6778, allocations: 86.2 kB / 378 MB, free: 1.766 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004676/0.6783, allocations: 30.98 kB / 378 MB, free: 1.742 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.6796, allocations: 441.4 kB / 378.5 MB, free: 1.332 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005043/0.6801, allocations: 0.7355 MB / 379.2 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002156/0.6803, allocations: 33.06 kB / 379.2 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.6805, allocations: 15.44 kB / 379.2 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of SimCode: time 1.112e-06/0.6805, allocations: 0 / 379.2 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of Templates: time 0.02766/0.7082, allocations: 7.709 MB / 386.9 MB, free: 8.879 MB / 314.7 MB