$timeline = $modx->getService('timeline', 'Timeline',
$modx->getOption('core_path') . 'components/mycmp/model/mycmp',
$scriptProperties);This question has been answered by okyanet. See the first response.
$timeline = $modx->getService('timeline', 'Timeline',$modx->getOption('core_path') . 'components/mycmp/model/mycmp/',$scriptProperties);