Issue No. 02 - March/April (2009 vol. 35)
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/TSE.2008.75
Carsten Tepper , ITGAIN Consulting, Hanover
Peter Kemper , College of William and Mary, Williamsburg
In this paper, we describe a novel technique that helps a modeler gain insight into the dynamic behavior of a complex stochastic discrete event simulation model based on trace analysis. We propose algorithms to distinguish progressive from repetitive behavior in a trace and to extract a minimal progressive fragment of a trace. The implied combinatorial optimization problem for trace reduction is solved in linear time with dynamic programming. We present and compare several approximate and one exact solution method. Information on the reduction operation as well as the reduced trace itself helps a modeler to recognize the presence of certain errors and to identify their cause. We track down a subtle modeling error in a dependability model of a multi-class server system to illustrate the effectiveness of our approach in revealing the cause of an observed effect. The proposed technique has been implemented and integrated in Traviando, a trace analyzer to debug stochastic simulation models.
Testing and Debugging, Simulation, Trace analysis, Cycle reduction
Carsten Tepper, Peter Kemper, "Automated Trace Analysis of Discrete-Event System Models", IEEE Transactions on Software Engineering, vol. 35, no. , pp. 195-208, March/April 2009, doi:10.1109/TSE.2008.75