To have an animation longer than 30s stop at 30s, you can set animationEnd on TrackEntry, or you can just queue the next animation to start after 30s.
You can queue a second animation (using AnimationState addAnimation) and set animationStart and animationEnd on the TrackEntry to control the part that loops.