Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.FilterTests.Basic.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.FilterTests.Basic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.|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.",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.FilterTests.Basic") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002624/0.002624, allocations: 348.5 kB / 15.94 MB, free: 6.219 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.727/3.727, allocations: 341.5 MB / 358.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003544/0.003544, allocations: 237.5 kB / 397.9 MB, free: 4.965 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.6204/0.6204, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007161/0.0007162, allocations: 12 kB / 0.5592 GB, free: 53.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1142, allocations: 48.69 MB / 0.6067 GB, free: 4.676 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4659/0.5801, allocations: 88.76 MB / 0.6934 GB, free: 23.96 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/0.5805, allocations: 74.25 kB / 0.6935 GB, free: 23.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.235/0.8155, allocations: 48.59 MB / 0.7409 GB, free: 7.676 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.8156, allocations: 0 / 0.7409 GB, free: 7.676 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001575/0.8158, allocations: 43.88 kB / 0.741 GB, free: 7.633 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.006066/0.8219, allocations: 1.378 MB / 0.7423 GB, free: 6.203 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.8219, allocations: 8.031 kB / 0.7423 GB, free: 6.195 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006196/0.8226, allocations: 106.7 kB / 0.7424 GB, free: 6.09 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002948/0.8255, allocations: 0.7683 MB / 0.7432 GB, free: 5.266 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.413e-05/0.8257, allocations: 37 kB / 0.7432 GB, free: 5.23 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002958/0.826, allocations: 79.8 kB / 0.7433 GB, free: 5.152 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001998/0.828, allocations: 0.7475 MB / 0.744 GB, free: 4.293 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/0.8281, allocations: 3.188 kB / 0.744 GB, free: 4.293 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.882e-05/0.8282, allocations: 23.95 kB / 0.744 GB, free: 4.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.8282, allocations: 8 kB / 0.7441 GB, free: 4.262 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/0.8294, allocations: 379.7 kB / 0.7444 GB, free: 3.891 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00536/0.8348, allocations: 1.39 MB / 0.7458 GB, free: 2.445 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002895/0.8378, allocations: 0.8368 MB / 0.7466 GB, free: 1.594 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008627/0.8387, allocations: 286 kB / 0.7469 GB, free: 1.312 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.487e-05/0.8388, allocations: 4.438 kB / 0.7469 GB, free: 1.309 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.097e-05/0.8388, allocations: 53.17 kB / 0.7469 GB, free: 1.25 MB / 394.7 MB Notification: Performance of pre-optimization done (n=53): time 3.657e-06/0.8389, allocations: 0 / 0.7469 GB, free: 1.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=53): time 0.003143/0.842, allocations: 0.9733 MB / 0.7479 GB, free: 276 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004314/0.8425, allocations: 0.6687 MB / 0.7485 GB, free: 15.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001924/0.8444, allocations: 0.834 MB / 0.7493 GB, free: 14.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000376/0.8449, allocations: 49.7 kB / 0.7494 GB, free: 14.53 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005201/0.8454, allocations: 357.4 kB / 0.7497 GB, free: 14.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000443/0.8459, allocations: 220.8 kB / 0.7499 GB, free: 13.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.123e-05/0.846, allocations: 16 kB / 0.75 GB, free: 13.94 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003779/0.8464, allocations: 418.7 kB / 0.7504 GB, free: 13.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00176/0.8481, allocations: 0.5768 MB / 0.7509 GB, free: 12.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00222/0.8504, allocations: 0.8058 MB / 0.7517 GB, free: 12.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002142/0.8526, allocations: 0.6786 MB / 0.7524 GB, free: 11.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/0.8527, allocations: 4 kB / 0.7524 GB, free: 11.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00647/0.8592, allocations: 1.87 MB / 0.7542 GB, free: 9.477 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.501e-05/0.8592, allocations: 8 kB / 0.7542 GB, free: 9.469 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001714/0.8594, allocations: 27.91 kB / 0.7542 GB, free: 9.441 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0027/0.8621, allocations: 0.49 MB / 0.7547 GB, free: 8.914 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/0.8634, allocations: 147.8 kB / 0.7548 GB, free: 8.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3272/1.191, allocations: 16.89 MB / 0.7713 GB, free: 93.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/1.192, allocations: 130 kB / 0.7715 GB, free: 93.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000246/1.192, allocations: 36.94 kB / 0.7715 GB, free: 93.6 MB / 410.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.0009862/1.193, allocations: 285.6 kB / 0.7718 GB, free: 93.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003224/1.194, allocations: 91.48 kB / 0.7719 GB, free: 93.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003814/1.194, allocations: 103.2 kB / 0.772 GB, free: 93.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/1.194, allocations: 9.578 kB / 0.772 GB, free: 93.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/1.194, allocations: 0 / 0.772 GB, free: 93.47 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/1.194, allocations: 4.078 kB / 0.772 GB, free: 93.47 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001835/1.196, allocations: 0.631 MB / 0.7726 GB, free: 93.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/1.196, allocations: 0.8906 kB / 0.7726 GB, free: 93.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002179/1.198, allocations: 106.8 kB / 0.7727 GB, free: 93.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.658e-05/1.198, allocations: 1.188 kB / 0.7727 GB, free: 93.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002088/1.199, allocations: 34.42 kB / 0.7727 GB, free: 93.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.186e-05/1.199, allocations: 2.984 kB / 0.7727 GB, free: 93.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/1.199, allocations: 6.953 kB / 0.7727 GB, free: 93.28 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004014/1.203, allocations: 1.158 MB / 0.7739 GB, free: 93.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003046/1.203, allocations: 166.6 kB / 0.774 GB, free: 93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003114/1.203, allocations: 32.2 kB / 0.7741 GB, free: 93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009954/1.204, allocations: 33.52 kB / 0.7741 GB, free: 93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001844/1.205, allocations: 34.38 kB / 0.7741 GB, free: 93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.239e-05/1.205, allocations: 24.02 kB / 0.7741 GB, free: 93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001535/1.206, allocations: 0.5298 MB / 0.7747 GB, free: 92.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.71e-07/1.206, allocations: 1.062 kB / 0.7747 GB, free: 92.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004883/1.211, allocations: 0.8043 MB / 0.7754 GB, free: 92.88 MB / 410.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.004179/1.215, allocations: 0.7455 MB / 0.7762 GB, free: 92.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008725/1.224, allocations: 2.996 MB / 0.7791 GB, free: 91.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-05/1.224, allocations: 1.344 kB / 0.7791 GB, free: 91.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001397/1.226, allocations: 333.6 kB / 0.7794 GB, free: 91.03 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002252/1.228, allocations: 203 kB / 0.7796 GB, free: 91.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007227/1.235, allocations: 2.53 MB / 0.7821 GB, free: 89.97 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001397/1.237, allocations: 1.099 MB / 0.7832 GB, free: 89.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001295/1.238, allocations: 162.4 kB / 0.7833 GB, free: 89.26 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000435/1.239, allocations: 52.81 kB / 0.7834 GB, free: 89.25 MB / 410.7 MB Notification: Performance of SimCode: time 1.583e-06/1.239, allocations: 1.938 kB / 0.7834 GB, free: 89.25 MB / 410.7 MB Notification: Performance of Templates: time 0.05734/1.296, allocations: 19.33 MB / 0.8022 GB, free: 88.82 MB / 410.7 MB