Organic macromolecular compounds containing oxygen as ingredients in lubricant compositions used as base material