Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Blocks.Examples.Filter.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.886/1.886, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006176/0.0006179, allocations: 8 kB / 233.2 MB, free: 2.977 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09212/0.0928, allocations: 38.76 MB / 272 MB, free: 12.14 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003059/0.09591, allocations: 1.623 MB / 273.6 MB, free: 10.49 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.008887/0.1049, allocations: 3.557 MB / 277.2 MB, free: 6.926 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000325/0.1052, allocations: 11.88 kB / 277.2 MB, free: 6.914 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008963/0.1062, allocations: 219.3 kB / 277.4 MB, free: 6.699 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002503/0.1064, allocations: 39.88 kB / 277.4 MB, free: 6.66 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006575/0.113, allocations: 1.483 MB / 278.9 MB, free: 5.184 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001035/0.1141, allocations: 347.3 kB / 279.3 MB, free: 4.844 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001822/0.1143, allocations: 41.08 kB / 279.3 MB, free: 4.801 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003278/0.1146, allocations: 167.4 kB / 279.5 MB, free: 4.637 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003239/0.115, allocations: 155.2 kB / 279.6 MB, free: 4.484 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.268e-05/0.115, allocations: 8 kB / 279.6 MB, free: 4.477 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003087/0.1182, allocations: 1.346 MB / 281 MB, free: 3.129 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000285/0.1185, allocations: 107.7 kB / 281.1 MB, free: 3.023 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.1186, allocations: 81.45 kB / 281.2 MB, free: 2.938 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003006/0.1217, allocations: 1.501 MB / 282.7 MB, free: 1.434 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1217, allocations: 0 / 282.7 MB, free: 1.434 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1217, allocations: 4 kB / 282.7 MB, free: 1.43 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.1218, allocations: 0 / 282.7 MB, free: 1.43 MB / 234.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.002323/0.1241, allocations: 0.8335 MB / 283.5 MB, free: 0.543 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.1242, allocations: 12.03 kB / 283.5 MB, free: 0.5312 MB / 234.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.494e-05/0.1243, allocations: 46.55 kB / 283.6 MB, free: 488 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.1244, allocations: 47.44 kB / 283.6 MB, free: 440 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006596/0.1251, allocations: 337.2 kB / 283.9 MB, free: 64 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.711e-05/0.1251, allocations: 16.28 kB / 284 MB, free: 48 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.84e-05/0.1253, allocations: 24 kB / 284 MB, free: 24 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007676/0.126, allocations: 307.1 kB / 284.3 MB, free: 15.68 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.1261, allocations: 7.984 kB / 284.3 MB, free: 15.67 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.66e-05/0.1261, allocations: 8 kB / 284.3 MB, free: 15.66 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.1261, allocations: 4 kB / 284.3 MB, free: 15.66 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004873/0.1266, allocations: 152.7 kB / 284.4 MB, free: 15.51 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00189/0.1285, allocations: 0.6873 MB / 285.1 MB, free: 14.77 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.1297, allocations: 319.2 kB / 285.4 MB, free: 14.45 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.1297, allocations: 192 / 285.4 MB, free: 14.45 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.426e-05/0.1298, allocations: 39.12 kB / 285.5 MB, free: 14.41 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 2.465e-06/0.1298, allocations: 0 / 285.5 MB, free: 14.41 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.001242/0.1311, allocations: 393.7 kB / 285.9 MB, free: 14.02 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002129/0.1313, allocations: 371.8 kB / 286.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006459/0.132, allocations: 401.8 kB / 286.6 MB, free: 13.17 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.421e-05/0.132, allocations: 37.7 kB / 286.7 MB, free: 13.13 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001942/0.1322, allocations: 239.2 kB / 286.9 MB, free: 12.89 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.927e-05/0.1323, allocations: 78.81 kB / 287 MB, free: 12.82 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-05/0.1324, allocations: 8 kB / 287 MB, free: 12.81 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1325, allocations: 330.8 kB / 287.3 MB, free: 12.48 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005943/0.1331, allocations: 212.5 kB / 287.5 MB, free: 12.27 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006823/0.1338, allocations: 322.2 kB / 287.8 MB, free: 11.91 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006457/0.1345, allocations: 245.3 kB / 288.1 MB, free: 11.68 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.1345, allocations: 0 / 288.1 MB, free: 11.68 MB / 250.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001831/0.1364, allocations: 0.6189 MB / 288.7 MB, free: 11.04 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.1364, allocations: 4 kB / 288.7 MB, free: 11.04 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.402e-05/0.1365, allocations: 11.98 kB / 288.7 MB, free: 11.02 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007387/0.1372, allocations: 130.4 kB / 288.8 MB, free: 10.89 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005345/0.1378, allocations: 63.89 kB / 288.9 MB, free: 10.82 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004892/0.1427, allocations: 4.278 MB / 293.2 MB, free: 6.148 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004005/0.1431, allocations: 43.52 kB / 293.2 MB, free: 6.105 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.203e-05/0.1432, allocations: 12 kB / 293.2 MB, free: 6.094 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 (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.000315/0.1435, allocations: 181.9 kB / 293.4 MB, free: 5.906 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.1436, allocations: 35.53 kB / 293.4 MB, free: 5.871 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.1438, allocations: 43.75 kB / 293.5 MB, free: 5.82 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1438, allocations: 0 / 293.5 MB, free: 5.82 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1438, allocations: 0 / 293.5 MB, free: 5.82 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/0.1438, allocations: 7.953 kB / 293.5 MB, free: 5.812 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000558/0.1444, allocations: 353.3 kB / 293.8 MB, free: 5.418 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.1444, allocations: 4 kB / 293.8 MB, free: 5.414 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005783/0.145, allocations: 39.92 kB / 293.9 MB, free: 5.375 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.145, allocations: 4 kB / 293.9 MB, free: 5.371 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.764e-05/0.1451, allocations: 19.92 kB / 293.9 MB, free: 5.352 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.1451, allocations: 0 / 293.9 MB, free: 5.352 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1451, allocations: 0 / 293.9 MB, free: 5.352 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.1463, allocations: 0.5064 MB / 294.4 MB, free: 4.828 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.1464, allocations: 108.6 kB / 294.5 MB, free: 4.703 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.382e-05/0.1465, allocations: 15.98 kB / 294.5 MB, free: 4.688 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003038/0.1468, allocations: 15.98 kB / 294.5 MB, free: 4.672 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.903e-05/0.1469, allocations: 11.98 kB / 294.5 MB, free: 4.66 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.422e-05/0.147, allocations: 8 kB / 294.6 MB, free: 4.652 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.000437/0.1474, allocations: 275.1 kB / 294.8 MB, free: 4.383 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.978e-06/0.1474, allocations: 112 / 294.8 MB, free: 4.383 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.002627/0.1501, allocations: 0.656 MB / 295.5 MB, free: 3.727 MB / 250.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.003763/0.1538, allocations: 1.612 MB / 297.1 MB, free: 2.098 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.002109/0.156, allocations: 0.9532 MB / 298 MB, free: 1.062 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.82e-06/0.156, allocations: 0 / 298 MB, free: 1.062 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003616/0.1564, allocations: 123.9 kB / 298.2 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008316/0.1573, allocations: 92.53 kB / 298.3 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2168/0.3741, allocations: 1.535 MB / 299.8 MB, free: 29.09 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/0.3746, allocations: 0.8481 MB / 300.6 MB, free: 28.39 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003264/0.3749, allocations: 130.8 kB / 300.8 MB, free: 28.39 MB / 250.7 MB Notification: Performance of SimCode: time 1.383e-06/0.375, allocations: 1.5 kB / 300.8 MB, free: 28.39 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.551/3.926, allocations: 14.43 MB / 315.2 MB, free: 22.81 MB / 250.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