Sometimes, the output of the ipython cells can be very large (up to 20000 lines). We should truncate the cell's outputs to about 100 lines.