Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.Filter.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.Filter,fileNamePrefix="Modelica_3_2_2_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.872/1.872, allocations: 194.9 MB / 211.1 MB, free: 7.598 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003569/0.0003571, allocations: 8 kB / 264 MB, free: 2.527 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2822, allocations: 44.5 MB / 308.5 MB, free: 12.67 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002656/0.2849, allocations: 1.62 MB / 310.2 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008281/0.2932, allocations: 3.553 MB / 313.7 MB, free: 7.473 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002225/0.2935, allocations: 11.88 kB / 313.7 MB, free: 7.461 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000857/0.2944, allocations: 215.3 kB / 313.9 MB, free: 7.25 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001895/0.2946, allocations: 51.78 kB / 314 MB, free: 7.199 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005858/0.3004, allocations: 1.449 MB / 315.4 MB, free: 5.758 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008966/0.3013, allocations: 347.3 kB / 315.8 MB, free: 5.418 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001763/0.3015, allocations: 46.06 kB / 315.8 MB, free: 5.367 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002949/0.3018, allocations: 175.3 kB / 316 MB, free: 5.195 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003313/0.3022, allocations: 143.3 kB / 316.1 MB, free: 5.055 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.299e-05/0.3023, allocations: 12 kB / 316.1 MB, free: 5.043 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00297/0.3053, allocations: 1.342 MB / 317.5 MB, free: 3.699 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002499/0.3055, allocations: 111.6 kB / 317.6 MB, free: 3.59 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001467/0.3057, allocations: 81.5 kB / 317.7 MB, free: 3.504 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00278/0.3085, allocations: 1.497 MB / 319.2 MB, free: 2.004 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.3085, allocations: 0 / 319.2 MB, free: 2.004 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.514e-06/0.3086, allocations: 0 / 319.2 MB, free: 2.004 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.3086, allocations: 0 / 319.2 MB, free: 2.004 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.002279/0.3109, allocations: 0.8296 MB / 320 MB, free: 1.125 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.3109, allocations: 11.97 kB / 320 MB, free: 1.113 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.197e-05/0.311, allocations: 50.55 kB / 320.1 MB, free: 1.055 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/0.3111, allocations: 43.47 kB / 320.1 MB, free: 1.012 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006206/0.3118, allocations: 341.2 kB / 320.4 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.3118, allocations: 16.28 kB / 320.5 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.316e-05/0.3119, allocations: 35.92 kB / 320.5 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006908/0.3126, allocations: 303.1 kB / 320.8 MB, free: 252 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.3126, allocations: 0 / 320.8 MB, free: 252 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.003e-05/0.3127, allocations: 12 kB / 320.8 MB, free: 240 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.3127, allocations: 7.938 kB / 320.8 MB, free: 232 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004654/0.3132, allocations: 147.8 kB / 321 MB, free: 84 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001836/0.315, allocations: 0.6797 MB / 321.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.3161, allocations: 323.2 kB / 321.9 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.3162, allocations: 192 / 321.9 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.184e-05/0.3162, allocations: 38.75 kB / 322 MB, free: 14.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.864e-06/0.3162, allocations: 0 / 322 MB, free: 14.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.001145/0.3174, allocations: 397.8 kB / 322.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001887/0.3176, allocations: 363.8 kB / 322.7 MB, free: 14.15 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006447/0.3182, allocations: 405.8 kB / 323.1 MB, free: 13.74 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.703e-05/0.3183, allocations: 33.7 kB / 323.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002094/0.3185, allocations: 192.8 kB / 323.3 MB, free: 13.51 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.818e-05/0.3187, allocations: 82.8 kB / 323.4 MB, free: 13.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-05/0.3187, allocations: 8 kB / 323.4 MB, free: 13.42 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.3189, allocations: 362.8 kB / 323.8 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005582/0.3195, allocations: 200.4 kB / 324 MB, free: 12.86 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006691/0.3202, allocations: 322.4 kB / 324.3 MB, free: 12.51 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006217/0.3208, allocations: 241.5 kB / 324.5 MB, free: 12.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.177e-05/0.3208, allocations: 4.062 kB / 324.5 MB, free: 12.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001838/0.3227, allocations: 0.6535 MB / 325.2 MB, free: 11.6 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.3227, allocations: 9.875 kB / 325.2 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.255e-05/0.3228, allocations: 7.984 kB / 325.2 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006901/0.3235, allocations: 126.4 kB / 325.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005335/0.324, allocations: 67.95 kB / 325.4 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004816/0.3288, allocations: 4.255 MB / 329.7 MB, free: 6.727 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004013/0.3293, allocations: 51.45 kB / 329.7 MB, free: 6.676 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-05/0.3294, allocations: 12 kB / 329.7 MB, free: 6.664 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 (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.0002989/0.3297, allocations: 178 kB / 329.9 MB, free: 6.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.362e-05/0.3298, allocations: 39.52 kB / 329.9 MB, free: 6.441 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.3299, allocations: 47.7 kB / 330 MB, free: 6.395 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.3299, allocations: 4 kB / 330 MB, free: 6.391 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.3299, allocations: 0 / 330 MB, free: 6.391 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3299, allocations: 0 / 330 MB, free: 6.391 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005716/0.3305, allocations: 361.2 kB / 330.3 MB, free: 5.988 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.3305, allocations: 3.938 kB / 330.3 MB, free: 5.984 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005716/0.3311, allocations: 43.98 kB / 330.4 MB, free: 5.941 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.3311, allocations: 0 / 330.4 MB, free: 5.941 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.325e-05/0.3312, allocations: 19.91 kB / 330.4 MB, free: 5.922 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/0.3312, allocations: 7.953 kB / 330.4 MB, free: 5.914 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3312, allocations: 0 / 330.4 MB, free: 5.914 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.3324, allocations: 0.5061 MB / 330.9 MB, free: 5.395 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.3325, allocations: 108.6 kB / 331 MB, free: 5.27 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.375e-05/0.3326, allocations: 15.98 kB / 331 MB, free: 5.254 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003011/0.3329, allocations: 19.94 kB / 331.1 MB, free: 5.234 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.251e-05/0.333, allocations: 7.984 kB / 331.1 MB, free: 5.227 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.239e-05/0.333, allocations: 4 kB / 331.1 MB, free: 5.223 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000428/0.3334, allocations: 271.1 kB / 331.3 MB, free: 4.957 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3334, allocations: 0 / 331.3 MB, free: 4.957 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00268/0.3361, allocations: 0.6444 MB / 332 MB, free: 4.312 MB / 266.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.003681/0.3398, allocations: 1.616 MB / 333.6 MB, free: 2.672 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.002021/0.3419, allocations: 0.9532 MB / 334.5 MB, free: 1.637 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.3419, allocations: 4 kB / 334.5 MB, free: 1.633 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003561/0.3423, allocations: 119.9 kB / 334.7 MB, free: 1.516 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007843/0.3431, allocations: 96.44 kB / 334.8 MB, free: 1.426 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003385/0.3465, allocations: 1.499 MB / 336.3 MB, free: 15.88 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005463/0.3471, allocations: 0.8458 MB / 337.1 MB, free: 15 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003347/0.3474, allocations: 66.86 kB / 337.2 MB, free: 14.94 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002746/0.3477, allocations: 135.4 kB / 337.3 MB, free: 14.81 MB / 282.7 MB Notification: Performance of SimCode: time 3.777e-06/0.3477, allocations: 0 / 337.3 MB, free: 14.81 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05358/0.4013, allocations: 16.33 MB / 353.6 MB, free: 14.48 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003208/0.4017, allocations: 229.5 kB / 353.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.03/3.431, allocations: 0 / 353.9 MB, free: 14.23 MB / 298.7 MB "" Variables in the reference: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] 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,Butterworth.A_ripple,Butterworth.a[1],Butterworth.analogFilter,Butterworth.b[1],Butterworth.c0[1],Butterworth.c1[1],Butterworth.cr[1],Butterworth.f_cut,Butterworth.f_min,Butterworth.filterType,Butterworth.gain,Butterworth.init,Butterworth.ku[1],Butterworth.na,Butterworth.nc0,Butterworth.ncr,Butterworth.normalized,Butterworth.nr,Butterworth.nx,Butterworth.order,Butterworth.r[1],Butterworth.u,Butterworth.u_nominal,Butterworth.uu[1],Butterworth.uu[2],Butterworth.uu[3],Butterworth.x[1],Butterworth.x[2],Butterworth.x[3],Butterworth.x_start[1],Butterworth.x_start[2],Butterworth.x_start[3],Butterworth.y,Butterworth.y_start,ChebyshevI.A_ripple,ChebyshevI.a[1],ChebyshevI.analogFilter,ChebyshevI.b[1],ChebyshevI.c0[1],ChebyshevI.c1[1],ChebyshevI.cr[1],ChebyshevI.f_cut,ChebyshevI.f_min,ChebyshevI.filterType,ChebyshevI.gain,ChebyshevI.init,ChebyshevI.ku[1],ChebyshevI.na,ChebyshevI.nc0,ChebyshevI.ncr,ChebyshevI.normalized,ChebyshevI.nr,ChebyshevI.nx,ChebyshevI.order,ChebyshevI.r[1],ChebyshevI.u,ChebyshevI.u_nominal,ChebyshevI.uu[1],ChebyshevI.uu[2],ChebyshevI.uu[3],ChebyshevI.x[1],ChebyshevI.x[2],ChebyshevI.x[3],ChebyshevI.x_start[1],ChebyshevI.x_start[2],ChebyshevI.x_start[3],ChebyshevI.y,ChebyshevI.y_start,CriticalDamping.A_ripple,CriticalDamping.analogFilter,CriticalDamping.cr[1],CriticalDamping.cr[2],CriticalDamping.cr[3],CriticalDamping.f_cut,CriticalDamping.f_min,CriticalDamping.filterType,CriticalDamping.gain,CriticalDamping.init,CriticalDamping.na,CriticalDamping.nc0,CriticalDamping.ncr,CriticalDamping.normalized,CriticalDamping.nr,CriticalDamping.nx,CriticalDamping.order,CriticalDamping.r[1],CriticalDamping.r[2],CriticalDamping.r[3],CriticalDamping.u,CriticalDamping.u_nominal,CriticalDamping.uu[1],CriticalDamping.uu[2],CriticalDamping.uu[3],CriticalDamping.uu[4],CriticalDamping.x[1],CriticalDamping.x[2],CriticalDamping.x[3],CriticalDamping.x_start[1],CriticalDamping.x_start[2],CriticalDamping.x_start[3],CriticalDamping.y,CriticalDamping.y_start,der(Bessel.x[1]),der(Bessel.x[2]),der(Bessel.x[3]),der(Butterworth.x[1]),der(Butterworth.x[2]),der(Butterworth.x[3]),der(ChebyshevI.x[1]),der(ChebyshevI.x[2]),der(ChebyshevI.x[3]),der(CriticalDamping.x[1]),der(CriticalDamping.x[2]),der(CriticalDamping.x[3]),f_cut,filterType,init,normalized,order,step.height,step.offset,step.startTime,step.y,time