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.001714/0.001715, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002099/0.002099, allocations: 193 kB / 16.25 MB, free: 6.621 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.654/1.654, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.3057/0.3057, allocations: 37.98 MB / 307.4 MB, free: 10.06 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.001578/0.001578, allocations: 75.02 kB / 374.7 MB, free: 15.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.123, allocations: 56.47 MB / 431.2 MB, free: 6.949 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.003701/0.1267, allocations: 2.652 MB / 433.9 MB, free: 4.277 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007647/0.1344, allocations: 4.479 MB / 438.3 MB, free: 15.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005039/0.135, allocations: 15.81 kB / 438.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008026/0.1358, allocations: 322.6 kB / 438.7 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003127/0.1361, allocations: 71.36 kB / 438.7 MB, free: 15.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006643/0.1428, allocations: 2.431 MB / 441.2 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002182/0.145, allocations: 1.181 MB / 442.3 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003301/0.1453, allocations: 81.73 kB / 442.4 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008039/0.1461, allocations: 438.5 kB / 442.9 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006082/0.1468, allocations: 418.2 kB / 443.3 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.1469, allocations: 56 kB / 443.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003019/0.1499, allocations: 1.772 MB / 445.1 MB, free: 9.016 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000318/0.1502, allocations: 307.1 kB / 445.4 MB, free: 8.715 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004023/0.1506, allocations: 397.4 kB / 445.8 MB, free: 8.324 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002803/0.1535, allocations: 2.252 MB / 448 MB, free: 6.066 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.1535, allocations: 0 / 448 MB, free: 6.066 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.1535, allocations: 0 / 448 MB, free: 6.066 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.1535, allocations: 0 / 448 MB, free: 6.066 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.002777/0.1563, allocations: 1.468 MB / 449.5 MB, free: 4.547 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.1564, allocations: 8.031 kB / 449.5 MB, free: 4.539 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.1565, allocations: 103.6 kB / 449.6 MB, free: 4.438 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000726/0.1573, allocations: 0.5783 MB / 450.2 MB, free: 3.805 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.207e-05/0.1573, allocations: 41.38 kB / 450.2 MB, free: 3.762 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.1574, allocations: 76.17 kB / 450.3 MB, free: 3.688 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009357/0.1584, allocations: 0.7006 MB / 451 MB, free: 2.906 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.1584, allocations: 3.984 kB / 451 MB, free: 2.902 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.185e-05/0.1585, allocations: 31.92 kB / 451 MB, free: 2.871 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.1585, allocations: 11.94 kB / 451 MB, free: 2.859 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005774/0.1591, allocations: 363.7 kB / 451.4 MB, free: 2.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002251/0.1613, allocations: 1.355 MB / 452.8 MB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/0.1626, allocations: 0.844 MB / 453.6 MB, free: 244 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2058/0.3684, allocations: 285.3 kB / 453.9 MB, free: 52.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.138e-05/0.3685, allocations: 3.719 kB / 453.9 MB, free: 52.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.3686, allocations: 46.3 kB / 453.9 MB, free: 52.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=53): time 2.454e-06/0.3686, allocations: 0 / 453.9 MB, free: 52.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.00159/0.3702, allocations: 0.9649 MB / 454.9 MB, free: 52.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/0.3703, allocations: 0.6707 MB / 455.6 MB, free: 51.65 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007168/0.371, allocations: 0.845 MB / 456.4 MB, free: 51.51 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.772e-05/0.3711, allocations: 47.48 kB / 456.5 MB, free: 51.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.3713, allocations: 354.9 kB / 456.8 MB, free: 51.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.3714, allocations: 220.6 kB / 457 MB, free: 51.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002514/0.3717, allocations: 259.3 kB / 457.3 MB, free: 51.28 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.966e-05/0.3718, allocations: 415 kB / 457.7 MB, free: 50.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006526/0.3724, allocations: 0.5881 MB / 458.3 MB, free: 50.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007213/0.3732, allocations: 0.826 MB / 459.1 MB, free: 50.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.3743, allocations: 1.133 MB / 460.2 MB, free: 49.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.3743, allocations: 0 / 460.2 MB, free: 49.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002362/0.3766, allocations: 1.913 MB / 462.1 MB, free: 49.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.3767, allocations: 6.719 kB / 462.1 MB, free: 49.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.076e-05/0.3767, allocations: 27.22 kB / 462.2 MB, free: 49.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001181/0.3779, allocations: 0.5005 MB / 462.7 MB, free: 49.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005128/0.3784, allocations: 136.5 kB / 462.8 MB, free: 49.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009701/0.3881, allocations: 18.21 MB / 481 MB, free: 31.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007946/0.389, allocations: 132.4 kB / 481.1 MB, free: 31.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-05/0.3891, allocations: 26.3 kB / 481.2 MB, free: 31.79 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.0005179/0.3896, allocations: 286 kB / 481.4 MB, free: 31.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.3898, allocations: 86 kB / 481.5 MB, free: 31.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001664/0.3899, allocations: 108.4 kB / 481.6 MB, free: 31.49 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.3899, allocations: 6.844 kB / 481.6 MB, free: 31.49 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.3899, allocations: 0 / 481.6 MB, free: 31.49 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.39, allocations: 6.234 kB / 481.6 MB, free: 31.49 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006121/0.3906, allocations: 0.6326 MB / 482.3 MB, free: 31.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.3906, allocations: 0 / 482.3 MB, free: 31.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006817/0.3913, allocations: 105.4 kB / 482.4 MB, free: 31.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.3913, allocations: 3 kB / 482.4 MB, free: 31.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.629e-05/0.3914, allocations: 31.33 kB / 482.4 MB, free: 31.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.3914, allocations: 8.984 kB / 482.4 MB, free: 31.13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3914, allocations: 0 / 482.4 MB, free: 31.13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.3926, allocations: 1.166 MB / 483.6 MB, free: 30.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.937e-05/0.3927, allocations: 163.5 kB / 483.8 MB, free: 30.49 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.981e-05/0.3928, allocations: 31.5 kB / 483.8 MB, free: 30.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003269/0.3932, allocations: 34.64 kB / 483.8 MB, free: 30.47 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.392e-05/0.3933, allocations: 30.05 kB / 483.8 MB, free: 30.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.3933, allocations: 20.67 kB / 483.9 MB, free: 30.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005416/0.3939, allocations: 0.5414 MB / 484.4 MB, free: 30.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3939, allocations: 0 / 484.4 MB, free: 30.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002306/0.3962, allocations: 0.765 MB / 485.2 MB, free: 30.19 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.00134/0.3975, allocations: 0.6834 MB / 485.9 MB, free: 30.08 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003737/0.4013, allocations: 3.155 MB / 489 MB, free: 27.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/0.4013, allocations: 3.25 kB / 489 MB, free: 27.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004418/0.4018, allocations: 326.5 kB / 489.3 MB, free: 27.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.4029, allocations: 223.9 kB / 489.6 MB, free: 27.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003529/0.4064, allocations: 2.521 MB / 492.1 MB, free: 26.42 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000644/0.4071, allocations: 1.08 MB / 493.2 MB, free: 25.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005694/0.4077, allocations: 163.7 kB / 493.3 MB, free: 25.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001697/0.4079, allocations: 51.41 kB / 493.4 MB, free: 25.65 MB / 382.1 MB Notification: Performance of SimCode: time 9.61e-07/0.4079, allocations: 3.125 kB / 493.4 MB, free: 25.65 MB / 382.1 MB Notification: Performance of Templates: time 0.03547/0.4434, allocations: 20.41 MB / 0.5017 GB, free: 20.99 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)