Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_Modelica.Blocks.Examples.FilterWithDifferentiation") Notification: Performance of loadModel(Modelica): time 2.207/2.207, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003603/0.0003603, allocations: 11.98 kB / 264.5 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09784/0.09823, allocations: 44.51 MB / 309 MB, free: 376 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5269/0.6252, allocations: 85.06 MB / 394.1 MB, free: 15.31 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003813/0.6257, allocations: 75.34 kB / 394.2 MB, free: 15.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1029/0.7285, allocations: 16.86 MB / 411 MB, free: 7.176 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.7286, allocations: 0 / 411 MB, free: 7.176 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.118e-05/0.7286, allocations: 4 kB / 411 MB, free: 7.172 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.00159/0.7302, allocations: 0.5695 MB / 411.6 MB, free: 6.73 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.7303, allocations: 7.562 kB / 411.6 MB, free: 6.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.856e-05/0.7304, allocations: 15.53 kB / 411.6 MB, free: 6.723 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003998/0.7308, allocations: 231.1 kB / 411.9 MB, free: 6.496 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.7308, allocations: 7.188 kB / 411.9 MB, free: 6.496 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.901e-05/0.7309, allocations: 11.69 kB / 411.9 MB, free: 6.496 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003375/0.7312, allocations: 138.3 kB / 412 MB, free: 6.398 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.7313, allocations: 0 / 412 MB, free: 6.398 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.7313, allocations: 3.625 kB / 412 MB, free: 6.398 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.7313, allocations: 3.906 kB / 412 MB, free: 6.398 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002078/0.7315, allocations: 61.98 kB / 412.1 MB, free: 6.379 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007447/0.7323, allocations: 388.4 kB / 412.5 MB, free: 6.055 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004923/0.7328, allocations: 129.2 kB / 412.6 MB, free: 6.008 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.7328, allocations: 7.625 kB / 412.6 MB, free: 6.004 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.7329, allocations: 38.47 kB / 412.6 MB, free: 5.961 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 2.645e-06/0.7329, allocations: 3.938 kB / 412.6 MB, free: 5.957 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.003059/0.7359, allocations: 1.226 MB / 413.9 MB, free: 5.172 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/0.736, allocations: 132.4 kB / 414 MB, free: 5.016 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.7362, allocations: 175.3 kB / 414.2 MB, free: 4.895 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.7363, allocations: 29.64 kB / 414.2 MB, free: 4.863 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.561e-05/0.7363, allocations: 109.9 kB / 414.3 MB, free: 4.77 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.984e-05/0.7364, allocations: 53.39 kB / 414.3 MB, free: 4.734 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.564e-05/0.7364, allocations: 3.5 kB / 414.3 MB, free: 4.734 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.754e-05/0.7365, allocations: 337.4 kB / 414.7 MB, free: 4.406 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002363/0.7367, allocations: 90.52 kB / 414.8 MB, free: 4.395 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002603/0.737, allocations: 135.7 kB / 414.9 MB, free: 4.34 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002675/0.7373, allocations: 124.3 kB / 415 MB, free: 4.316 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.7373, allocations: 4 kB / 415 MB, free: 4.312 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007441/0.7381, allocations: 302.8 kB / 415.3 MB, free: 4.223 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.7381, allocations: 5.094 kB / 415.3 MB, free: 4.223 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/0.7381, allocations: 3.875 kB / 415.3 MB, free: 4.223 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002569/0.7384, allocations: 43.81 kB / 415.4 MB, free: 4.203 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002735/0.7387, allocations: 31.05 kB / 415.4 MB, free: 4.199 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001305/0.74, allocations: 1.413 MB / 416.8 MB, free: 2.871 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.7402, allocations: 15.98 kB / 416.8 MB, free: 2.863 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/0.7402, allocations: 3.875 kB / 416.8 MB, free: 2.863 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 (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.0001733/0.7404, allocations: 137.1 kB / 417 MB, free: 2.742 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.166e-05/0.7405, allocations: 15.59 kB / 417 MB, free: 2.734 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.501e-05/0.7406, allocations: 23.44 kB / 417 MB, free: 2.727 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.7406, allocations: 0 / 417 MB, free: 2.727 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.7406, allocations: 0 / 417 MB, free: 2.727 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/0.7406, allocations: 11.81 kB / 417 MB, free: 2.719 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003179/0.7409, allocations: 249.9 kB / 417.3 MB, free: 2.492 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.741, allocations: 0 / 417.3 MB, free: 2.492 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005196/0.7415, allocations: 57.61 kB / 417.3 MB, free: 2.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.7415, allocations: 3.938 kB / 417.3 MB, free: 2.477 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.7415, allocations: 0 / 417.3 MB, free: 2.477 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.7415, allocations: 0 / 417.3 MB, free: 2.477 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.7416, allocations: 3.875 kB / 417.3 MB, free: 2.477 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000819/0.7424, allocations: 417.8 kB / 417.7 MB, free: 2.285 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.017e-05/0.7425, allocations: 88.77 kB / 417.8 MB, free: 2.184 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.207e-05/0.7425, allocations: 7.844 kB / 417.8 MB, free: 2.184 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.7427, allocations: 7.906 kB / 417.8 MB, free: 2.18 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.969e-05/0.7428, allocations: 7.828 kB / 417.8 MB, free: 2.176 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.7428, allocations: 6.969 kB / 417.8 MB, free: 2.176 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001446/0.7429, allocations: 121.9 kB / 418 MB, free: 2.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.743, allocations: 0 / 418 MB, free: 2.09 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002169/0.7451, allocations: 0.5365 MB / 418.5 MB, free: 2.066 MB / 314.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.001967/0.7471, allocations: 0.5749 MB / 419.1 MB, free: 1.93 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009594/0.7481, allocations: 393.7 kB / 419.5 MB, free: 1.715 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.7482, allocations: 0 / 419.5 MB, free: 1.715 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002243/0.7484, allocations: 94.3 kB / 419.6 MB, free: 1.695 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.7487, allocations: 26.16 kB / 419.6 MB, free: 1.688 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008038/0.7496, allocations: 447.5 kB / 420 MB, free: 1.398 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/0.7498, allocations: 0.739 MB / 420.8 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001545/0.75, allocations: 32.67 kB / 420.8 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.263e-05/0.75, allocations: 15.19 kB / 420.8 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of SimCode: time 1.092e-06/0.75, allocations: 0 / 420.8 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of Templates: time 0.02018/0.7702, allocations: 7.695 MB / 428.5 MB, free: 12.77 MB / 330.7 MB