Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_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_cpp_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.995/1.995, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003665/0.0003664, allocations: 15.98 kB / 264 MB, free: 13.49 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.134, allocations: 44.51 MB / 308.5 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4192/0.5533, allocations: 85.21 MB / 393.7 MB, free: 14.9 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/0.5536, allocations: 73.05 kB / 393.8 MB, free: 14.89 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1556/0.7092, allocations: 35.52 MB / 429.3 MB, free: 60 kB / 314.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.7093, allocations: 0 / 429.3 MB, free: 60 kB / 314.7 MB Notification: Performance of Transformations before backend: time 5.625e-05/0.7093, allocations: 19.69 kB / 429.4 MB, free: 52 kB / 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.003151/0.7125, allocations: 0.8978 MB / 430.3 MB, free: 15.41 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.7126, allocations: 7.75 kB / 430.3 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001361/0.7127, allocations: 54.06 kB / 430.3 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001495/0.7129, allocations: 46.56 kB / 430.4 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/0.7141, allocations: 453.7 kB / 430.8 MB, free: 15.02 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.7141, allocations: 13.28 kB / 430.8 MB, free: 15.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.948e-05/0.7142, allocations: 27.45 kB / 430.8 MB, free: 15.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007093/0.7149, allocations: 335.4 kB / 431.2 MB, free: 14.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.715, allocations: 0 / 431.2 MB, free: 14.79 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.798e-05/0.715, allocations: 11.34 kB / 431.2 MB, free: 14.78 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.715, allocations: 7.641 kB / 431.2 MB, free: 14.78 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000427/0.7155, allocations: 150.1 kB / 431.3 MB, free: 14.75 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001796/0.7173, allocations: 0.677 MB / 432 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009429/0.7183, allocations: 324.2 kB / 432.3 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.7183, allocations: 8.062 kB / 432.3 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/0.7183, allocations: 41.78 kB / 432.4 MB, free: 14.19 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 3.376e-06/0.7184, allocations: 3.938 kB / 432.4 MB, free: 14.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.001122/0.7195, allocations: 394.7 kB / 432.8 MB, free: 14.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002014/0.7197, allocations: 366.9 kB / 433.1 MB, free: 13.63 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005561/0.7203, allocations: 363.4 kB / 433.5 MB, free: 13.47 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.771e-05/0.7204, allocations: 32.67 kB / 433.5 MB, free: 13.44 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00018/0.7206, allocations: 239.1 kB / 433.8 MB, free: 13.27 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.993e-05/0.7207, allocations: 79.39 kB / 433.8 MB, free: 13.21 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/0.7207, allocations: 10.64 kB / 433.8 MB, free: 13.21 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.7209, allocations: 337.3 kB / 434.2 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000507/0.7214, allocations: 196.6 kB / 434.4 MB, free: 12.86 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005951/0.722, allocations: 308.8 kB / 434.7 MB, free: 12.7 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005484/0.7226, allocations: 241.7 kB / 434.9 MB, free: 12.66 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.7226, allocations: 0 / 434.9 MB, free: 12.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001702/0.7243, allocations: 0.6071 MB / 435.5 MB, free: 12.5 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.7244, allocations: 11.48 kB / 435.5 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.338e-05/0.7244, allocations: 14.86 kB / 435.5 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006649/0.7251, allocations: 129 kB / 435.7 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005291/0.7256, allocations: 62.61 kB / 435.7 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005077/0.7307, allocations: 4.258 MB / 440 MB, free: 8.332 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004768/0.7313, allocations: 50.42 kB / 440 MB, free: 8.289 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.437e-05/0.7313, allocations: 15.31 kB / 440 MB, free: 8.277 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.0003649/0.7317, allocations: 177.7 kB / 440.2 MB, free: 8.117 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.7318, allocations: 51.67 kB / 440.3 MB, free: 8.066 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.732, allocations: 40.25 kB / 440.3 MB, free: 8.043 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.732, allocations: 4 kB / 440.3 MB, free: 8.039 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.732, allocations: 0 / 440.3 MB, free: 8.039 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.732, allocations: 0 / 440.3 MB, free: 8.039 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005763/0.7326, allocations: 348.4 kB / 440.6 MB, free: 7.711 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.7326, allocations: 0 / 440.6 MB, free: 7.711 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005979/0.7332, allocations: 39.94 kB / 440.7 MB, free: 7.672 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.7332, allocations: 0 / 440.7 MB, free: 7.672 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.493e-05/0.7333, allocations: 14.98 kB / 440.7 MB, free: 7.664 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.7333, allocations: 4 kB / 440.7 MB, free: 7.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.7333, allocations: 7.938 kB / 440.7 MB, free: 7.652 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.7345, allocations: 0.4917 MB / 441.2 MB, free: 7.238 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.7346, allocations: 116.5 kB / 441.3 MB, free: 7.105 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.95e-05/0.7347, allocations: 18.3 kB / 441.3 MB, free: 7.094 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003465/0.7351, allocations: 18.61 kB / 441.4 MB, free: 7.078 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.309e-05/0.7352, allocations: 7.984 kB / 441.4 MB, free: 7.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-05/0.7352, allocations: 7.125 kB / 441.4 MB, free: 7.066 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004667/0.7357, allocations: 272.2 kB / 441.6 MB, free: 6.852 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.7357, allocations: 0 / 441.6 MB, free: 6.852 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003146/0.7389, allocations: 0.7048 MB / 442.3 MB, free: 6.168 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.004575/0.7435, allocations: 1.65 MB / 444 MB, free: 4.609 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002208/0.7458, allocations: 0.9465 MB / 444.9 MB, free: 3.699 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.7458, allocations: 0 / 444.9 MB, free: 3.699 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003656/0.7462, allocations: 124.7 kB / 445.1 MB, free: 3.605 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008475/0.747, allocations: 108.2 kB / 445.2 MB, free: 3.52 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004525/0.7516, allocations: 1.575 MB / 446.7 MB, free: 1.992 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005732/0.7522, allocations: 0.8444 MB / 447.6 MB, free: 1.125 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003186/0.7526, allocations: 130.2 kB / 447.7 MB, free: 1.086 MB / 330.7 MB Notification: Performance of SimCode: time 1.292e-06/0.7526, allocations: 4 kB / 447.7 MB, free: 1.082 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.268/4.021, allocations: 14.4 MB / 462.1 MB, free: 2.73 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Blocks.Examples.Filter_res.mat does not exist to compare? outputFormat=mat