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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.498/2.498, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.756e-05/2.762e-05, allocations: 4 kB / 303.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3372, allocations: 54.86 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1726/0.5099, allocations: 94.25 MB / 452.4 MB, free: 472 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/0.5102, allocations: 75.95 kB / 452.5 MB, free: 396 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5626/1.073, allocations: 48.23 MB / 0.489 GB, free: 80.99 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.965e-06/1.073, allocations: 0 / 0.489 GB, free: 80.99 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002569/1.073, allocations: 35.88 kB / 0.489 GB, free: 80.96 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.004847/1.078, allocations: 1.222 MB / 0.4902 GB, free: 79.69 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/1.078, allocations: 8.031 kB / 0.4902 GB, free: 79.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005712/1.079, allocations: 110.7 kB / 0.4903 GB, free: 79.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00227/1.081, allocations: 0.7601 MB / 0.491 GB, free: 78.77 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/1.081, allocations: 18.2 kB / 0.4911 GB, free: 78.75 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002296/1.081, allocations: 52.41 kB / 0.4911 GB, free: 78.7 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008231/1.082, allocations: 337.4 kB / 0.4914 GB, free: 78.37 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/1.083, allocations: 0.6768 MB / 0.4921 GB, free: 77.59 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/1.083, allocations: 0 / 0.4921 GB, free: 77.59 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.403e-05/1.083, allocations: 4 kB / 0.4921 GB, free: 77.58 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/1.083, allocations: 8 kB / 0.4921 GB, free: 77.57 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004215/1.088, allocations: 1.306 MB / 0.4934 GB, free: 76.23 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00201/1.09, allocations: 0.7829 MB / 0.4941 GB, free: 75.43 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005331/1.09, allocations: 262 kB / 0.4944 GB, free: 75.17 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.711e-05/1.09, allocations: 8.438 kB / 0.4944 GB, free: 75.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/1.09, allocations: 41.23 kB / 0.4944 GB, free: 75.12 MB / 394.7 MB Notification: Performance of pre-optimization done (n=53): time 3.457e-06/1.091, allocations: 0 / 0.4944 GB, free: 75.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=53): time 0.001701/1.092, allocations: 0.6731 MB / 0.4951 GB, free: 74.43 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000176/1.092, allocations: 0.6687 MB / 0.4957 GB, free: 73.6 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/1.094, allocations: 0.6811 MB / 0.4964 GB, free: 72.9 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000272/1.094, allocations: 25.7 kB / 0.4964 GB, free: 72.87 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003003/1.094, allocations: 367.8 kB / 0.4968 GB, free: 72.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002371/1.094, allocations: 216.7 kB / 0.497 GB, free: 72.29 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/1.095, allocations: 0 / 0.497 GB, free: 72.29 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/1.095, allocations: 370.8 kB / 0.4974 GB, free: 71.92 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001149/1.096, allocations: 0.5381 MB / 0.4979 GB, free: 71.38 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/1.097, allocations: 0.7628 MB / 0.4986 GB, free: 70.54 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001701/1.099, allocations: 0.6561 MB / 0.4993 GB, free: 69.89 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/1.099, allocations: 0 / 0.4993 GB, free: 69.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00463/1.104, allocations: 1.736 MB / 0.501 GB, free: 68.11 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/1.104, allocations: 4 kB / 0.501 GB, free: 68.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001286/1.104, allocations: 23.97 kB / 0.501 GB, free: 68.08 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002145/1.106, allocations: 469.8 kB / 0.5014 GB, free: 67.58 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/1.107, allocations: 139.9 kB / 0.5016 GB, free: 67.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/1.107, allocations: 11.94 kB / 0.5016 GB, free: 67.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009228/1.108, allocations: 110.5 kB / 0.5017 GB, free: 67.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001618/1.108, allocations: 35.98 kB / 0.5017 GB, free: 67.29 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 () * 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): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 12 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002592/1.109, allocations: 132 kB / 0.5018 GB, free: 67.16 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001486/1.11, allocations: 0.6614 MB / 0.5025 GB, free: 66.49 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001697/1.11, allocations: 86.88 kB / 0.5026 GB, free: 66.41 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000301/1.111, allocations: 89.19 kB / 0.5027 GB, free: 66.32 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/1.111, allocations: 8 kB / 0.5027 GB, free: 66.31 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/1.111, allocations: 4 kB / 0.5027 GB, free: 66.3 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.258e-06/1.111, allocations: 3.984 kB / 0.5027 GB, free: 66.3 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009721/1.112, allocations: 0.572 MB / 0.5032 GB, free: 65.69 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/1.112, allocations: 0 / 0.5032 GB, free: 65.69 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001552/1.113, allocations: 107.9 kB / 0.5033 GB, free: 65.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.191e-05/1.113, allocations: 7.984 kB / 0.5033 GB, free: 65.58 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/1.114, allocations: 23.98 kB / 0.5034 GB, free: 65.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/1.114, allocations: 3.938 kB / 0.5034 GB, free: 65.55 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/1.114, allocations: 0 / 0.5034 GB, free: 65.55 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002092/1.116, allocations: 1.095 MB / 0.5044 GB, free: 64.45 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002125/1.116, allocations: 159.8 kB / 0.5046 GB, free: 64.27 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002133/1.116, allocations: 19.98 kB / 0.5046 GB, free: 64.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006595/1.117, allocations: 23.97 kB / 0.5046 GB, free: 64.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/1.117, allocations: 32.39 kB / 0.5047 GB, free: 64.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.371e-05/1.117, allocations: 15.98 kB / 0.5047 GB, free: 64.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008362/1.118, allocations: 487.6 kB / 0.5051 GB, free: 63.69 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.92e-07/1.118, allocations: 0 / 0.5051 GB, free: 63.69 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004219/1.122, allocations: 0.7611 MB / 0.5059 GB, free: 62.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 () * 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.005867/1.128, allocations: 2.285 MB / 0.5081 GB, free: 60.62 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003906/1.132, allocations: 2.58 MB / 0.5106 GB, free: 57.7 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/1.132, allocations: 0 / 0.5106 GB, free: 57.7 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007259/1.133, allocations: 313.4 kB / 0.5109 GB, free: 57.39 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001427/1.134, allocations: 175.6 kB / 0.5111 GB, free: 57.22 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006269/1.141, allocations: 2.433 MB / 0.5135 GB, free: 54.73 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007018/1.141, allocations: 1.102 MB / 0.5146 GB, free: 53.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007379/1.142, allocations: 339.3 kB / 0.5149 GB, free: 53.27 MB / 394.7 MB Notification: Performance of SimCode: time 1.583e-06/1.142, allocations: 0 / 0.5149 GB, free: 53.27 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.901/5.043, allocations: 35.06 MB / 0.5491 GB, free: 18.16 MB / 394.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