Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation") Notification: Performance of loadModel(Modelica): time 1.638/1.638, allocations: 171.3 MB / 179.2 MB, free: 7.508 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.27e-05/2.273e-05, allocations: 8 kB / 222.5 MB, free: 8.695 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06967/0.06971, allocations: 38.75 MB / 261.3 MB, free: 1.859 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2891/0.3588, allocations: 79.14 MB / 340.4 MB, free: 9.352 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002086/0.3591, allocations: 65.97 kB / 340.5 MB, free: 9.32 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06471/0.4238, allocations: 16.8 MB / 357.3 MB, free: 9.906 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4239, allocations: 0 / 357.3 MB, free: 9.906 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.237e-05/0.4239, allocations: 8 kB / 357.3 MB, free: 9.898 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.001333/0.4252, allocations: 0.5433 MB / 357.8 MB, free: 9.32 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.4253, allocations: 12.03 kB / 357.8 MB, free: 9.309 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.227e-05/0.4254, allocations: 15.81 kB / 357.8 MB, free: 9.293 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004152/0.4258, allocations: 236.9 kB / 358.1 MB, free: 9.035 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.4258, allocations: 4 kB / 358.1 MB, free: 9.031 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.068e-05/0.4259, allocations: 7.953 kB / 358.1 MB, free: 9.023 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001341/0.426, allocations: 41.17 kB / 358.1 MB, free: 8.996 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002228/0.4263, allocations: 122.6 kB / 358.2 MB, free: 8.871 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.4263, allocations: 0 / 358.2 MB, free: 8.871 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.4263, allocations: 4 kB / 358.2 MB, free: 8.867 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.285e-06/0.4263, allocations: 3.938 kB / 358.3 MB, free: 8.863 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007623/0.4271, allocations: 364.7 kB / 358.6 MB, free: 8.504 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003737/0.4275, allocations: 110.6 kB / 358.7 MB, free: 8.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.835e-05/0.4276, allocations: 34.88 kB / 358.8 MB, free: 8.383 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.356e-06/0.4276, allocations: 4 kB / 358.8 MB, free: 8.379 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.4277, allocations: 34.75 kB / 358.8 MB, free: 8.336 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 4.59e-06/0.4277, allocations: 4 kB / 358.8 MB, free: 8.332 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.002459/0.4302, allocations: 1.089 MB / 359.9 MB, free: 7.246 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.192e-05/0.4303, allocations: 132.5 kB / 360 MB, free: 7.086 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/0.4305, allocations: 151 kB / 360.2 MB, free: 6.945 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.312e-05/0.4305, allocations: 25.7 kB / 360.2 MB, free: 6.914 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.4306, allocations: 173.4 kB / 360.4 MB, free: 6.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.568e-05/0.4307, allocations: 53.95 kB / 360.4 MB, free: 6.703 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-05/0.4307, allocations: 0 / 360.4 MB, free: 6.703 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.4309, allocations: 326.7 kB / 360.7 MB, free: 6.379 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/0.4311, allocations: 89.59 kB / 360.8 MB, free: 6.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.4313, allocations: 122 kB / 360.9 MB, free: 6.223 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002527/0.4316, allocations: 103.6 kB / 361 MB, free: 6.156 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.43e-06/0.4316, allocations: 0.9375 kB / 361 MB, free: 6.156 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006556/0.4323, allocations: 267.5 kB / 361.3 MB, free: 5.949 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.4323, allocations: 4 kB / 361.3 MB, free: 5.945 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.291e-05/0.4324, allocations: 4 kB / 361.3 MB, free: 5.941 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002147/0.4326, allocations: 43.94 kB / 361.3 MB, free: 5.902 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.4328, allocations: 35.92 kB / 361.4 MB, free: 5.867 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.953e-06/0.4328, allocations: 0 / 361.4 MB, free: 5.867 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.433, allocations: 7.984 kB / 361.4 MB, free: 5.859 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.884e-05/0.433, allocations: 7.625 kB / 361.4 MB, free: 5.855 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 () * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001252/0.4332, allocations: 105 kB / 361.5 MB, free: 5.746 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.042e-05/0.4332, allocations: 27.64 kB / 361.5 MB, free: 5.719 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.617e-05/0.4333, allocations: 24.89 kB / 361.6 MB, free: 5.703 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.4333, allocations: 0 / 361.6 MB, free: 5.703 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.4333, allocations: 4 kB / 361.6 MB, free: 5.699 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.072e-06/0.4334, allocations: 3.938 kB / 361.6 MB, free: 5.695 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008072/0.4342, allocations: 476.3 kB / 362 MB, free: 5.258 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.859e-06/0.4342, allocations: 0 / 362 MB, free: 5.258 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002894/0.4345, allocations: 35.92 kB / 362.1 MB, free: 5.223 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.507e-06/0.4345, allocations: 4 kB / 362.1 MB, free: 5.219 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.27e-05/0.4346, allocations: 7.984 kB / 362.1 MB, free: 5.211 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.25e-06/0.4346, allocations: 0 / 362.1 MB, free: 5.211 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.662e-06/0.4346, allocations: 0 / 362.1 MB, free: 5.211 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006023/0.4352, allocations: 366.8 kB / 362.4 MB, free: 4.91 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.787e-05/0.4353, allocations: 88.97 kB / 362.5 MB, free: 4.805 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.114e-05/0.4354, allocations: 4.031 kB / 362.5 MB, free: 4.801 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.4356, allocations: 8 kB / 362.5 MB, free: 4.793 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.127e-05/0.4356, allocations: 11.36 kB / 362.5 MB, free: 4.785 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-05/0.4357, allocations: 4 kB / 362.5 MB, free: 4.781 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001419/0.4358, allocations: 129.6 kB / 362.7 MB, free: 4.668 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.37e-07/0.4358, allocations: 0 / 362.7 MB, free: 4.668 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002046/0.4379, allocations: 0.5233 MB / 363.2 MB, free: 4.145 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Bessel.x[1],Bessel.x[2],der1.u) * Number of discrete variables: 0 () * Number of discrete 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.001903/0.4398, allocations: 0.5646 MB / 363.8 MB, free: 3.578 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007057/0.4406, allocations: 346.2 kB / 364.1 MB, free: 3.266 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.743e-06/0.4406, allocations: 0 / 364.1 MB, free: 3.266 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.4407, allocations: 76.84 kB / 364.2 MB, free: 3.211 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.4411, allocations: 21.98 kB / 364.2 MB, free: 3.195 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008966/0.442, allocations: 346 kB / 364.5 MB, free: 2.871 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004542/0.4425, allocations: 0.7429 MB / 365.3 MB, free: 2.102 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.54e-05/0.4426, allocations: 18.94 kB / 365.3 MB, free: 2.09 MB / 298.7 MB Notification: Performance of SimCode: time 1.706e-06/0.4426, allocations: 3.938 kB / 365.3 MB, free: 2.086 MB / 298.7 MB Notification: Performance of Templates: time 0.01577/0.4583, allocations: 7.053 MB / 372.3 MB, free: 11.04 MB / 314.7 MB