diff --git a/tests/identification/kim/kim2.mod b/tests/identification/kim/kim2.mod
index 172a8fa3f15fae747df5cc458cdf641af8d12dc0..a7992a35813883aa2d81ed68bc72360c209c61f2 100644
--- a/tests/identification/kim/kim2.mod
+++ b/tests/identification/kim/kim2.mod
@@ -60,6 +60,11 @@ dumpy ,uniform_pdf, , ,0,10;
 end;
 
 varobs c i;
+
+/* Skip test under MATLAB R2009b
+   MATLAB crashes, most likely due to an internal bug */
+if isoctave || ~matlab_ver_less_than('7.10')
+
 identification(advanced=1,max_dim_cova_group=3);
 //varobs c i lam; //to check if observing lam identifies phi and theta
 //identification(ar=1,advanced=1,max_dim_cova_group=3,prior_mc=250);
@@ -68,3 +73,5 @@ identification(advanced=1,max_dim_cova_group=3);
 
 estim_params_=[]; 
 identification(advanced=1,max_dim_cova_group=3);
+
+end