Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithRiseTime.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.FilterWithRiseTime,fileNamePrefix="Modelica_3_2_2_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.85/1.85, allocations: 194.9 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003458, allocations: 8 kB / 264 MB, free: 3.496 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3017, allocations: 44.51 MB / 308.6 MB, free: 12.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002429/0.3042, allocations: 1.472 MB / 310 MB, free: 11.17 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007724/0.3119, allocations: 3.374 MB / 313.4 MB, free: 7.781 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.3122, allocations: 7.938 kB / 313.4 MB, free: 7.773 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006172/0.3128, allocations: 147.5 kB / 313.5 MB, free: 7.629 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001394/0.3129, allocations: 35.88 kB / 313.6 MB, free: 7.594 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005086/0.318, allocations: 1.284 MB / 314.9 MB, free: 6.316 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004696/0.3185, allocations: 223.5 kB / 315.1 MB, free: 6.098 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.3187, allocations: 29.72 kB / 315.1 MB, free: 6.07 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001817/0.3189, allocations: 95.56 kB / 315.2 MB, free: 5.977 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/0.3191, allocations: 95.47 kB / 315.3 MB, free: 5.883 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.172e-05/0.3191, allocations: 8 kB / 315.3 MB, free: 5.875 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000316/0.3194, allocations: 103.8 kB / 315.4 MB, free: 5.773 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.3196, allocations: 63.8 kB / 315.5 MB, free: 5.711 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.862e-05/0.3197, allocations: 57.58 kB / 315.5 MB, free: 5.648 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004063/0.3201, allocations: 243.4 kB / 315.8 MB, free: 5.41 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.3201, allocations: 0 / 315.8 MB, free: 5.41 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.3201, allocations: 0 / 315.8 MB, free: 5.41 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.3201, allocations: 3.938 kB / 315.8 MB, free: 5.406 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001016/0.3211, allocations: 0.5412 MB / 316.3 MB, free: 4.816 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.3212, allocations: 8.031 kB / 316.3 MB, free: 4.809 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.307e-05/0.3213, allocations: 42.56 kB / 316.4 MB, free: 4.758 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.307e-05/0.3213, allocations: 31.62 kB / 316.4 MB, free: 4.727 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004397/0.3218, allocations: 267.1 kB / 316.7 MB, free: 4.422 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.3218, allocations: 16.17 kB / 316.7 MB, free: 4.406 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.983e-05/0.3219, allocations: 12 kB / 316.7 MB, free: 4.395 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004553/0.3224, allocations: 207.8 kB / 316.9 MB, free: 4.156 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.3224, allocations: 4 kB / 316.9 MB, free: 4.152 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.25e-05/0.3224, allocations: 4 kB / 316.9 MB, free: 4.148 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.8e-06/0.3224, allocations: 4 kB / 316.9 MB, free: 4.145 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003225/0.3228, allocations: 88.5 kB / 317 MB, free: 4.059 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.324, allocations: 0.4927 MB / 317.5 MB, free: 3.516 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004561/0.3244, allocations: 174.4 kB / 317.6 MB, free: 3.336 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.3245, allocations: 4.031 kB / 317.6 MB, free: 3.332 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.3245, allocations: 38.52 kB / 317.7 MB, free: 3.285 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 2.014e-06/0.3245, allocations: 0 / 317.7 MB, free: 3.285 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006996/0.3252, allocations: 225.5 kB / 317.9 MB, free: 3.059 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001473/0.3254, allocations: 286.7 kB / 318.2 MB, free: 2.711 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003882/0.3258, allocations: 276.6 kB / 318.5 MB, free: 2.426 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/0.3259, allocations: 33.7 kB / 318.5 MB, free: 2.387 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.326, allocations: 156.4 kB / 318.6 MB, free: 2.23 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.022e-05/0.3261, allocations: 47.27 kB / 318.7 MB, free: 2.184 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.127e-05/0.3261, allocations: 15.98 kB / 318.7 MB, free: 2.168 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.3263, allocations: 342.8 kB / 319 MB, free: 1.824 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002909/0.3266, allocations: 95.94 kB / 319.1 MB, free: 1.73 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003734/0.327, allocations: 176.5 kB / 319.3 MB, free: 1.527 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003437/0.3273, allocations: 132.1 kB / 319.4 MB, free: 1.398 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.3273, allocations: 0 / 319.4 MB, free: 1.398 MB / 250.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007602/0.3281, allocations: 301.2 kB / 319.7 MB, free: 1.098 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.3281, allocations: 4 kB / 319.7 MB, free: 1.094 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.54e-05/0.3282, allocations: 19.92 kB / 319.8 MB, free: 1.074 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.3282, allocations: 0 / 319.8 MB, free: 1.074 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000474/0.3287, allocations: 51.97 kB / 319.8 MB, free: 1.023 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.3287, allocations: 7.922 kB / 319.8 MB, free: 1.016 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.3289, allocations: 31.67 kB / 319.8 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/0.329, allocations: 4.094 kB / 319.8 MB, free: 0.9805 MB / 250.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 (25): * Single equations (assignments): 19 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * 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 prepare postOptimizeDAE: time 0.0001885/0.3292, allocations: 149.8 kB / 320 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.962e-05/0.3293, allocations: 27.72 kB / 320 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.297e-05/0.3293, allocations: 29.97 kB / 320 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.3294, allocations: 3.953 kB / 320.1 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3294, allocations: 0 / 320.1 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.3294, allocations: 4 kB / 320.1 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000394/0.3298, allocations: 269.4 kB / 320.3 MB, free: 456 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.3298, allocations: 112 / 320.3 MB, free: 456 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003339/0.3302, allocations: 31.86 kB / 320.3 MB, free: 424 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.3302, allocations: 0 / 320.3 MB, free: 424 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.736e-05/0.3302, allocations: 8 kB / 320.4 MB, free: 416 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.3302, allocations: 4 kB / 320.4 MB, free: 412 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.3302, allocations: 3.953 kB / 320.4 MB, free: 408 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007031/0.3309, allocations: 335 kB / 320.7 MB, free: 56 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.3311, allocations: 100.8 kB / 320.8 MB, free: 15.94 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.738e-05/0.3311, allocations: 8.062 kB / 320.8 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.3314, allocations: 15.98 kB / 320.8 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.394e-05/0.3314, allocations: 7.953 kB / 320.8 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.3315, allocations: 7.984 kB / 320.8 MB, free: 15.9 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002641/0.3317, allocations: 191.1 kB / 321 MB, free: 15.71 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.3317, allocations: 0 / 321 MB, free: 15.71 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004756/0.3322, allocations: 83.98 kB / 321.1 MB, free: 15.63 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (filter_fac5.x[1],filter_fac5.x[2],filter_fac4.x[1],filter_fac4.x[2],filter_fac3.x[1],filter_fac3.x[2]) * 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 (13): * Single equations (assignments): 13 * 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.001186/0.3334, allocations: 0.9118 MB / 322 MB, free: 14.69 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006442/0.3341, allocations: 277 kB / 322.3 MB, free: 14.4 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.3341, allocations: 4 kB / 322.3 MB, free: 14.39 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002032/0.3343, allocations: 63.97 kB / 322.3 MB, free: 14.33 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005793/0.3349, allocations: 74.62 kB / 322.4 MB, free: 14.26 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.3369, allocations: 0.8946 MB / 323.3 MB, free: 13.32 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004321/0.3373, allocations: 0.7794 MB / 324.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002059/0.3375, allocations: 37.92 kB / 324.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/0.3377, allocations: 79.41 kB / 324.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of SimCode: time 9.42e-07/0.3377, allocations: 0 / 324.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03027/0.368, allocations: 5.993 MB / 330.2 MB, free: 6.445 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003392/0.3684, allocations: 176.8 kB / 330.4 MB, free: 6.199 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.562/2.93, allocations: 4 kB / 330.4 MB, free: 6.195 MB / 266.7 MB "" Variables in the reference:time,filter_fac3.x[1],filter_fac3.x[2],filter_fac4.x[1],filter_fac4.x[2],filter_fac5.x[1],filter_fac5.x[2] Variables in the result:der(filter_fac3.x[1]),der(filter_fac3.x[2]),der(filter_fac4.x[1]),der(filter_fac4.x[2]),der(filter_fac5.x[1]),der(filter_fac5.x[2]),filter_fac3.A_ripple,filter_fac3.analogFilter,filter_fac3.cr[1],filter_fac3.cr[2],filter_fac3.f_cut,filter_fac3.f_min,filter_fac3.filterType,filter_fac3.gain,filter_fac3.init,filter_fac3.na,filter_fac3.nc0,filter_fac3.ncr,filter_fac3.normalized,filter_fac3.nr,filter_fac3.nx,filter_fac3.order,filter_fac3.r[1],filter_fac3.r[2],filter_fac3.u,filter_fac3.u_nominal,filter_fac3.uu[1],filter_fac3.uu[2],filter_fac3.uu[3],filter_fac3.x[1],filter_fac3.x[2],filter_fac3.x_start[1],filter_fac3.x_start[2],filter_fac3.y,filter_fac3.y_start,filter_fac4.A_ripple,filter_fac4.analogFilter,filter_fac4.cr[1],filter_fac4.cr[2],filter_fac4.f_cut,filter_fac4.f_min,filter_fac4.filterType,filter_fac4.gain,filter_fac4.init,filter_fac4.na,filter_fac4.nc0,filter_fac4.ncr,filter_fac4.normalized,filter_fac4.nr,filter_fac4.nx,filter_fac4.order,filter_fac4.r[1],filter_fac4.r[2],filter_fac4.u,filter_fac4.u_nominal,filter_fac4.uu[1],filter_fac4.uu[2],filter_fac4.uu[3],filter_fac4.x[1],filter_fac4.x[2],filter_fac4.x_start[1],filter_fac4.x_start[2],filter_fac4.y,filter_fac4.y_start,filter_fac5.A_ripple,filter_fac5.analogFilter,filter_fac5.cr[1],filter_fac5.cr[2],filter_fac5.f_cut,filter_fac5.f_min,filter_fac5.filterType,filter_fac5.gain,filter_fac5.init,filter_fac5.na,filter_fac5.nc0,filter_fac5.ncr,filter_fac5.normalized,filter_fac5.nr,filter_fac5.nx,filter_fac5.order,filter_fac5.r[1],filter_fac5.r[2],filter_fac5.u,filter_fac5.u_nominal,filter_fac5.uu[1],filter_fac5.uu[2],filter_fac5.uu[3],filter_fac5.x[1],filter_fac5.x[2],filter_fac5.x_start[1],filter_fac5.x_start[2],filter_fac5.y,filter_fac5.y_start,order,riseTime,step.height,step.offset,step.startTime,step.y,time