function create_euclidean_distance_automaton_2(m::ContinuousTimeModel,timeline::AbstractVector{Float64},observations::AbstractVector{Float64},sym_obs::VariableModel)
# Requirements for the automaton
@assertsym_obsinm.g"$(sym_obs) is not observed."
@assertlength(timeline)==length(observations)"Timeline and observations vectors don't have the same length"