Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.Blocks.FilterTests.Basic") translateModel(ModelicaTest.Blocks.FilterTests.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001395/0.001395, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0012/0.0012, allocations: 197.7 kB / 16.14 MB, free: 6.711 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.612/1.612, 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.1+maint.om/package.mo): time 0.3413/0.3413, allocations: 37.97 MB / 307.3 MB, free: 10.02 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.1. 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.001433/0.001433, allocations: 64.56 kB / 374.5 MB, free: 15.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1526, allocations: 56.47 MB / 431 MB, free: 7.055 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.004045/0.1567, allocations: 2.664 MB / 433.7 MB, free: 4.371 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007976/0.1647, allocations: 4.792 MB / 438.5 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003689/0.1651, allocations: 19.81 kB / 438.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007185/0.1659, allocations: 310.6 kB / 438.8 MB, free: 15.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002008/0.1661, allocations: 71.36 kB / 438.9 MB, free: 15.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006936/0.1731, allocations: 2.225 MB / 441.1 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001435/0.1745, allocations: 1.095 MB / 442.2 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002228/0.1747, allocations: 77.73 kB / 442.3 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003905/0.1751, allocations: 402.4 kB / 442.6 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004779/0.1756, allocations: 394.2 kB / 443 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001147/0.1757, allocations: 32 kB / 443.1 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002846/0.1786, allocations: 1.725 MB / 444.8 MB, free: 9.227 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003072/0.1789, allocations: 283.1 kB / 445.1 MB, free: 8.949 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003561/0.1793, allocations: 373.3 kB / 445.4 MB, free: 8.582 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0024/0.1817, allocations: 2.229 MB / 447.7 MB, free: 6.348 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1817, allocations: 0 / 447.7 MB, free: 6.348 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1817, allocations: 0 / 447.7 MB, free: 6.348 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.1817, allocations: 0 / 447.7 MB, free: 6.348 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.003241/0.185, allocations: 1.468 MB / 449.1 MB, free: 4.828 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/0.185, allocations: 11.97 kB / 449.1 MB, free: 4.816 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002213/0.1853, allocations: 103.6 kB / 449.2 MB, free: 4.715 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000887/0.1862, allocations: 0.5744 MB / 449.8 MB, free: 4.086 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.202e-05/0.1862, allocations: 41.38 kB / 449.9 MB, free: 4.043 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/0.1864, allocations: 72.19 kB / 449.9 MB, free: 3.973 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.1876, allocations: 0.7045 MB / 450.6 MB, free: 3.188 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.1876, allocations: 3.938 kB / 450.6 MB, free: 3.184 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.292e-05/0.1877, allocations: 20 kB / 450.7 MB, free: 3.164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.1877, allocations: 8 kB / 450.7 MB, free: 3.156 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006397/0.1883, allocations: 371.7 kB / 451 MB, free: 2.789 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002552/0.1909, allocations: 1.347 MB / 452.4 MB, free: 1.387 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/0.1926, allocations: 0.8472 MB / 453.2 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006432/0.1932, allocations: 290 kB / 453.5 MB, free: 256 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.807e-05/0.1933, allocations: 4.438 kB / 453.5 MB, free: 252 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.285e-05/0.1933, allocations: 47.19 kB / 453.6 MB, free: 196 kB / 382.1 MB Notification: Performance of pre-optimization done (n=53): time 1.653e-06/0.1933, allocations: 0 / 453.6 MB, free: 196 kB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.297/0.4903, allocations: 0.9639 MB / 454.5 MB, free: 52.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002095/0.4906, allocations: 0.6691 MB / 455.2 MB, free: 51.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009093/0.4915, allocations: 0.8406 MB / 456 MB, free: 51.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.46e-05/0.4916, allocations: 50.89 kB / 456.1 MB, free: 51.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002286/0.4918, allocations: 363.2 kB / 456.4 MB, free: 51.31 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.492, allocations: 213 kB / 456.6 MB, free: 51.22 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002855/0.4922, allocations: 257.5 kB / 456.9 MB, free: 51.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.4924, allocations: 418.1 kB / 457.3 MB, free: 50.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007093/0.4931, allocations: 0.5877 MB / 457.9 MB, free: 50.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008896/0.494, allocations: 0.835 MB / 458.7 MB, free: 50.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001251/0.4953, allocations: 1.121 MB / 459.8 MB, free: 49.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.4953, allocations: 0 / 459.8 MB, free: 49.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002706/0.498, allocations: 1.926 MB / 461.8 MB, free: 49.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.4981, allocations: 6.656 kB / 461.8 MB, free: 49.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.636e-05/0.4981, allocations: 13.14 kB / 461.8 MB, free: 49.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001308/0.4994, allocations: 0.4965 MB / 462.3 MB, free: 49.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005237/0.5, allocations: 138 kB / 462.4 MB, free: 49.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009214/0.5092, allocations: 16.91 MB / 479.3 MB, free: 33.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006241/0.5098, allocations: 135.4 kB / 479.5 MB, free: 33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.684e-05/0.5099, allocations: 34.28 kB / 479.5 MB, free: 32.99 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.0003699/0.5103, allocations: 283 kB / 479.8 MB, free: 32.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.5104, allocations: 87.28 kB / 479.9 MB, free: 32.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001496/0.5106, allocations: 102.4 kB / 480 MB, free: 32.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.5106, allocations: 10.41 kB / 480 MB, free: 32.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.5106, allocations: 0 / 480 MB, free: 32.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.5106, allocations: 5.344 kB / 480 MB, free: 32.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005934/0.5112, allocations: 0.6315 MB / 480.6 MB, free: 32.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.5112, allocations: 3 kB / 480.6 MB, free: 32.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006433/0.5119, allocations: 107.4 kB / 480.7 MB, free: 32.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.5119, allocations: 3.25 kB / 480.7 MB, free: 32.35 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.699e-05/0.5119, allocations: 31.05 kB / 480.7 MB, free: 32.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-06/0.512, allocations: 6.875 kB / 480.8 MB, free: 32.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.512, allocations: 1.188 kB / 480.8 MB, free: 32.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/0.5133, allocations: 1.15 MB / 481.9 MB, free: 31.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.415e-05/0.5134, allocations: 161.1 kB / 482.1 MB, free: 31.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.5135, allocations: 34.27 kB / 482.1 MB, free: 31.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003131/0.5138, allocations: 38.36 kB / 482.1 MB, free: 31.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.5139, allocations: 31.77 kB / 482.2 MB, free: 31.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-05/0.514, allocations: 15.69 kB / 482.2 MB, free: 31.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005504/0.5145, allocations: 0.5408 MB / 482.7 MB, free: 31.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.804e-06/0.5145, allocations: 0 / 482.7 MB, free: 31.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002558/0.5171, allocations: 0.7538 MB / 483.5 MB, free: 31.41 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.001365/0.5185, allocations: 0.6884 MB / 484.2 MB, free: 31.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003246/0.5217, allocations: 2.989 MB / 487.2 MB, free: 29.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.5218, allocations: 0 / 487.2 MB, free: 29.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004099/0.5222, allocations: 329.8 kB / 487.5 MB, free: 29.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009487/0.5231, allocations: 211.6 kB / 487.7 MB, free: 29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002835/0.526, allocations: 2.523 MB / 490.2 MB, free: 27.65 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004979/0.5265, allocations: 1.086 MB / 491.3 MB, free: 26.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004365/0.5269, allocations: 160.9 kB / 491.4 MB, free: 26.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.5271, allocations: 52.94 kB / 491.5 MB, free: 26.89 MB / 382.1 MB Notification: Performance of SimCode: time 7.22e-07/0.5271, allocations: 4 kB / 491.5 MB, free: 26.89 MB / 382.1 MB Notification: Performance of Templates: time 0.04078/0.5679, allocations: 19.97 MB / 0.4995 GB, free: 22.6 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.FilterTests.Basic.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.FilterTests.Basic.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.FilterTests.Basic.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.FilterTests.Basic.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.FilterTests.Basic.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.FilterTests.Basic -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1)