You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
First the getRelativeTranslation() = matrix seems to have no effect, with or without parent.
Second the engine seems to translate first and then it rotatest shouldn't it be the other way round?