Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.FilterTests.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.FilterTests.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.FilterTests.Basic") translateModel(ModelicaTest.Blocks.FilterTests.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.FilterTests.Basic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001218/0.001218, allocations: 182.8 kB / 7.652 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.504/1.504, allocations: 194.3 MB / 202.4 MB, free: 8.48 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.0018/0.0018, allocations: 115.3 kB / 247.4 MB, free: 6.211 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2275/0.2275, allocations: 39.95 MB / 332.2 MB, free: 4.77 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.423e-05/1.424e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08718/0.08721, allocations: 54.87 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3407/0.4279, allocations: 94.26 MB / 0.5297 GB, free: 5.387 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002084/0.4282, allocations: 71.45 kB / 0.5298 GB, free: 5.348 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1291/0.5573, allocations: 48.25 MB / 0.5769 GB, free: 12.39 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.5574, allocations: 0 / 0.5769 GB, free: 12.39 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.371e-05/0.5574, allocations: 39.81 kB / 0.577 GB, free: 12.36 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.002737/0.5602, allocations: 1.211 MB / 0.5781 GB, free: 11.16 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.5602, allocations: 12.03 kB / 0.5782 GB, free: 11.14 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002006/0.5604, allocations: 105.8 kB / 0.5783 GB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/0.5617, allocations: 0.7619 MB / 0.579 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.5618, allocations: 11.95 kB / 0.579 GB, free: 10.31 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.5619, allocations: 55.7 kB / 0.5791 GB, free: 10.26 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005109/0.5624, allocations: 339.8 kB / 0.5794 GB, free: 10.03 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008607/0.5633, allocations: 0.6741 MB / 0.58 GB, free: 9.363 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.5633, allocations: 0 / 0.58 GB, free: 9.363 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.226e-05/0.5634, allocations: 4 kB / 0.58 GB, free: 9.359 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.5634, allocations: 8 kB / 0.5801 GB, free: 9.352 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00228/0.5657, allocations: 1.299 MB / 0.5813 GB, free: 8.25 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/0.5669, allocations: 0.785 MB / 0.5821 GB, free: 7.672 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003373/0.5673, allocations: 263.9 kB / 0.5823 GB, free: 7.492 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.77e-05/0.5673, allocations: 12.38 kB / 0.5824 GB, free: 7.48 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.5674, allocations: 49.67 kB / 0.5824 GB, free: 7.43 MB / 394.7 MB Notification: Performance of pre-optimization done (n=53): time 1.663e-06/0.5674, allocations: 0 / 0.5824 GB, free: 7.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=53): time 0.00095/0.5683, allocations: 0.6526 MB / 0.583 GB, free: 6.906 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003316/0.5687, allocations: 0.6704 MB / 0.5837 GB, free: 6.082 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007672/0.5694, allocations: 0.6845 MB / 0.5844 GB, free: 5.531 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.258e-05/0.5695, allocations: 29.7 kB / 0.5844 GB, free: 5.496 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002311/0.5697, allocations: 344.8 kB / 0.5847 GB, free: 5.301 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/0.5699, allocations: 218.6 kB / 0.5849 GB, free: 5.117 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-05/0.57, allocations: 0 / 0.5849 GB, free: 5.117 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.5701, allocations: 426.8 kB / 0.5853 GB, free: 4.734 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006978/0.5709, allocations: 0.5299 MB / 0.5859 GB, free: 4.379 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009152/0.5718, allocations: 0.7687 MB / 0.5866 GB, free: 3.59 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.5728, allocations: 0.6503 MB / 0.5872 GB, free: 2.938 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.5728, allocations: 0 / 0.5872 GB, free: 2.938 MB / 394.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002853/0.5757, allocations: 1.786 MB / 0.589 GB, free: 1.109 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.5757, allocations: 8 kB / 0.589 GB, free: 1.102 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.051e-05/0.5758, allocations: 23.97 kB / 0.589 GB, free: 1.078 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001234/0.577, allocations: 473.8 kB / 0.5895 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005561/0.5776, allocations: 139.8 kB / 0.5896 GB, free: 452 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.5776, allocations: 4 kB / 0.5896 GB, free: 448 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000403/0.578, allocations: 126.4 kB / 0.5897 GB, free: 320 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.163e-05/0.5781, allocations: 32 kB / 0.5898 GB, free: 288 kB / 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.0001775/0.5783, allocations: 128.8 kB / 0.5899 GB, free: 152 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.5784, allocations: 90.81 kB / 0.59 GB, free: 60 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002333/0.5787, allocations: 93.27 kB / 0.59 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/0.5787, allocations: 8 kB / 0.5901 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.5787, allocations: 0 / 0.5901 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.5787, allocations: 3.984 kB / 0.5901 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006729/0.5794, allocations: 0.5719 MB / 0.5906 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.5794, allocations: 0 / 0.5906 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007265/0.5801, allocations: 107.9 kB / 0.5907 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.5802, allocations: 4 kB / 0.5907 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.083e-05/0.5802, allocations: 27.97 kB / 0.5908 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.5802, allocations: 0 / 0.5908 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.5802, allocations: 3.938 kB / 0.5908 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/0.5816, allocations: 1.095 MB / 0.5918 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.5817, allocations: 155.9 kB / 0.592 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.5818, allocations: 23.97 kB / 0.592 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003512/0.5822, allocations: 19.97 kB / 0.592 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.042e-05/0.5823, allocations: 36.39 kB / 0.5921 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.355e-05/0.5823, allocations: 12 kB / 0.5921 GB, free: 13.83 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005441/0.5828, allocations: 491.6 kB / 0.5925 GB, free: 13.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5829, allocations: 0 / 0.5925 GB, free: 13.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002156/0.585, allocations: 0.7534 MB / 0.5933 GB, free: 12.58 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 () * 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.001439/0.5865, allocations: 0.7336 MB / 0.594 GB, free: 11.85 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002654/0.5891, allocations: 2.565 MB / 0.5965 GB, free: 8.941 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/0.5892, allocations: 4 kB / 0.5965 GB, free: 8.938 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003954/0.5896, allocations: 313.3 kB / 0.5968 GB, free: 8.629 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008627/0.5904, allocations: 181.5 kB / 0.597 GB, free: 8.449 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002475/0.5929, allocations: 1.877 MB / 0.5988 GB, free: 6.539 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006685/0.5936, allocations: 1.102 MB / 0.5999 GB, free: 5.406 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004174/0.594, allocations: 157.2 kB / 0.6 GB, free: 5.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.5942, allocations: 59.42 kB / 0.6001 GB, free: 5.191 MB / 410.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5942, allocations: 4 kB / 0.6001 GB, free: 5.188 MB / 410.7 MB Notification: Performance of Templates: time 0.02999/0.6242, allocations: 17.75 MB / 0.6174 GB, free: 3.465 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.FilterTests.Basic.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.FilterTests.Basic.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.FilterTests.Basic.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.FilterTests.Basic.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.FilterTests.Basic.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.FilterTests.Basic -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1)