The result was only the operator M. For an example where both M and r are obtained, consider:
Regarding the meaning of the second element in the output of integrate_sols, consider the following second order ODE and its solution.
The ODE satisfied by the integral of sol is given by the first element of the output of integrate_sols while the formula for computing its solution (as a function of sol) is given by the second element.
So the solution to ode2 is obtained by substituting sol into integral_of_sol.
That sol2 is the integral of sol can also be verified as follows: Differentiate sol2 and verify that it is equal to sol.