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.694/1.694, allocations: 171.2 MB / 186.8 MB, free: 1.031 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003584, allocations: 8 kB / 233.3 MB, free: 2.938 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08129/0.08168, allocations: 38.77 MB / 272.1 MB, free: 12.1 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3802/0.462, allocations: 80.04 MB / 352.1 MB, free: 9.613 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/0.4623, allocations: 67.41 kB / 352.2 MB, free: 9.578 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1917/0.654, allocations: 35.6 MB / 387.8 MB, free: 10.2 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6541, allocations: 0 / 387.8 MB, free: 10.2 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.978e-05/0.6541, allocations: 24.06 kB / 387.8 MB, free: 10.18 MB / 314.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.002984/0.6571, allocations: 0.8894 MB / 388.7 MB, free: 9.27 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.6572, allocations: 12.03 kB / 388.7 MB, free: 9.258 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001044/0.6573, allocations: 49.48 kB / 388.8 MB, free: 9.211 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001481/0.6575, allocations: 55.33 kB / 388.8 MB, free: 9.156 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.6586, allocations: 447.1 kB / 389.3 MB, free: 8.727 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.6587, allocations: 14.09 kB / 389.3 MB, free: 8.719 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.705e-05/0.6588, allocations: 33.95 kB / 389.3 MB, free: 8.691 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007005/0.6595, allocations: 335.6 kB / 389.6 MB, free: 8.363 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.6595, allocations: 0 / 389.6 MB, free: 8.363 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.831e-05/0.6596, allocations: 10.06 kB / 389.6 MB, free: 8.359 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.6596, allocations: 4 kB / 389.7 MB, free: 8.355 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005023/0.6601, allocations: 151.9 kB / 389.8 MB, free: 8.246 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001838/0.662, allocations: 0.6896 MB / 390.5 MB, free: 7.613 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009943/0.663, allocations: 318.2 kB / 390.8 MB, free: 7.375 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.994e-05/0.6631, allocations: 8.109 kB / 390.8 MB, free: 7.367 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.6631, allocations: 37.44 kB / 390.8 MB, free: 7.324 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 2.985e-06/0.6631, allocations: 0 / 390.8 MB, free: 7.324 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.00117/0.6643, allocations: 389.8 kB / 391.2 MB, free: 7.023 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001791/0.6645, allocations: 367.3 kB / 391.6 MB, free: 6.582 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005924/0.6651, allocations: 352.3 kB / 391.9 MB, free: 6.293 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.121e-05/0.6652, allocations: 36.2 kB / 392 MB, free: 6.258 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.6654, allocations: 240 kB / 392.2 MB, free: 6.074 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.6655, allocations: 87.81 kB / 392.3 MB, free: 6 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-05/0.6655, allocations: 3.5 kB / 392.3 MB, free: 6 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.6657, allocations: 341.1 kB / 392.6 MB, free: 5.668 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005295/0.6662, allocations: 191.7 kB / 392.8 MB, free: 5.535 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006283/0.6669, allocations: 314.5 kB / 393.1 MB, free: 5.258 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000592/0.6675, allocations: 240.1 kB / 393.3 MB, free: 5.098 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.6675, allocations: 4 kB / 393.4 MB, free: 5.094 MB / 314.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001752/0.6693, allocations: 0.6101 MB / 394 MB, free: 4.621 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.6693, allocations: 4 kB / 394 MB, free: 4.617 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.337e-05/0.6694, allocations: 11.98 kB / 394 MB, free: 4.605 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006774/0.6701, allocations: 128.2 kB / 394.1 MB, free: 4.492 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005436/0.6706, allocations: 63.86 kB / 394.2 MB, free: 4.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00471/0.6753, allocations: 4.264 MB / 398.4 MB, free: 0 / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000473/0.6759, allocations: 47.17 kB / 398.5 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-05/0.676, allocations: 15.17 kB / 398.5 MB, free: 15.95 MB / 330.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.0003588/0.6764, allocations: 182.4 kB / 398.7 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.6765, allocations: 43.48 kB / 398.7 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.6766, allocations: 42.81 kB / 398.8 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.6766, allocations: 4 kB / 398.8 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.6766, allocations: 0 / 398.8 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.6766, allocations: 3.984 kB / 398.8 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005483/0.6772, allocations: 346.2 kB / 399.1 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.6772, allocations: 4 kB / 399.1 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005912/0.6778, allocations: 47.91 kB / 399.1 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.6778, allocations: 0 / 399.1 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.767e-05/0.6779, allocations: 18.81 kB / 399.2 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.6779, allocations: 0 / 399.2 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6779, allocations: 0 / 399.2 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.6791, allocations: 0.5071 MB / 399.7 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.6792, allocations: 112.6 kB / 399.8 MB, free: 14.76 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.297e-05/0.6793, allocations: 15.45 kB / 399.8 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003122/0.6797, allocations: 15.53 kB / 399.8 MB, free: 14.74 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.483e-05/0.6798, allocations: 23.72 kB / 399.8 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/0.6798, allocations: 4 kB / 399.8 MB, free: 14.71 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000489/0.6803, allocations: 268.2 kB / 400.1 MB, free: 14.5 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6803, allocations: 0 / 400.1 MB, free: 14.5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002996/0.6833, allocations: 0.6922 MB / 400.8 MB, free: 13.82 MB / 330.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.004465/0.6878, allocations: 1.675 MB / 402.5 MB, free: 12.24 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002215/0.6901, allocations: 0.9461 MB / 403.4 MB, free: 11.33 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.6902, allocations: 4 kB / 403.4 MB, free: 11.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003684/0.6905, allocations: 122.8 kB / 403.5 MB, free: 11.23 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008019/0.6913, allocations: 99.64 kB / 403.6 MB, free: 11.16 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004117/0.6955, allocations: 1.57 MB / 405.2 MB, free: 9.633 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000566/0.6961, allocations: 0.8528 MB / 406.1 MB, free: 8.758 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002996/0.6964, allocations: 130.6 kB / 406.2 MB, free: 8.719 MB / 330.7 MB Notification: Performance of SimCode: time 1.914e-06/0.6964, allocations: 0 / 406.2 MB, free: 8.719 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.105/3.802, allocations: 14.4 MB / 420.6 MB, free: 10.32 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Blocks.Examples.Filter_res.mat does not exist to compare? outputFormat=mat