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: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_3_2_2_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.865/1.865, allocations: 194.9 MB / 211.1 MB, free: 7.582 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003616, allocations: 15.98 kB / 264 MB, free: 2.52 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2857, allocations: 44.51 MB / 308.6 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002148/0.2879, allocations: 1.273 MB / 309.8 MB, free: 11.36 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006775/0.2947, allocations: 3.039 MB / 312.9 MB, free: 8.312 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.2949, allocations: 4 kB / 312.9 MB, free: 8.309 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003931/0.2953, allocations: 55.83 kB / 312.9 MB, free: 8.254 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.142e-05/0.2954, allocations: 19.84 kB / 312.9 MB, free: 8.234 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004288/0.2997, allocations: 0.9616 MB / 313.9 MB, free: 7.273 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002884/0.3, allocations: 95.81 kB / 314 MB, free: 7.18 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.3001, allocations: 22.09 kB / 314 MB, free: 7.156 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.3003, allocations: 51.78 kB / 314.1 MB, free: 7.105 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.3004, allocations: 47.77 kB / 314.1 MB, free: 7.059 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.3004, allocations: 0 / 314.1 MB, free: 7.059 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002146/0.3026, allocations: 1.054 MB / 315.2 MB, free: 6.004 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.3027, allocations: 27.91 kB / 315.2 MB, free: 5.977 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.155e-05/0.3028, allocations: 45.58 kB / 315.2 MB, free: 5.926 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00176/0.3046, allocations: 1.08 MB / 316.3 MB, free: 4.844 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3046, allocations: 0 / 316.3 MB, free: 4.844 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3046, allocations: 0 / 316.3 MB, free: 4.844 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.391e-05/0.3046, allocations: 0 / 316.3 MB, free: 4.844 MB / 250.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.001279/0.3059, allocations: 0.5418 MB / 316.9 MB, free: 4.254 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.306, allocations: 8.031 kB / 316.9 MB, free: 4.246 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.093e-05/0.3061, allocations: 42.55 kB / 316.9 MB, free: 4.195 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.423e-05/0.3061, allocations: 15.81 kB / 316.9 MB, free: 4.18 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.3064, allocations: 214.6 kB / 317.1 MB, free: 3.93 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.3065, allocations: 8 kB / 317.1 MB, free: 3.922 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.738e-05/0.3065, allocations: 16 kB / 317.2 MB, free: 3.906 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003435/0.3069, allocations: 119.8 kB / 317.3 MB, free: 3.773 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.3069, allocations: 4 kB / 317.3 MB, free: 3.77 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.3069, allocations: 4 kB / 317.3 MB, free: 3.766 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.307, allocations: 4 kB / 317.3 MB, free: 3.762 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002454/0.3072, allocations: 67.83 kB / 317.4 MB, free: 3.695 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008563/0.3081, allocations: 384.6 kB / 317.7 MB, free: 3.27 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005734/0.3087, allocations: 134.5 kB / 317.9 MB, free: 3.129 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.3087, allocations: 0 / 317.9 MB, free: 3.129 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.3088, allocations: 34.56 kB / 317.9 MB, free: 3.086 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.3088, allocations: 0 / 317.9 MB, free: 3.086 MB / 250.7 MB Notification: Performance of matching and sorting (n=15): time 0.00345/0.3122, allocations: 1.231 MB / 319.1 MB, free: 1.723 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.848e-05/0.3123, allocations: 128.5 kB / 319.3 MB, free: 1.566 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000239/0.3126, allocations: 170.4 kB / 319.4 MB, free: 1.391 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.768e-05/0.3126, allocations: 33.7 kB / 319.5 MB, free: 1.352 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.842e-05/0.3127, allocations: 108.5 kB / 319.6 MB, free: 1.242 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.852e-05/0.3128, allocations: 59.19 kB / 319.6 MB, free: 1.184 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.774e-05/0.3128, allocations: 4 kB / 319.6 MB, free: 1.18 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.313, allocations: 326.8 kB / 319.9 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002963/0.3133, allocations: 99.94 kB / 320 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003254/0.3136, allocations: 135.3 kB / 320.2 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000324/0.314, allocations: 120.2 kB / 320.3 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.314, allocations: 4 kB / 320.3 MB, free: 500 kB / 250.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008904/0.3149, allocations: 306.1 kB / 320.6 MB, free: 184 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.3149, allocations: 7.984 kB / 320.6 MB, free: 176 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.365e-05/0.315, allocations: 7.938 kB / 320.6 MB, free: 168 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002751/0.3153, allocations: 40.83 kB / 320.6 MB, free: 124 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/0.3156, allocations: 31.97 kB / 320.7 MB, free: 92 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/0.3173, allocations: 1.417 MB / 322.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.3175, allocations: 16.28 kB / 322.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.3175, allocations: 4 kB / 322.1 MB, free: 14.52 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 (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.0001811/0.3177, allocations: 137.8 kB / 322.2 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.359e-05/0.3178, allocations: 11.81 kB / 322.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.155e-05/0.3179, allocations: 25.52 kB / 322.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3179, allocations: 0 / 322.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.3179, allocations: 0 / 322.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3179, allocations: 7.953 kB / 322.3 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003754/0.3183, allocations: 249.5 kB / 322.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3183, allocations: 0 / 322.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005142/0.3188, allocations: 51.97 kB / 322.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.3188, allocations: 0 / 322.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.3189, allocations: 4 kB / 322.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.3189, allocations: 0 / 322.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.3189, allocations: 4 kB / 322.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008884/0.3198, allocations: 432.9 kB / 323 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.19e-05/0.3199, allocations: 88.92 kB / 323.1 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/0.3199, allocations: 4.031 kB / 323.1 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.3201, allocations: 8 kB / 323.1 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.088e-05/0.3202, allocations: 7.984 kB / 323.1 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.3202, allocations: 4 kB / 323.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001431/0.3203, allocations: 131.2 kB / 323.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3204, allocations: 0 / 323.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.002113/0.3225, allocations: 0.5117 MB / 323.8 MB, free: 12.77 MB / 266.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.002922/0.3254, allocations: 1.404 MB / 325.2 MB, free: 11.35 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001008/0.3265, allocations: 389.9 kB / 325.6 MB, free: 10.94 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3265, allocations: 0 / 325.6 MB, free: 10.94 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002604/0.3268, allocations: 93.36 kB / 325.6 MB, free: 10.85 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.3271, allocations: 27.97 kB / 325.7 MB, free: 10.82 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.3289, allocations: 0.7969 MB / 326.5 MB, free: 9.984 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.3293, allocations: 0.7363 MB / 327.2 MB, free: 9.223 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001704/0.3295, allocations: 29.06 kB / 327.2 MB, free: 9.195 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.3296, allocations: 47.42 kB / 327.3 MB, free: 9.148 MB / 266.7 MB Notification: Performance of SimCode: time 3.186e-06/0.3297, allocations: 0 / 327.3 MB, free: 9.148 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03767/0.3673, allocations: 9.476 MB / 336.8 MB, free: 15.69 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002856/0.3677, allocations: 235.5 kB / 337 MB, free: 15.46 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.602/2.97, allocations: 0 / 337 MB, free: 15.46 MB / 282.7 MB "" Variables in the reference:time,Bessel.x[1],Bessel.x[2],Bessel.x[3] Variables in the result:Bessel.A_ripple,Bessel.a[1],Bessel.analogFilter,Bessel.b[1],Bessel.c0[1],Bessel.c1[1],Bessel.cr[1],Bessel.f_cut,Bessel.f_min,Bessel.filterType,Bessel.gain,Bessel.init,Bessel.ku[1],Bessel.na,Bessel.nc0,Bessel.ncr,Bessel.normalized,Bessel.nr,Bessel.nx,Bessel.order,Bessel.r[1],Bessel.u,Bessel.u_nominal,Bessel.uu[1],Bessel.uu[2],Bessel.uu[3],Bessel.x[1],Bessel.x[2],Bessel.x[3],Bessel.x_start[1],Bessel.x_start[2],Bessel.x_start[3],Bessel.y,Bessel.y_start,der(Bessel.x[1]),der(Bessel.x[2]),der(Bessel.x[3]),der(der(Bessel.x[2])),der(der(Bessel.x[3])),der(der(der(Bessel.x[3]))),der(der1.u),der(der2.u),der(der3.u),der1.u,der1.y,der2.u,der2.y,der3.u,der3.y,f_cut,step.height,step.offset,step.startTime,step.y,time