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.001369/0.001369, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 193.2 kB / 16.53 MB, free: 6.664 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.582/1.582, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.3297/0.3297, allocations: 37.99 MB / 307.7 MB, free: 9.98 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.001621/0.001621, allocations: 64.64 kB / 375.2 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1462, allocations: 56.46 MB / 431.7 MB, free: 6.633 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.004581/0.1508, allocations: 2.629 MB / 434.3 MB, free: 3.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007878/0.1587, allocations: 4.42 MB / 438.7 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003965/0.1591, allocations: 19.81 kB / 438.8 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008559/0.1601, allocations: 354.3 kB / 439.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003024/0.1604, allocations: 83.16 kB / 439.2 MB, free: 15.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006447/0.1668, allocations: 2.627 MB / 441.8 MB, free: 12.47 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001534/0.1684, allocations: 1.178 MB / 443 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002433/0.1686, allocations: 73.73 kB / 443.1 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007186/0.1694, allocations: 438.7 kB / 443.5 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007437/0.1701, allocations: 402.2 kB / 443.9 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002743/0.1704, allocations: 60 kB / 444 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003198/0.1736, allocations: 1.772 MB / 445.7 MB, free: 8.559 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004368/0.1741, allocations: 307.1 kB / 446 MB, free: 8.258 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005955/0.1747, allocations: 389.5 kB / 446.4 MB, free: 7.875 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002905/0.1776, allocations: 2.279 MB / 448.7 MB, free: 5.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1776, allocations: 0 / 448.7 MB, free: 5.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1776, allocations: 0 / 448.7 MB, free: 5.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.744e-05/0.1776, allocations: 0 / 448.7 MB, free: 5.59 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.003598/0.1813, allocations: 1.46 MB / 450.1 MB, free: 4.078 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.1813, allocations: 11.97 kB / 450.2 MB, free: 4.066 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002889/0.1816, allocations: 111.6 kB / 450.3 MB, free: 3.957 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009198/0.1825, allocations: 0.5783 MB / 450.8 MB, free: 3.324 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.016e-05/0.1826, allocations: 37.38 kB / 450.9 MB, free: 3.285 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00017/0.1828, allocations: 72.19 kB / 450.9 MB, free: 3.215 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.1838, allocations: 0.6967 MB / 451.6 MB, free: 2.434 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.1839, allocations: 4 kB / 451.7 MB, free: 2.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.269e-05/0.1839, allocations: 20 kB / 451.7 MB, free: 2.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.1839, allocations: 8 kB / 451.7 MB, free: 2.402 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000644/0.1846, allocations: 371.7 kB / 452 MB, free: 2.039 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002734/0.1873, allocations: 1.355 MB / 453.4 MB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2511/0.4385, allocations: 0.8428 MB / 454.2 MB, free: 52.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004947/0.439, allocations: 286.3 kB / 454.5 MB, free: 52.26 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.818e-05/0.4391, allocations: 6.438 kB / 454.5 MB, free: 52.26 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.306e-05/0.4391, allocations: 50.08 kB / 454.6 MB, free: 52.22 MB / 382.1 MB Notification: Performance of pre-optimization done (n=53): time 2.755e-06/0.4391, allocations: 0 / 454.6 MB, free: 52.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.001618/0.4407, allocations: 0.9655 MB / 455.5 MB, free: 52.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002043/0.441, allocations: 0.6685 MB / 456.2 MB, free: 51.37 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/0.4423, allocations: 0.845 MB / 457.1 MB, free: 51.22 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001514/0.4425, allocations: 46.08 kB / 457.1 MB, free: 51.19 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003626/0.4428, allocations: 361.2 kB / 457.5 MB, free: 51.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002113/0.443, allocations: 214.5 kB / 457.7 MB, free: 50.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003831/0.4434, allocations: 259 kB / 457.9 MB, free: 50.87 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000217/0.4437, allocations: 415.7 kB / 458.3 MB, free: 50.51 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009564/0.4446, allocations: 0.5923 MB / 458.9 MB, free: 50.33 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008812/0.4455, allocations: 0.8286 MB / 459.7 MB, free: 49.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001339/0.4469, allocations: 1.124 MB / 460.9 MB, free: 49.49 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.4469, allocations: 0 / 460.9 MB, free: 49.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002751/0.4497, allocations: 1.921 MB / 462.8 MB, free: 48.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.4497, allocations: 10.19 kB / 462.8 MB, free: 48.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.682e-05/0.4497, allocations: 16.45 kB / 462.8 MB, free: 48.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001281/0.451, allocations: 0.5032 MB / 463.3 MB, free: 48.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005303/0.4516, allocations: 137.2 kB / 463.4 MB, free: 48.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009934/0.4615, allocations: 18.21 MB / 481.7 MB, free: 31.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008269/0.4624, allocations: 130.1 kB / 481.8 MB, free: 31.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.547e-05/0.4625, allocations: 32.44 kB / 481.8 MB, free: 31.34 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.00055/0.463, allocations: 288.2 kB / 482.1 MB, free: 31.17 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/0.4632, allocations: 91.09 kB / 482.2 MB, free: 31.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001776/0.4634, allocations: 102.6 kB / 482.3 MB, free: 31.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.4634, allocations: 12.42 kB / 482.3 MB, free: 31.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.408e-05/0.4634, allocations: 0 / 482.3 MB, free: 31.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.585e-06/0.4634, allocations: 0 / 482.3 MB, free: 31.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007399/0.4642, allocations: 0.6294 MB / 482.9 MB, free: 30.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.4642, allocations: 0 / 482.9 MB, free: 30.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006428/0.4648, allocations: 109.9 kB / 483 MB, free: 30.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.4649, allocations: 7.094 kB / 483 MB, free: 30.69 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.477e-05/0.4649, allocations: 27.05 kB / 483.1 MB, free: 30.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.4649, allocations: 2.969 kB / 483.1 MB, free: 30.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4649, allocations: 0 / 483.1 MB, free: 30.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00131/0.4662, allocations: 1.162 MB / 484.2 MB, free: 30.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.266e-05/0.4664, allocations: 163 kB / 484.4 MB, free: 30.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.686e-05/0.4665, allocations: 30.62 kB / 484.4 MB, free: 30.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003311/0.4668, allocations: 30.64 kB / 484.4 MB, free: 30.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.981e-05/0.4669, allocations: 34.27 kB / 484.5 MB, free: 30.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-05/0.4669, allocations: 16.83 kB / 484.5 MB, free: 30.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005131/0.4674, allocations: 0.5412 MB / 485 MB, free: 29.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4675, allocations: 7.938 kB / 485 MB, free: 29.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00208/0.4695, allocations: 0.7537 MB / 485.8 MB, free: 29.75 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.001244/0.4708, allocations: 0.6892 MB / 486.5 MB, free: 29.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004176/0.475, allocations: 3.161 MB / 489.7 MB, free: 27.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.191e-05/0.4751, allocations: 3.188 kB / 489.7 MB, free: 27.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006659/0.4757, allocations: 327.4 kB / 490 MB, free: 27.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001375/0.4771, allocations: 241.3 kB / 490.2 MB, free: 27.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003548/0.4807, allocations: 2.268 MB / 492.5 MB, free: 26.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005428/0.4812, allocations: 1.086 MB / 493.6 MB, free: 25.47 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004769/0.4817, allocations: 162.7 kB / 493.7 MB, free: 25.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.4819, allocations: 54.12 kB / 493.8 MB, free: 25.44 MB / 382.1 MB Notification: Performance of SimCode: time 1.153e-06/0.4819, allocations: 0 / 493.8 MB, free: 25.44 MB / 382.1 MB Notification: Performance of Templates: time 0.04138/0.5233, allocations: 20.37 MB / 0.5021 GB, free: 20.82 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)