Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.FilterTests.Basic.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.363/2.363, allocations: 235 MB / 248.1 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.415e-05/3.425e-05, allocations: 4 kB / 309.8 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.3896, allocations: 54.85 MB / 364.6 MB, free: 5.422 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1921/0.5817, allocations: 94.93 MB / 459.6 MB, free: 1.453 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/0.5821, allocations: 71.95 kB / 459.6 MB, free: 1.383 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2566/0.8387, allocations: 48.43 MB / 0.4961 GB, free: 0.9023 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.8388, allocations: 0 / 0.4961 GB, free: 0.9023 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001456/0.8389, allocations: 41.34 kB / 0.4962 GB, free: 0.8633 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.004704/0.8436, allocations: 1.215 MB / 0.4974 GB, free: 15.6 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/0.8437, allocations: 12.03 kB / 0.4974 GB, free: 15.59 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002316/0.844, allocations: 74.52 kB / 0.4975 GB, free: 15.5 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005048/0.8445, allocations: 106.7 kB / 0.4976 GB, free: 15.4 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002654/0.8471, allocations: 0.7644 MB / 0.4983 GB, free: 14.58 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.402e-05/0.8472, allocations: 40.78 kB / 0.4983 GB, free: 14.54 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002734/0.8475, allocations: 75.8 kB / 0.4984 GB, free: 14.46 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001678/0.8492, allocations: 0.7291 MB / 0.4991 GB, free: 13.62 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.8493, allocations: 0 / 0.4991 GB, free: 13.62 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.199e-05/0.8494, allocations: 20 kB / 0.4991 GB, free: 13.6 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/0.8494, allocations: 8 kB / 0.4992 GB, free: 13.59 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.8505, allocations: 358.9 kB / 0.4995 GB, free: 13.24 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004847/0.8553, allocations: 1.389 MB / 0.5009 GB, free: 11.8 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002626/0.858, allocations: 0.8247 MB / 0.5017 GB, free: 10.96 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007657/0.8588, allocations: 278 kB / 0.5019 GB, free: 10.69 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.769e-05/0.8589, allocations: 8.438 kB / 0.5019 GB, free: 10.68 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.158e-05/0.859, allocations: 43.67 kB / 0.502 GB, free: 10.63 MB / 442.7 MB Notification: Performance of pre-optimization done (n=53): time 3.547e-06/0.859, allocations: 0 / 0.502 GB, free: 10.63 MB / 442.7 MB Notification: Performance of matching and sorting (n=53): time 0.002103/0.8611, allocations: 0.6888 MB / 0.5026 GB, free: 9.934 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000343/0.8615, allocations: 0.6726 MB / 0.5033 GB, free: 9.102 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001524/0.863, allocations: 0.724 MB / 0.504 GB, free: 8.352 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002548/0.8633, allocations: 57.69 kB / 0.5041 GB, free: 8.289 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003762/0.8637, allocations: 363.9 kB / 0.5044 GB, free: 7.93 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002613/0.864, allocations: 220.8 kB / 0.5046 GB, free: 7.711 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.329e-05/0.8641, allocations: 20 kB / 0.5046 GB, free: 7.691 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001984/0.8643, allocations: 366.7 kB / 0.505 GB, free: 7.324 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/0.8657, allocations: 0.5535 MB / 0.5055 GB, free: 6.766 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001815/0.8675, allocations: 0.7873 MB / 0.5063 GB, free: 5.902 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001683/0.8693, allocations: 0.6677 MB / 0.507 GB, free: 5.238 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.295e-06/0.8693, allocations: 3.938 kB / 0.507 GB, free: 5.234 MB / 442.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.005137/0.8744, allocations: 1.797 MB / 0.5087 GB, free: 3.395 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/0.8745, allocations: 4 kB / 0.5087 GB, free: 3.391 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002636/0.8748, allocations: 31.95 kB / 0.5087 GB, free: 3.359 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002591/0.8774, allocations: 0.5017 MB / 0.5092 GB, free: 2.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.8787, allocations: 143.8 kB / 0.5094 GB, free: 2.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02104/0.8998, allocations: 16.88 MB / 0.5259 GB, free: 196 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.9009, allocations: 138.3 kB / 0.526 GB, free: 56 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001589/0.901, allocations: 35.98 kB / 0.526 GB, free: 20 kB / 458.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 (93): * Single equations (assignments): 65 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.3052/1.206, allocations: 149.7 kB / 0.5262 GB, free: 125.1 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003108/1.207, allocations: 86.7 kB / 0.5263 GB, free: 125.1 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000339/1.207, allocations: 101.5 kB / 0.5263 GB, free: 125.1 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/1.207, allocations: 6.125 kB / 0.5264 GB, free: 125.1 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/1.207, allocations: 2.641 kB / 0.5264 GB, free: 125.1 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/1.207, allocations: 6.922 kB / 0.5264 GB, free: 125.1 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/1.208, allocations: 0.6312 MB / 0.527 GB, free: 124.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/1.208, allocations: 1.375 kB / 0.527 GB, free: 124.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001579/1.21, allocations: 110.5 kB / 0.5271 GB, free: 124.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.127e-05/1.21, allocations: 1.156 kB / 0.5271 GB, free: 124.9 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/1.21, allocations: 33.08 kB / 0.5271 GB, free: 124.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/1.21, allocations: 2.391 kB / 0.5271 GB, free: 124.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.21, allocations: 0 / 0.5271 GB, free: 124.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002752/1.213, allocations: 1.129 MB / 0.5282 GB, free: 124.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002197/1.213, allocations: 158.9 kB / 0.5284 GB, free: 124.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002096/1.213, allocations: 33.53 kB / 0.5284 GB, free: 124.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007094/1.214, allocations: 36.84 kB / 0.5284 GB, free: 124.7 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/1.214, allocations: 31.44 kB / 0.5285 GB, free: 124.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.315e-05/1.214, allocations: 18.28 kB / 0.5285 GB, free: 124.7 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001127/1.215, allocations: 0.5194 MB / 0.529 GB, free: 124.6 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.215, allocations: 3.75 kB / 0.529 GB, free: 124.6 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003514/1.219, allocations: 0.8073 MB / 0.5298 GB, free: 124.6 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 36 (CriticalDamping_a.x[1],CriticalDamping_a.x[2],CriticalDamping_a.x[3],CriticalDamping_b.x[1],CriticalDamping_b.x[2],CriticalDamping_b.x[3],CriticalDamping_b.x[4],CriticalDamping_b.x[5],CriticalDamping_b.x[6],Bessel_a.x[1],Bessel_a.x[2],Bessel_a.x[3],Bessel_b.x[1],Bessel_b.x[2],Bessel_b.x[3],Bessel_b.x[4],Bessel_b.x[5],Bessel_b.x[6],Butterworth_a.x[1],Butterworth_a.x[2],Butterworth_a.x[3],Butterworth_b.x[1],Butterworth_b.x[2],Butterworth_b.x[3],Butterworth_b.x[4],Butterworth_b.x[5],Butterworth_b.x[6],ChebyshevI_a.x[1],ChebyshevI_a.x[2],ChebyshevI_a.x[3],ChebyshevI_b.x[1],ChebyshevI_b.x[2],ChebyshevI_b.x[3],ChebyshevI_b.x[4],ChebyshevI_b.x[5],ChebyshevI_b.x[6]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 53 * 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.005818/1.225, allocations: 2.316 MB / 0.5321 GB, free: 123.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006234/1.231, allocations: 2.962 MB / 0.5349 GB, free: 122.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/1.231, allocations: 2 kB / 0.5349 GB, free: 122.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009473/1.232, allocations: 322.3 kB / 0.5353 GB, free: 122.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/1.234, allocations: 188.3 kB / 0.5354 GB, free: 122.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006854/1.24, allocations: 2.526 MB / 0.5379 GB, free: 121.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009768/1.242, allocations: 1.106 MB / 0.539 GB, free: 120.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007852/1.242, allocations: 342.5 kB / 0.5393 GB, free: 120.7 MB / 458.7 MB Notification: Performance of SimCode: time 1.252e-06/1.242, allocations: 3.656 kB / 0.5393 GB, free: 120.7 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.791/5.033, allocations: 35.15 MB / 0.5736 GB, free: 116.6 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.FilterTests.Basic_res.mat does not exist to compare? outputFormat=mat