Thesis and work are widely used terms. I would use thesis to refer to the text itself, and work to refer to the actual work that has been done, prior to the writing, which is reported in the thesis; e.g. the experiments, implementation, process, etc.
Text would also be correct but I have not encountered it very often in the context of science and engineering.
I have also seen the term book used for this purpose. Usually this is within theses of which many copies are printed as books and circulated.
I would argue that paper is not a correct term to refer to a thesis.