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.0014/0.0014, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00213/0.00213, allocations: 193 kB / 16.13 MB, free: 6.652 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.775/1.775, allocations: 205.1 MB / 222 MB, free: 4.75 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.3687/0.3687, allocations: 39.93 MB / 309.3 MB, free: 9.324 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.001363/0.001363, allocations: 69.92 kB / 376.9 MB, free: 13.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1622, allocations: 56.89 MB / 433.8 MB, free: 4.133 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.004285/0.1666, allocations: 2.66 MB / 436.5 MB, free: 1.449 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007599/0.1742, allocations: 4.804 MB / 441.3 MB, free: 12.63 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004201/0.1747, allocations: 15.81 kB / 441.3 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007233/0.1755, allocations: 306.6 kB / 441.6 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002089/0.1757, allocations: 75.34 kB / 441.7 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005261/0.181, allocations: 2.215 MB / 443.9 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0012/0.1822, allocations: 1.111 MB / 445 MB, free: 8.918 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002/0.1824, allocations: 73.73 kB / 445.1 MB, free: 8.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004816/0.1829, allocations: 402.4 kB / 445.4 MB, free: 8.445 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004802/0.1834, allocations: 390.2 kB / 445.8 MB, free: 8.062 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.821e-05/0.1835, allocations: 32 kB / 445.9 MB, free: 8.031 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002956/0.1864, allocations: 1.729 MB / 447.6 MB, free: 6.301 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003527/0.1868, allocations: 279.1 kB / 447.9 MB, free: 6.027 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003896/0.1872, allocations: 373.3 kB / 448.2 MB, free: 5.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002497/0.1897, allocations: 2.229 MB / 450.5 MB, free: 3.426 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.1897, allocations: 0 / 450.5 MB, free: 3.426 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1897, allocations: 4 kB / 450.5 MB, free: 3.422 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.1897, allocations: 0 / 450.5 MB, free: 3.422 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.002843/0.1926, allocations: 1.46 MB / 451.9 MB, free: 1.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.1926, allocations: 15.98 kB / 451.9 MB, free: 1.895 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001933/0.1928, allocations: 107.6 kB / 452 MB, free: 1.789 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008387/0.1937, allocations: 0.5783 MB / 452.6 MB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.684e-05/0.1937, allocations: 45.11 kB / 452.7 MB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.1939, allocations: 71.83 kB / 452.7 MB, free: 1.039 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.1951, allocations: 0.7007 MB / 453.4 MB, free: 260 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.1951, allocations: 0 / 453.4 MB, free: 260 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.746e-05/0.1952, allocations: 20 kB / 453.5 MB, free: 240 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.1952, allocations: 11.94 kB / 453.5 MB, free: 228 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2946/0.4898, allocations: 365.4 kB / 453.8 MB, free: 50.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002566/0.4924, allocations: 1.351 MB / 455.2 MB, free: 50.44 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/0.4937, allocations: 0.8432 MB / 456 MB, free: 50.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003397/0.494, allocations: 290 kB / 456.3 MB, free: 50.4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.523e-05/0.4941, allocations: 6.094 kB / 456.3 MB, free: 50.4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.4941, allocations: 42.72 kB / 456.3 MB, free: 50.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=53): time 2.826e-06/0.4941, allocations: 0 / 456.3 MB, free: 50.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.001401/0.4955, allocations: 0.9623 MB / 457.3 MB, free: 50.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000168/0.4957, allocations: 0.6719 MB / 458 MB, free: 49.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000749/0.4964, allocations: 0.8494 MB / 458.8 MB, free: 49.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.629e-05/0.4965, allocations: 51.36 kB / 458.9 MB, free: 48.99 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/0.4967, allocations: 354.1 kB / 459.2 MB, free: 48.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.4968, allocations: 214.1 kB / 459.4 MB, free: 48.58 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002751/0.4971, allocations: 258.8 kB / 459.7 MB, free: 48.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.4973, allocations: 415.4 kB / 460.1 MB, free: 48.13 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006789/0.4979, allocations: 0.5913 MB / 460.7 MB, free: 47.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007849/0.4987, allocations: 0.8314 MB / 461.5 MB, free: 47.53 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.4999, allocations: 1.122 MB / 462.6 MB, free: 47.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.4999, allocations: 3.219 kB / 462.6 MB, free: 47.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002383/0.5023, allocations: 1.924 MB / 464.6 MB, free: 46.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.5023, allocations: 10.66 kB / 464.6 MB, free: 46.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.185e-05/0.5024, allocations: 13.19 kB / 464.6 MB, free: 46.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001227/0.5036, allocations: 0.4985 MB / 465.1 MB, free: 46.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005007/0.5041, allocations: 140.2 kB / 465.2 MB, free: 46.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008893/0.513, allocations: 16.9 MB / 482.1 MB, free: 30.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007111/0.5138, allocations: 135.8 kB / 482.3 MB, free: 30.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-05/0.5139, allocations: 29.09 kB / 482.3 MB, free: 30.15 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.0005095/0.5144, allocations: 286.7 kB / 482.6 MB, free: 29.97 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/0.5145, allocations: 84.28 kB / 482.6 MB, free: 29.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001585/0.5147, allocations: 102.7 kB / 482.7 MB, free: 29.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.5147, allocations: 6.344 kB / 482.8 MB, free: 29.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.5147, allocations: 0 / 482.8 MB, free: 29.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.5147, allocations: 7.422 kB / 482.8 MB, free: 29.85 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007354/0.5155, allocations: 0.6392 MB / 483.4 MB, free: 29.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.5155, allocations: 2.344 kB / 483.4 MB, free: 29.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006685/0.5162, allocations: 107 kB / 483.5 MB, free: 29.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.5162, allocations: 3.062 kB / 483.5 MB, free: 29.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.184e-05/0.5162, allocations: 30.45 kB / 483.5 MB, free: 29.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.5162, allocations: 0 / 483.5 MB, free: 29.49 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5163, allocations: 0 / 483.5 MB, free: 29.49 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.5176, allocations: 1.157 MB / 484.7 MB, free: 29.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.804e-05/0.5177, allocations: 156.6 kB / 484.9 MB, free: 28.87 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.5178, allocations: 37.16 kB / 484.9 MB, free: 28.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000308/0.5181, allocations: 26.98 kB / 484.9 MB, free: 28.85 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.109e-05/0.5182, allocations: 37.55 kB / 484.9 MB, free: 28.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.937e-05/0.5183, allocations: 13.22 kB / 485 MB, free: 28.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005658/0.5188, allocations: 0.5406 MB / 485.5 MB, free: 28.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5189, allocations: 3.094 kB / 485.5 MB, free: 28.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002535/0.5214, allocations: 0.7615 MB / 486.3 MB, free: 28.58 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.001587/0.523, allocations: 0.6945 MB / 487 MB, free: 28.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00447/0.5275, allocations: 2.989 MB / 490 MB, free: 26.31 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-05/0.5275, allocations: 7.094 kB / 490 MB, free: 26.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005065/0.528, allocations: 329.5 kB / 490.3 MB, free: 26.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.5292, allocations: 210.1 kB / 490.5 MB, free: 26.17 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003262/0.5325, allocations: 2.517 MB / 493 MB, free: 24.81 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005071/0.533, allocations: 1.08 MB / 494.1 MB, free: 24.08 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000426/0.5334, allocations: 173.4 kB / 494.3 MB, free: 24.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.5336, allocations: 52.25 kB / 494.3 MB, free: 24.05 MB / 382.1 MB Notification: Performance of SimCode: time 2.063e-06/0.5336, allocations: 0 / 494.3 MB, free: 24.05 MB / 382.1 MB Notification: Performance of Templates: time 0.04658/0.5802, allocations: 19.97 MB / 0.5022 GB, free: 18.93 MB / 382.1 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)