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.43/2.43, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004526/0.0004526, allocations: 16 kB / 314.5 MB, free: 9.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3553, allocations: 54.86 MB / 369.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1726/0.5279, allocations: 95.02 MB / 464.4 MB, free: 11.54 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/0.5283, allocations: 83.89 kB / 464.5 MB, free: 11.46 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5307/1.059, allocations: 48.51 MB / 0.5009 GB, free: 72.41 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.807e-06/1.059, allocations: 0 / 0.5009 GB, free: 72.41 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001785/1.059, allocations: 39.94 kB / 0.501 GB, free: 72.37 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.005367/1.065, allocations: 1.39 MB / 0.5023 GB, free: 70.92 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/1.065, allocations: 12.03 kB / 0.5024 GB, free: 70.91 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002638/1.065, allocations: 82.53 kB / 0.5024 GB, free: 70.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003194/1.065, allocations: 102.8 kB / 0.5025 GB, free: 70.72 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002218/1.068, allocations: 0.7687 MB / 0.5033 GB, free: 69.89 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.007e-05/1.068, allocations: 37 kB / 0.5033 GB, free: 69.86 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002107/1.068, allocations: 68.41 kB / 0.5034 GB, free: 69.79 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/1.069, allocations: 0.7514 MB / 0.5041 GB, free: 68.93 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/1.069, allocations: 0 / 0.5041 GB, free: 68.93 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.742e-05/1.069, allocations: 20 kB / 0.5041 GB, free: 68.91 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/1.069, allocations: 8.562 kB / 0.5041 GB, free: 68.9 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000959/1.07, allocations: 375.7 kB / 0.5045 GB, free: 68.54 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00397/1.074, allocations: 1.394 MB / 0.5059 GB, free: 67.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00219/1.077, allocations: 0.8427 MB / 0.5067 GB, free: 66.23 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.215e-05/1.077, allocations: 10.61 kB / 0.5067 GB, free: 66.23 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/1.077, allocations: 43 kB / 0.5067 GB, free: 66.18 MB / 394.7 MB Notification: Performance of pre-optimization done (n=53): time 3.296e-06/1.077, allocations: 3.938 kB / 0.5067 GB, free: 66.17 MB / 394.7 MB Notification: Performance of matching and sorting (n=53): time 0.002515/1.079, allocations: 0.9694 MB / 0.5077 GB, free: 65.19 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001825/1.08, allocations: 0.6648 MB / 0.5083 GB, free: 64.37 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/1.081, allocations: 0.7433 MB / 0.5091 GB, free: 63.6 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002551/1.081, allocations: 45.7 kB / 0.5091 GB, free: 63.55 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003039/1.081, allocations: 371.8 kB / 0.5095 GB, free: 63.18 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002703/1.082, allocations: 216.8 kB / 0.5097 GB, free: 62.97 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.521e-05/1.082, allocations: 20 kB / 0.5097 GB, free: 62.95 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/1.082, allocations: 366.7 kB / 0.51 GB, free: 62.58 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001348/1.083, allocations: 0.569 MB / 0.5106 GB, free: 62.01 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/1.085, allocations: 0.8105 MB / 0.5114 GB, free: 61.12 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001505/1.086, allocations: 0.6703 MB / 0.512 GB, free: 60.45 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/1.086, allocations: 0 / 0.512 GB, free: 60.45 MB / 394.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004841/1.091, allocations: 1.824 MB / 0.5138 GB, free: 58.59 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/1.091, allocations: 8 kB / 0.5138 GB, free: 58.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001395/1.091, allocations: 27.97 kB / 0.5139 GB, free: 58.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002361/1.094, allocations: 0.4978 MB / 0.5143 GB, free: 58.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/1.095, allocations: 135.9 kB / 0.5145 GB, free: 57.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0173/1.112, allocations: 17.05 MB / 0.5311 GB, free: 39.24 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/1.114, allocations: 134.8 kB / 0.5312 GB, free: 39.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003944/1.114, allocations: 39.98 kB / 0.5313 GB, free: 39.07 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.001168/1.116, allocations: 291.2 kB / 0.5316 GB, free: 38.77 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003652/1.116, allocations: 86.78 kB / 0.5316 GB, free: 38.69 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000378/1.116, allocations: 101.4 kB / 0.5317 GB, free: 38.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/1.116, allocations: 8 kB / 0.5317 GB, free: 38.58 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.361e-06/1.116, allocations: 0 / 0.5317 GB, free: 38.58 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.526e-05/1.116, allocations: 3.984 kB / 0.5317 GB, free: 38.57 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001821/1.118, allocations: 0.634 MB / 0.5324 GB, free: 37.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/1.118, allocations: 0 / 0.5324 GB, free: 37.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003789/1.122, allocations: 99.88 kB / 0.5325 GB, free: 37.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.067e-05/1.122, allocations: 8 kB / 0.5325 GB, free: 37.79 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002565/1.122, allocations: 31.97 kB / 0.5325 GB, free: 37.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.293e-06/1.122, allocations: 4 kB / 0.5325 GB, free: 37.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/1.122, allocations: 0 / 0.5325 GB, free: 37.75 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002414/1.125, allocations: 1.158 MB / 0.5336 GB, free: 36.58 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/1.125, allocations: 167.8 kB / 0.5338 GB, free: 36.39 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001905/1.125, allocations: 39.92 kB / 0.5338 GB, free: 36.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006726/1.126, allocations: 31.95 kB / 0.5339 GB, free: 36.32 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/1.126, allocations: 32.39 kB / 0.5339 GB, free: 36.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.253e-05/1.126, allocations: 16 kB / 0.5339 GB, free: 36.28 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000913/1.127, allocations: 0.5268 MB / 0.5344 GB, free: 35.74 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.01e-07/1.127, allocations: 0 / 0.5344 GB, free: 35.74 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003594/1.131, allocations: 0.8081 MB / 0.5352 GB, free: 34.93 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.00563/1.136, allocations: 2.364 MB / 0.5375 GB, free: 32.54 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005759/1.142, allocations: 2.993 MB / 0.5404 GB, free: 29.31 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/1.142, allocations: 0 / 0.5404 GB, free: 29.31 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008584/1.143, allocations: 330.2 kB / 0.5408 GB, free: 28.98 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001306/1.145, allocations: 189.3 kB / 0.5409 GB, free: 28.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009269/1.154, allocations: 3.383 MB / 0.5442 GB, free: 25.36 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007526/1.155, allocations: 1.106 MB / 0.5453 GB, free: 24.22 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007301/1.155, allocations: 335.3 kB / 0.5456 GB, free: 23.89 MB / 394.7 MB Notification: Performance of SimCode: time 8.72e-07/1.155, allocations: 0 / 0.5456 GB, free: 23.89 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.281/5.436, allocations: 34.9 MB / 0.5797 GB, free: 4.965 MB / 410.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