Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.FilterTests.Basic.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) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.194/2.194, allocations: 209.2 MB / 224.8 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004396/0.0004396, allocations: 19.98 kB / 282.7 MB, free: 9.543 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4024/0.4029, allocations: 48.69 MB / 331.4 MB, free: 6.531 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1844/0.5873, allocations: 88.76 MB / 420.1 MB, free: 5.598 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003175/0.5877, allocations: 71.95 kB / 420.2 MB, free: 5.527 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2489/0.8367, allocations: 48.59 MB / 468.8 MB, free: 4.859 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.8367, allocations: 0 / 468.8 MB, free: 4.859 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001281/0.8369, allocations: 39.88 kB / 468.8 MB, free: 4.82 MB / 394.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.004934/0.8418, allocations: 1.393 MB / 470.2 MB, free: 3.379 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.8419, allocations: 8.031 kB / 470.2 MB, free: 3.371 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001695/0.8421, allocations: 78.53 kB / 470.3 MB, free: 3.285 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002862/0.8424, allocations: 106.7 kB / 470.4 MB, free: 3.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002253/0.8446, allocations: 0.7644 MB / 471.2 MB, free: 2.359 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.069e-05/0.8447, allocations: 41 kB / 471.2 MB, free: 2.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002411/0.845, allocations: 75.8 kB / 471.3 MB, free: 2.246 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001678/0.8466, allocations: 0.7397 MB / 472 MB, free: 1.391 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.8467, allocations: 3.953 kB / 472 MB, free: 1.387 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.053e-05/0.8468, allocations: 24 kB / 472 MB, free: 1.363 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/0.8468, allocations: 8 kB / 472.1 MB, free: 1.355 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.8479, allocations: 383.7 kB / 472.4 MB, free: 0.9844 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.292/1.14, allocations: 1.379 MB / 473.8 MB, free: 99.11 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002807/1.143, allocations: 0.8425 MB / 474.7 MB, free: 99.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.305e-05/1.143, allocations: 5.781 kB / 474.7 MB, free: 99.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.587e-05/1.143, allocations: 45.91 kB / 474.7 MB, free: 99.04 MB / 394.7 MB Notification: Performance of pre-optimization done (n=53): time 3.777e-06/1.143, allocations: 1.75 kB / 474.7 MB, free: 99.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=53): time 0.003122/1.146, allocations: 0.9719 MB / 475.7 MB, free: 98.99 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002069/1.146, allocations: 0.6705 MB / 476.3 MB, free: 98.18 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001553/1.148, allocations: 0.735 MB / 477.1 MB, free: 98.04 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003168/1.148, allocations: 45.39 kB / 477.1 MB, free: 98.01 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003227/1.149, allocations: 371.6 kB / 477.5 MB, free: 97.86 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002688/1.149, allocations: 215.9 kB / 477.7 MB, free: 97.74 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/1.149, allocations: 19.41 kB / 477.7 MB, free: 97.74 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/1.149, allocations: 369 kB / 478.1 MB, free: 97.43 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001535/1.151, allocations: 0.5714 MB / 478.7 MB, free: 97.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001682/1.152, allocations: 0.8064 MB / 479.5 MB, free: 97.22 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001675/1.154, allocations: 0.6807 MB / 480.1 MB, free: 97.19 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.557e-06/1.154, allocations: 0 / 480.1 MB, free: 97.19 MB / 394.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.005081/1.159, allocations: 1.83 MB / 482 MB, free: 96.99 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/1.159, allocations: 4.688 kB / 482 MB, free: 96.99 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001346/1.16, allocations: 22.86 kB / 482 MB, free: 96.99 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002452/1.162, allocations: 0.4976 MB / 482.5 MB, free: 96.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/1.163, allocations: 137.2 kB / 482.6 MB, free: 96.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0201/1.183, allocations: 17.06 MB / 499.7 MB, free: 81.22 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/1.185, allocations: 131 kB / 499.8 MB, free: 81.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002385/1.185, allocations: 39.64 kB / 499.8 MB, free: 81.16 MB / 394.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 (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.001015/1.186, allocations: 286.1 kB / 0.4884 GB, free: 80.98 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004017/1.187, allocations: 86.25 kB / 0.4885 GB, free: 80.94 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003954/1.187, allocations: 99.25 kB / 0.4886 GB, free: 80.86 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/1.187, allocations: 5.969 kB / 0.4886 GB, free: 80.86 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/1.187, allocations: 0 / 0.4886 GB, free: 80.86 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/1.187, allocations: 8.531 kB / 0.4886 GB, free: 80.86 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001763/1.189, allocations: 0.6387 MB / 0.4892 GB, free: 80.53 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/1.189, allocations: 0 / 0.4892 GB, free: 80.53 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002351/1.191, allocations: 101.7 kB / 0.4893 GB, free: 80.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.77e-05/1.191, allocations: 6.688 kB / 0.4893 GB, free: 80.52 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001971/1.192, allocations: 33.39 kB / 0.4894 GB, free: 80.51 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-05/1.192, allocations: 1.375 kB / 0.4894 GB, free: 80.51 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.192, allocations: 3.469 kB / 0.4894 GB, free: 80.51 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00406/1.196, allocations: 1.156 MB / 0.4905 GB, free: 80.04 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003607/1.196, allocations: 169.1 kB / 0.4907 GB, free: 79.89 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003344/1.196, allocations: 30.92 kB / 0.4907 GB, free: 79.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/1.198, allocations: 38.12 kB / 0.4907 GB, free: 79.88 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002423/1.198, allocations: 31 kB / 0.4907 GB, free: 79.87 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.535e-05/1.198, allocations: 17.31 kB / 0.4908 GB, free: 79.87 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001634/1.2, allocations: 0.529 MB / 0.4913 GB, free: 79.64 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.41e-07/1.2, allocations: 0 / 0.4913 GB, free: 79.64 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00576/1.205, allocations: 0.8155 MB / 0.4921 GB, free: 79.6 MB / 394.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 () * Number of clocked 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.008515/1.214, allocations: 2.343 MB / 0.4944 GB, free: 78.58 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008633/1.223, allocations: 3 MB / 0.4973 GB, free: 76.44 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.301e-05/1.223, allocations: 7.859 kB / 0.4973 GB, free: 76.43 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001433/1.224, allocations: 332.7 kB / 0.4976 GB, free: 76.35 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002334/1.227, allocations: 187.1 kB / 0.4978 GB, free: 76.3 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/1.238, allocations: 3.384 MB / 0.5011 GB, free: 74.73 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001148/1.239, allocations: 1.097 MB / 0.5022 GB, free: 74 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001131/1.24, allocations: 341.3 kB / 0.5025 GB, free: 73.74 MB / 394.7 MB Notification: Performance of SimCode: time 1.633e-06/1.24, allocations: 0 / 0.5025 GB, free: 73.74 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.004/5.244, allocations: 34.92 MB / 0.5366 GB, free: 57.43 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.FilterTests.Basic_res.mat does not exist to compare? outputFormat=mat