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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009104/0.0009099, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006465/0.006465, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.591/1.591, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3349/0.3349, allocations: 40.01 MB / 310.7 MB, free: 9.57 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006268/0.0006266, allocations: 16 kB / 379.4 MB, free: 11.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1186, allocations: 57.96 MB / 437.4 MB, free: 1.91 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.002882/0.1215, allocations: 2.29 MB / 439.7 MB, free: 15.6 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007333/0.1289, allocations: 4.738 MB / 444.4 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004206/0.1293, allocations: 19.75 kB / 444.5 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007864/0.1301, allocations: 302.7 kB / 444.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004391/0.1306, allocations: 83.28 kB / 444.8 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005462/0.1361, allocations: 2.212 MB / 447 MB, free: 8.246 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001325/0.1374, allocations: 1.103 MB / 448.1 MB, free: 7.141 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001997/0.1376, allocations: 73.73 kB / 448.2 MB, free: 7.062 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005907/0.1382, allocations: 398.4 kB / 448.6 MB, free: 6.672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000624/0.1388, allocations: 390.2 kB / 449 MB, free: 6.289 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001698/0.139, allocations: 28 kB / 449 MB, free: 6.262 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002464/0.1415, allocations: 1.725 MB / 450.7 MB, free: 4.535 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000359/0.1419, allocations: 279.2 kB / 451 MB, free: 4.262 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005485/0.1424, allocations: 399 kB / 451.4 MB, free: 3.863 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002663/0.1451, allocations: 2.205 MB / 453.6 MB, free: 1.652 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1451, allocations: 0 / 453.6 MB, free: 1.652 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1451, allocations: 4 kB / 453.6 MB, free: 1.648 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.078e-05/0.1452, allocations: 0 / 453.6 MB, free: 1.648 MB / 382.1 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.002815/0.148, allocations: 1.309 MB / 454.9 MB, free: 296 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.148, allocations: 11.98 kB / 454.9 MB, free: 284 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001771/0.1482, allocations: 107.6 kB / 455 MB, free: 176 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2183/0.3665, allocations: 0.5686 MB / 455.6 MB, free: 47.35 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.758e-05/0.3666, allocations: 44.7 kB / 455.7 MB, free: 47.35 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001608/0.3668, allocations: 67.56 kB / 455.7 MB, free: 47.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000919/0.3677, allocations: 0.6979 MB / 456.4 MB, free: 47.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.3677, allocations: 2.938 kB / 456.4 MB, free: 47.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.906e-05/0.3678, allocations: 16.78 kB / 456.4 MB, free: 47.1 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.3678, allocations: 8.344 kB / 456.4 MB, free: 47.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005102/0.3683, allocations: 382.3 kB / 456.8 MB, free: 47.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00219/0.3705, allocations: 1.363 MB / 458.2 MB, free: 46.76 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/0.3718, allocations: 0.8458 MB / 459 MB, free: 46.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003481/0.3721, allocations: 288.2 kB / 459.3 MB, free: 46.72 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.541e-05/0.3722, allocations: 9.156 kB / 459.3 MB, free: 46.72 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.3722, allocations: 44.38 kB / 459.4 MB, free: 46.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=53): time 2.294e-06/0.3722, allocations: 0 / 459.4 MB, free: 46.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.001364/0.3736, allocations: 0.9664 MB / 460.3 MB, free: 46.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001515/0.3738, allocations: 0.6698 MB / 461 MB, free: 45.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008233/0.3746, allocations: 0.8499 MB / 461.8 MB, free: 45.6 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.873e-05/0.3747, allocations: 49.52 kB / 461.9 MB, free: 45.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002595/0.3749, allocations: 365.7 kB / 462.2 MB, free: 45.45 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.3751, allocations: 208.8 kB / 462.5 MB, free: 45.31 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.3752, allocations: 154.6 kB / 462.6 MB, free: 45.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.3753, allocations: 422.3 kB / 463 MB, free: 44.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007074/0.3761, allocations: 0.5911 MB / 463.6 MB, free: 44.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008931/0.377, allocations: 0.8339 MB / 464.4 MB, free: 44.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/0.3782, allocations: 1.128 MB / 465.6 MB, free: 44.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.3782, allocations: 0 / 465.6 MB, free: 44.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00269/0.3809, allocations: 1.926 MB / 467.5 MB, free: 43.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.381, allocations: 6.656 kB / 467.5 MB, free: 43.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-05/0.381, allocations: 17.09 kB / 467.5 MB, free: 43.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001266/0.3823, allocations: 0.5058 MB / 468 MB, free: 43.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005004/0.3828, allocations: 141.3 kB / 468.2 MB, free: 43.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008971/0.3918, allocations: 16.9 MB / 485.1 MB, free: 27.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000632/0.3924, allocations: 130.1 kB / 485.2 MB, free: 27.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.338e-05/0.3925, allocations: 33.53 kB / 485.2 MB, free: 27.2 MB / 382.1 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 (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003555/0.3929, allocations: 286.5 kB / 485.5 MB, free: 27.01 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.393, allocations: 89.09 kB / 485.6 MB, free: 26.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001875/0.3932, allocations: 101.7 kB / 485.7 MB, free: 26.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3932, allocations: 3 kB / 485.7 MB, free: 26.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/0.3932, allocations: 0 / 485.7 MB, free: 26.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.3932, allocations: 12.14 kB / 485.7 MB, free: 26.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006156/0.3939, allocations: 0.6318 MB / 486.3 MB, free: 26.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.3939, allocations: 0 / 486.3 MB, free: 26.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000637/0.3945, allocations: 110.3 kB / 486.4 MB, free: 26.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3945, allocations: 0 / 486.4 MB, free: 26.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.338e-05/0.3946, allocations: 35.78 kB / 486.5 MB, free: 26.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.3946, allocations: 3.188 kB / 486.5 MB, free: 26.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3946, allocations: 3.188 kB / 486.5 MB, free: 26.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.3959, allocations: 1.155 MB / 487.6 MB, free: 26.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.388e-05/0.396, allocations: 154.5 kB / 487.8 MB, free: 25.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.445e-05/0.3961, allocations: 48.44 kB / 487.8 MB, free: 25.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003529/0.3965, allocations: 33.12 kB / 487.9 MB, free: 25.87 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.938e-05/0.3966, allocations: 30.8 kB / 487.9 MB, free: 25.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.913e-05/0.3966, allocations: 12.98 kB / 487.9 MB, free: 25.87 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005047/0.3971, allocations: 0.5372 MB / 488.5 MB, free: 25.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3971, allocations: 0 / 488.5 MB, free: 25.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002036/0.3992, allocations: 0.7575 MB / 489.2 MB, free: 25.61 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001472/0.4007, allocations: 0.696 MB / 489.9 MB, free: 25.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003076/0.4037, allocations: 2.991 MB / 492.9 MB, free: 23.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.4038, allocations: 2.844 kB / 492.9 MB, free: 23.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003956/0.4042, allocations: 335.3 kB / 493.2 MB, free: 23.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009886/0.4052, allocations: 207.9 kB / 493.4 MB, free: 23.17 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/0.4076, allocations: 2.624 MB / 496.1 MB, free: 21.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004463/0.408, allocations: 1.08 MB / 497.1 MB, free: 21.06 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000357/0.4084, allocations: 167.5 kB / 497.3 MB, free: 21.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001667/0.4086, allocations: 53.97 kB / 497.3 MB, free: 21.03 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4086, allocations: 0 / 497.3 MB, free: 21.03 MB / 382.1 MB Notification: Performance of Templates: time 0.03489/0.4435, allocations: 19.77 MB / 0.505 GB, free: 15.61 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.FilterTests.Basic.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: