PMDC Motor transfer function
I think the key to your problem is the equation \$\omega(s) = \frac{\partial\theta(s)}{\partial{t}}\$.  You need to re-write that in the Laplace domain:  \$\omega(s) = s\theta(s)\$.  Once you substitute that in for \$\omega(s)\$, the math works out.