Browse Source

added after(0) test

Simon Van Mierlo 9 years ago
parent
commit
780912eafe
77 changed files with 602 additions and 74 deletions
  1. 78 0
      test/src/original_semantics/after_0.xml
  2. 1 1
      test/target_js/big_step_maximality/00_take_one.js
  3. 1 1
      test/target_js/big_step_maximality/01_take_many.js
  4. 1 1
      test/target_js/big_step_maximality/10_orthogonal_take_one.js
  5. 1 1
      test/target_js/big_step_maximality/11_orthogonal_take_many.js
  6. 1 1
      test/target_js/event_lifeline/00_take_one_next_small_step.js
  7. 1 1
      test/target_js/event_lifeline/02_take_one_queue.js
  8. 1 1
      test/target_js/event_lifeline/10_take_many_next_small_step.js
  9. 1 1
      test/target_js/event_lifeline/11_take_many_next_combo_step.js
  10. 1 1
      test/target_js/event_lifeline/12_take_many_queue.js
  11. 1 1
      test/target_js/event_lifeline/20_orthogonal_take_one_next_small_step.js
  12. 1 1
      test/target_js/event_lifeline/21_orthogonal_take_one_queue.js
  13. 1 1
      test/target_js/event_lifeline/30_orthogonal_take_many_next_small_step.js
  14. 1 1
      test/target_js/event_lifeline/31_orthogonal_take_many_next_combo_step.js
  15. 1 1
      test/target_js/event_lifeline/32_orthogonal_take_many_queue.js
  16. 1 1
      test/target_js/no_statechart/00_no_statechart_js.js
  17. 1 1
      test/target_js/original_semantics/after.js
  18. 258 0
      test/target_js/original_semantics/after_0.js
  19. 1 1
      test/target_js/original_semantics/associate_event.js
  20. 1 1
      test/target_js/original_semantics/correct_duplicate_state_id.js
  21. 1 1
      test/target_js/original_semantics/enter_exit_hierarchy.js
  22. 1 1
      test/target_js/original_semantics/guard.js
  23. 1 1
      test/target_js/original_semantics/history.js
  24. 1 1
      test/target_js/original_semantics/history_deep.js
  25. 1 1
      test/target_js/original_semantics/history_parallel_deep.js
  26. 1 1
      test/target_js/original_semantics/inner_first.js
  27. 1 1
      test/target_js/original_semantics/instate.js
  28. 1 1
      test/target_js/original_semantics/multiple_target.js
  29. 1 1
      test/target_js/original_semantics/object_manager.js
  30. 1 1
      test/target_js/original_semantics/outer_first.js
  31. 1 1
      test/target_js/original_semantics/parallel.js
  32. 1 1
      test/target_js/original_semantics/parallel_history.js
  33. 1 1
      test/target_js/original_semantics/parallel_history_2.js
  34. 1 1
      test/target_js/original_semantics/parallel_history_3.js
  35. 1 1
      test/target_js/priority/00_source_parent.js
  36. 1 1
      test/target_js/priority/01_source_child.js
  37. 1 1
      test/target_js/priority/10_source_parent_history.js
  38. 1 1
      test/target_js/priority/11_source_child_history.js
  39. 1 1
      test/target_js/timing/00_rapid_js.js
  40. 1 1
      test/target_py/big_step_maximality/00_take_one.py
  41. 1 1
      test/target_py/big_step_maximality/01_take_many.py
  42. 1 1
      test/target_py/big_step_maximality/10_orthogonal_take_one.py
  43. 1 1
      test/target_py/big_step_maximality/11_orthogonal_take_many.py
  44. 1 1
      test/target_py/event_lifeline/00_take_one_next_small_step.py
  45. 1 1
      test/target_py/event_lifeline/02_take_one_queue.py
  46. 1 1
      test/target_py/event_lifeline/10_take_many_next_small_step.py
  47. 1 1
      test/target_py/event_lifeline/11_take_many_next_combo_step.py
  48. 1 1
      test/target_py/event_lifeline/12_take_many_queue.py
  49. 1 1
      test/target_py/event_lifeline/20_orthogonal_take_one_next_small_step.py
  50. 1 1
      test/target_py/event_lifeline/21_orthogonal_take_one_queue.py
  51. 1 1
      test/target_py/event_lifeline/30_orthogonal_take_many_next_small_step.py
  52. 1 1
      test/target_py/event_lifeline/31_orthogonal_take_many_next_combo_step.py
  53. 1 1
      test/target_py/event_lifeline/32_orthogonal_take_many_queue.py
  54. 1 1
      test/target_py/no_statechart/00_no_statechart_py.py
  55. 1 1
      test/target_py/original_semantics/after.py
  56. 192 0
      test/target_py/original_semantics/after_0.py
  57. 1 1
      test/target_py/original_semantics/associate_event.py
  58. 1 1
      test/target_py/original_semantics/correct_duplicate_state_id.py
  59. 1 1
      test/target_py/original_semantics/enter_exit_hierarchy.py
  60. 1 1
      test/target_py/original_semantics/guard.py
  61. 1 1
      test/target_py/original_semantics/history.py
  62. 1 1
      test/target_py/original_semantics/history_deep.py
  63. 1 1
      test/target_py/original_semantics/history_parallel_deep.py
  64. 1 1
      test/target_py/original_semantics/inner_first.py
  65. 1 1
      test/target_py/original_semantics/instate.py
  66. 1 1
      test/target_py/original_semantics/multiple_target.py
  67. 1 1
      test/target_py/original_semantics/object_manager.py
  68. 1 1
      test/target_py/original_semantics/outer_first.py
  69. 1 1
      test/target_py/original_semantics/parallel.py
  70. 1 1
      test/target_py/original_semantics/parallel_history.py
  71. 1 1
      test/target_py/original_semantics/parallel_history_2.py
  72. 1 1
      test/target_py/original_semantics/parallel_history_3.py
  73. 1 1
      test/target_py/priority/00_source_parent.py
  74. 1 1
      test/target_py/priority/01_source_child.py
  75. 1 1
      test/target_py/priority/10_source_parent_history.py
  76. 1 1
      test/target_py/priority/11_source_child_history.py
  77. 1 1
      test/target_py/timing/00_rapid_py.py

+ 78 - 0
test/src/original_semantics/after_0.xml

@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<diagram author="Yentl Van Tendeloo" name="after_0">
+    <description>
+        Used for testing the AFTER(0) event---which should not block the deletion of the B instance.
+    </description>
+    
+    <outport name="test_output" />
+
+    <class name="A" default="true">
+        <relationships>
+            <association name="child" class="B" min="0" max="1"/>
+        </relationships>
+
+        <scxml initial="x">
+            <state id="x">
+                <onentry>
+                    <raise scope="cd" event="create_instance">
+                        <parameter expr="'child'"/>
+                        <parameter expr="'B'"/>
+                    </raise>
+                   <raise event="creating_instance" port="test_output" />
+                </onentry>
+
+                <transition event="instance_created" target="../ready" />
+            </state>
+            <state id="ready">
+                <onentry>
+                    <raise scope="cd" event="start_instance">
+                        <parameter expr="'child[0]'"/>
+                    </raise>
+                   <raise event="starting_instance" port="test_output" />
+                </onentry>
+
+                <transition event="close" target="../done">
+                    <raise scope="cd" event="delete_instance">
+                        <parameter expr="'child[0]'"/>
+                    </raise>
+                    <raise event="deleting_instance" port="test_output" />
+                </transition>
+
+            </state>
+            <state id="done"/>
+        </scxml>
+    </class>
+
+    <class name="B">
+        <relationships>
+            <association name="parent" class="A" min="1" max="1"/>
+        </relationships>
+
+        <scxml initial="z">
+            <state id="z">
+                <transition after="0" target=".">
+                    <raise scope="broad" event="close"/>
+                    <raise event="after_0" port="test_output" />
+                </transition>
+            </state>
+        </scxml>
+    </class>
+    <test>
+       <expected>
+           <slot>
+               <event name="creating_instance" port="test_output"/>
+           </slot>
+           <slot>
+               <event name="starting_instance" port="test_output"/>
+           </slot>
+           <slot>
+               <event name="after_0" port="test_output"/>
+           </slot>
+           <slot>
+               <event name="deleting_instance" port="test_output"/>
+               <event name="after_0" port="test_output"/>
+           </slot>
+        </expected>
+    </test>
+
+</diagram>

+ 1 - 1
test/target_js/big_step_maximality/00_take_one.js

@@ -1,6 +1,6 @@
 /* Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:26 2016
+Date:   Mon Aug 08 09:49:16 2016
 
 Model author: Herr Joeri Exelmans
 Model name:   take_one

+ 1 - 1
test/target_js/big_step_maximality/01_take_many.js

@@ -1,6 +1,6 @@
 /* Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:26 2016
+Date:   Mon Aug 08 09:49:16 2016
 
 Model author: Herr Joeri Exelmans
 Model name:   take_many

+ 1 - 1
test/target_js/big_step_maximality/10_orthogonal_take_one.js

@@ -1,6 +1,6 @@
 /* Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:26 2016
+Date:   Mon Aug 08 09:49:16 2016
 
 Model author: Herr Joeri Exelmans
 Model name:   orthogonal_take_one

+ 1 - 1
test/target_js/big_step_maximality/11_orthogonal_take_many.js

@@ -1,6 +1,6 @@
 /* Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:26 2016
+Date:   Mon Aug 08 09:49:17 2016
 
 Model author: Herr Joeri Exelmans
 Model name:   orthogonal_take_many

+ 1 - 1
test/target_js/event_lifeline/00_take_one_next_small_step.js

@@ -1,6 +1,6 @@
 /* Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:26 2016
+Date:   Mon Aug 08 09:49:17 2016
 
 Model author: Herr Joeri Exelmans
 Model name:   take_one_next_small_step

+ 1 - 1
test/target_js/event_lifeline/02_take_one_queue.js

@@ -1,6 +1,6 @@
 /* Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:26 2016
+Date:   Mon Aug 08 09:49:17 2016
 
 Model author: Herr Joeri Exelmans
 Model name:   take_one_queue

+ 1 - 1
test/target_js/event_lifeline/10_take_many_next_small_step.js

@@ -1,6 +1,6 @@
 /* Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:27 2016
+Date:   Mon Aug 08 09:49:17 2016
 
 Model author: Herr Joeri Exelmans
 Model name:   take_many_next_small_step

+ 1 - 1
test/target_js/event_lifeline/11_take_many_next_combo_step.js

@@ -1,6 +1,6 @@
 /* Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:27 2016
+Date:   Mon Aug 08 09:49:17 2016
 
 Model author: Herr Joeri Exelmans
 Model name:   take_many_next_combo_step

+ 1 - 1
test/target_js/event_lifeline/12_take_many_queue.js

@@ -1,6 +1,6 @@
 /* Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:27 2016
+Date:   Mon Aug 08 09:49:17 2016
 
 Model author: Herr Joeri Exelmans
 Model name:   take_many_queue

+ 1 - 1
test/target_js/event_lifeline/20_orthogonal_take_one_next_small_step.js

@@ -1,6 +1,6 @@
 /* Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:27 2016
+Date:   Mon Aug 08 09:49:17 2016
 
 Model author: Herr Joeri Exelmans
 Model name:   orthogonal_take_one_next_small_step

+ 1 - 1
test/target_js/event_lifeline/21_orthogonal_take_one_queue.js

@@ -1,6 +1,6 @@
 /* Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:27 2016
+Date:   Mon Aug 08 09:49:17 2016
 
 Model author: Herr Joeri Exelmans
 Model name:   orthogonal_take_one_queue

+ 1 - 1
test/target_js/event_lifeline/30_orthogonal_take_many_next_small_step.js

@@ -1,6 +1,6 @@
 /* Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:27 2016
+Date:   Mon Aug 08 09:49:17 2016
 
 Model author: Herr Joeri Exelmans
 Model name:   orthogonal_take_many_next_small_step

+ 1 - 1
test/target_js/event_lifeline/31_orthogonal_take_many_next_combo_step.js

@@ -1,6 +1,6 @@
 /* Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:28 2016
+Date:   Mon Aug 08 09:49:18 2016
 
 Model author: Herr Joeri Exelmans
 Model name:   orthogonal_take_many_next_combo_step

+ 1 - 1
test/target_js/event_lifeline/32_orthogonal_take_many_queue.js

@@ -1,6 +1,6 @@
 /* Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:28 2016
+Date:   Mon Aug 08 09:49:18 2016
 
 Model author: Herr Joeri Exelmans
 Model name:   orthogonal_take_many_queue

+ 1 - 1
test/target_js/no_statechart/00_no_statechart_js.js

@@ -1,6 +1,6 @@
 /* Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:28 2016
+Date:   Mon Aug 08 09:49:18 2016
 
 Model author: Herr Joeri Exelmans
 Model name:   no_statechart

+ 1 - 1
test/target_js/original_semantics/after.js

@@ -1,6 +1,6 @@
 /* Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:28 2016
+Date:   Mon Aug 08 09:49:18 2016
 
 Model author: Glenn De Jonghe
 Model name:   TestAfter

+ 258 - 0
test/target_js/original_semantics/after_0.js

@@ -0,0 +1,258 @@
+/* Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
+
+Date:   Mon Aug 08 09:49:18 2016
+
+Model author: Yentl Van Tendeloo
+Model name:   after_0
+Model description:
+Used for testing the AFTER(0) event---which should not block the deletion of the B instance.*/
+
+
+// package "after_0"
+var after_0 = {};
+(function() {
+
+var A = function(controller) {
+    RuntimeClassBase.call(this, controller);
+    
+    this.semantics.big_step_maximality = StatechartSemantics.TakeMany;
+    this.semantics.internal_event_lifeline = StatechartSemantics.Queue;
+    this.semantics.input_event_lifeline = StatechartSemantics.FirstComboStep;
+    this.semantics.priority = StatechartSemantics.SourceParent;
+    this.semantics.concurrency = StatechartSemantics.Single;
+    
+    // build Statechart structure
+    this.build_statechart_structure();
+    
+    // call user defined constructor
+    A.prototype.user_defined_constructor.call(this);
+};
+A.prototype = new Object();
+(function() {
+    var proto = new RuntimeClassBase();
+    for (prop in proto) {
+        A.prototype[prop] = proto[prop];
+    }
+})();
+
+A.prototype.user_defined_constructor = function() {
+};
+
+A.prototype.user_defined_destructor = function() {
+};
+
+
+// builds Statechart structure
+A.prototype.build_statechart_structure = function() {
+    
+    // state <root>
+    this.states[""] = new State(0, this);
+    
+    // state /x
+    this.states["/x"] = new State(1, this);
+    this.states["/x"].setEnter(this._x_enter);
+    
+    // state /ready
+    this.states["/ready"] = new State(2, this);
+    this.states["/ready"].setEnter(this._ready_enter);
+    
+    // state /done
+    this.states["/done"] = new State(3, this);
+    
+    // add children
+    this.states[""].addChild(this.states["/x"]);
+    this.states[""].addChild(this.states["/ready"]);
+    this.states[""].addChild(this.states["/done"]);
+    this.states[""].fixTree();
+    this.states[""].default_state = this.states["/x"];
+    
+    // transition /x
+    var _x_0 = new Transition(this, this.states["/x"], [this.states["/ready"]]);
+    _x_0.setTrigger(new Event("instance_created", null));
+    this.states["/x"].addTransition(_x_0);
+    
+    // transition /ready
+    var _ready_0 = new Transition(this, this.states["/ready"], [this.states["/done"]]);
+    _ready_0.setAction(this._ready_0_exec);
+    _ready_0.setTrigger(new Event("close", null));
+    this.states["/ready"].addTransition(_ready_0);
+};
+
+A.prototype._x_enter = function() {
+    this.big_step.outputEventOM(new Event("create_instance", null, [this, 'child', 'B']));
+    this.big_step.outputEvent(new Event("creating_instance", "test_output", new Array()));
+};
+
+A.prototype._ready_enter = function() {
+    this.big_step.outputEventOM(new Event("start_instance", null, [this, 'child[0]']));
+    this.big_step.outputEvent(new Event("starting_instance", "test_output", new Array()));
+};
+
+A.prototype._ready_0_exec = function(parameters) {
+    this.big_step.outputEventOM(new Event("delete_instance", null, [this, 'child[0]']));
+    this.big_step.outputEvent(new Event("deleting_instance", "test_output", new Array()));
+};
+
+A.prototype.initializeStatechart = function() {
+    // enter default state
+    var states = this.states["/x"].getEffectiveTargetStates();
+    this.updateConfiguration(states);
+    for (var state_idx in states) {
+        if (!states.hasOwnProperty(state_idx)) continue;
+        var state = states[state_idx]
+        if (state.enter) {
+            state.enter();
+        }
+    }
+};
+
+// add symbol 'A' to package 'after_0'
+after_0.A = A;
+
+var B = function(controller) {
+    RuntimeClassBase.call(this, controller);
+    
+    this.semantics.big_step_maximality = StatechartSemantics.TakeMany;
+    this.semantics.internal_event_lifeline = StatechartSemantics.Queue;
+    this.semantics.input_event_lifeline = StatechartSemantics.FirstComboStep;
+    this.semantics.priority = StatechartSemantics.SourceParent;
+    this.semantics.concurrency = StatechartSemantics.Single;
+    
+    // build Statechart structure
+    this.build_statechart_structure();
+    
+    // call user defined constructor
+    B.prototype.user_defined_constructor.call(this);
+};
+B.prototype = new Object();
+(function() {
+    var proto = new RuntimeClassBase();
+    for (prop in proto) {
+        B.prototype[prop] = proto[prop];
+    }
+})();
+
+B.prototype.user_defined_constructor = function() {
+};
+
+B.prototype.user_defined_destructor = function() {
+};
+
+
+// builds Statechart structure
+B.prototype.build_statechart_structure = function() {
+    
+    // state <root>
+    this.states[""] = new State(0, this);
+    
+    // state /z
+    this.states["/z"] = new State(1, this);
+    this.states["/z"].setEnter(this._z_enter);
+    this.states["/z"].setExit(this._z_exit);
+    
+    // add children
+    this.states[""].addChild(this.states["/z"]);
+    this.states[""].fixTree();
+    this.states[""].default_state = this.states["/z"];
+    
+    // transition /z
+    var _z_0 = new Transition(this, this.states["/z"], [this.states["/z"]]);
+    _z_0.setAction(this._z_0_exec);
+    _z_0.setTrigger(new Event("_0after"));
+    this.states["/z"].addTransition(_z_0);
+};
+
+B.prototype._z_enter = function() {
+    this.addTimer(0, 0);
+};
+
+B.prototype._z_exit = function() {
+    this.removeTimer(0);
+};
+
+B.prototype._z_0_exec = function(parameters) {
+    this.big_step.outputEventOM(new Event("broad_cast", null, [new Event("close", null, new Array())]));
+    this.big_step.outputEvent(new Event("after_0", "test_output", new Array()));
+};
+
+B.prototype.initializeStatechart = function() {
+    // enter default state
+    var states = this.states["/z"].getEffectiveTargetStates();
+    this.updateConfiguration(states);
+    for (var state_idx in states) {
+        if (!states.hasOwnProperty(state_idx)) continue;
+        var state = states[state_idx]
+        if (state.enter) {
+            state.enter();
+        }
+    }
+};
+
+// add symbol 'B' to package 'after_0'
+after_0.B = B;
+
+var ObjectManager = function(controller) {
+    ObjectManagerBase.call(this, controller);
+};
+ObjectManager.prototype = new Object();
+(function() {
+    var proto = new ObjectManagerBase();
+    for (prop in proto) {
+        ObjectManager.prototype[prop] = proto[prop];
+    }
+})();
+
+ObjectManager.prototype.instantiate = function(class_name, construct_params) {
+    if (class_name === "A") {
+        var instance = new A(this.controller);
+        instance.associations = new Object();
+        instance.associations["child"] = new Association("B", 0, 1);
+    } else if (class_name === "B") {
+        var instance = new B(this.controller);
+        instance.associations = new Object();
+        instance.associations["parent"] = new Association("A", 1, 1);
+    } else  {
+        throw new Error("Cannot instantiate class " + class_name);
+    }
+    return instance;
+};
+
+// add symbol 'ObjectManager' to package 'after_0'
+after_0.ObjectManager = ObjectManager;
+
+var Controller = function(event_loop_callbacks, finished_callback, behind_schedule_callback) {
+    if (finished_callback === undefined) finished_callback = null;
+    if (behind_schedule_callback === undefined) behind_schedule_callback = null;
+    EventLoopControllerBase.call(this, new ObjectManager(this), event_loop_callbacks, finished_callback, behind_schedule_callback);
+    this.addOutputPort("test_output");
+    this.object_manager.createInstance("A", new Array());
+};
+Controller.prototype = new Object();
+(function() {
+    var proto = new EventLoopControllerBase();
+    for (prop in proto) {
+        Controller.prototype[prop] = proto[prop];
+    }
+})();
+
+// add symbol 'Controller' to package 'after_0'
+after_0.Controller = Controller;
+
+var InputEvent = function(name, port, parameters, time_offset) {
+    this.name = name;
+    this.port = port;
+    this.parameters = parameters;
+    this.time_offset = time_offset;
+};
+
+// add symbol 'InputEvent' to package 'after_0'
+after_0.InputEvent = InputEvent;
+
+var Test = function() {
+};
+Test.prototype.input_events = new Array();
+Test.prototype.expected_events = [[new Event("creating_instance", "test_output", new Array())], [new Event("starting_instance", "test_output", new Array())], [new Event("after_0", "test_output", new Array())], [new Event("deleting_instance", "test_output", new Array()), new Event("after_0", "test_output", new Array())]];
+
+// add symbol 'Test' to package 'after_0'
+after_0.Test = Test;
+})();

+ 1 - 1
test/target_js/original_semantics/associate_event.js

@@ -1,6 +1,6 @@
 /* Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:28 2016
+Date:   Mon Aug 08 09:49:18 2016
 
 Model author: Glenn De Jonghe
 Model name:   TestAssociateEvent

+ 1 - 1
test/target_js/original_semantics/correct_duplicate_state_id.js

@@ -1,6 +1,6 @@
 /* Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:28 2016
+Date:   Mon Aug 08 09:49:18 2016
 
 Model author: Glenn De Jonghe
 Model name:   TestCorrectDuplicateStateId

+ 1 - 1
test/target_js/original_semantics/enter_exit_hierarchy.js

@@ -1,6 +1,6 @@
 /* Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:28 2016
+Date:   Mon Aug 08 09:49:18 2016
 
 Model author: Glenn De Jonghe
 Model name:   TestEnterExitHierarchy

+ 1 - 1
test/target_js/original_semantics/guard.js

@@ -1,6 +1,6 @@
 /* Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:29 2016
+Date:   Mon Aug 08 09:49:19 2016
 
 Model author: Glenn De Jonghe
 Model name:   TestGuard

+ 1 - 1
test/target_js/original_semantics/history.js

@@ -1,6 +1,6 @@
 /* Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:29 2016
+Date:   Mon Aug 08 09:49:19 2016
 
 Model author: Glenn De Jonghe
 Model name:   TestHistory

+ 1 - 1
test/target_js/original_semantics/history_deep.js

@@ -1,6 +1,6 @@
 /* Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:29 2016
+Date:   Mon Aug 08 09:49:19 2016
 
 Model author: Glenn De Jonghe
 Model name:   TestHistoryDeep

+ 1 - 1
test/target_js/original_semantics/history_parallel_deep.js

@@ -1,6 +1,6 @@
 /* Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:29 2016
+Date:   Mon Aug 08 09:49:19 2016
 
 Model author: Glenn De Jonghe
 Model name:   TestHistoryParallelDeep

+ 1 - 1
test/target_js/original_semantics/inner_first.js

@@ -1,6 +1,6 @@
 /* Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:29 2016
+Date:   Mon Aug 08 09:49:19 2016
 
 Model author: Glenn De Jonghe
 Model name:   TestInnerFirst

+ 1 - 1
test/target_js/original_semantics/instate.js

@@ -1,6 +1,6 @@
 /* Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:29 2016
+Date:   Mon Aug 08 09:49:19 2016
 
 Model author: Glenn De Jonghe
 Model name:   TestInstate

+ 1 - 1
test/target_js/original_semantics/multiple_target.js

@@ -1,6 +1,6 @@
 /* Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:29 2016
+Date:   Mon Aug 08 09:49:19 2016
 
 Model author: Glenn De Jonghe
 Model name:   TestMultipleTarget

+ 1 - 1
test/target_js/original_semantics/object_manager.js

@@ -1,6 +1,6 @@
 /* Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:30 2016
+Date:   Mon Aug 08 09:49:19 2016
 
 Model author: Glenn De Jonghe
 Model name:   TestObjectManager

+ 1 - 1
test/target_js/original_semantics/outer_first.js

@@ -1,6 +1,6 @@
 /* Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:30 2016
+Date:   Mon Aug 08 09:49:20 2016
 
 Model author: Glenn De Jonghe
 Model name:   TestOuterFirst

+ 1 - 1
test/target_js/original_semantics/parallel.js

@@ -1,6 +1,6 @@
 /* Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:30 2016
+Date:   Mon Aug 08 09:49:20 2016
 
 Model author: Glenn De Jonghe
 Model name:   TestParallel

+ 1 - 1
test/target_js/original_semantics/parallel_history.js

@@ -1,6 +1,6 @@
 /* Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:30 2016
+Date:   Mon Aug 08 09:49:20 2016
 
 Model author: Glenn De Jonghe
 Model name:   TestParallelHistory

+ 1 - 1
test/target_js/original_semantics/parallel_history_2.js

@@ -1,6 +1,6 @@
 /* Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:30 2016
+Date:   Mon Aug 08 09:49:20 2016
 
 Model author: Glenn De Jonghe
 Model name:   TestParallelHistory2

+ 1 - 1
test/target_js/original_semantics/parallel_history_3.js

@@ -1,6 +1,6 @@
 /* Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:30 2016
+Date:   Mon Aug 08 09:49:20 2016
 
 Model author: Glenn De Jonghe
 Model name:   TestParallelHistory2

+ 1 - 1
test/target_js/priority/00_source_parent.js

@@ -1,6 +1,6 @@
 /* Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:30 2016
+Date:   Mon Aug 08 09:49:20 2016
 
 Model author: Herr Joeri Exelmans
 Model name:   source_parent

+ 1 - 1
test/target_js/priority/01_source_child.js

@@ -1,6 +1,6 @@
 /* Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:30 2016
+Date:   Mon Aug 08 09:49:20 2016
 
 Model author: Herr Joeri Exelmans
 Model name:   source_child

+ 1 - 1
test/target_js/priority/10_source_parent_history.js

@@ -1,6 +1,6 @@
 /* Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:30 2016
+Date:   Mon Aug 08 09:49:20 2016
 
 Model author: Herr Joeri Exelmans
 Model name:   source_parent_history

+ 1 - 1
test/target_js/priority/11_source_child_history.js

@@ -1,6 +1,6 @@
 /* Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:31 2016
+Date:   Mon Aug 08 09:49:21 2016
 
 Model author: Herr Joeri Exelmans
 Model name:   source_child_history

+ 1 - 1
test/target_js/timing/00_rapid_js.js

@@ -1,6 +1,6 @@
 /* Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:31 2016
+Date:   Mon Aug 08 09:49:21 2016
 
 Model author: Herr Joeri Exelmans
 Model name:   rapid

+ 1 - 1
test/target_py/big_step_maximality/00_take_one.py

@@ -1,7 +1,7 @@
 """
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:31 2016
+Date:   Mon Aug 08 09:49:21 2016
 
 Model author: Herr Joeri Exelmans
 Model name:   take_one

+ 1 - 1
test/target_py/big_step_maximality/01_take_many.py

@@ -1,7 +1,7 @@
 """
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:31 2016
+Date:   Mon Aug 08 09:49:21 2016
 
 Model author: Herr Joeri Exelmans
 Model name:   take_many

+ 1 - 1
test/target_py/big_step_maximality/10_orthogonal_take_one.py

@@ -1,7 +1,7 @@
 """
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:31 2016
+Date:   Mon Aug 08 09:49:21 2016
 
 Model author: Herr Joeri Exelmans
 Model name:   orthogonal_take_one

+ 1 - 1
test/target_py/big_step_maximality/11_orthogonal_take_many.py

@@ -1,7 +1,7 @@
 """
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:31 2016
+Date:   Mon Aug 08 09:49:21 2016
 
 Model author: Herr Joeri Exelmans
 Model name:   orthogonal_take_many

+ 1 - 1
test/target_py/event_lifeline/00_take_one_next_small_step.py

@@ -1,7 +1,7 @@
 """
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:32 2016
+Date:   Mon Aug 08 09:49:21 2016
 
 Model author: Herr Joeri Exelmans
 Model name:   take_one_next_small_step

+ 1 - 1
test/target_py/event_lifeline/02_take_one_queue.py

@@ -1,7 +1,7 @@
 """
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:32 2016
+Date:   Mon Aug 08 09:49:22 2016
 
 Model author: Herr Joeri Exelmans
 Model name:   take_one_queue

+ 1 - 1
test/target_py/event_lifeline/10_take_many_next_small_step.py

@@ -1,7 +1,7 @@
 """
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:32 2016
+Date:   Mon Aug 08 09:49:22 2016
 
 Model author: Herr Joeri Exelmans
 Model name:   take_many_next_small_step

+ 1 - 1
test/target_py/event_lifeline/11_take_many_next_combo_step.py

@@ -1,7 +1,7 @@
 """
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:32 2016
+Date:   Mon Aug 08 09:49:23 2016
 
 Model author: Herr Joeri Exelmans
 Model name:   take_many_next_combo_step

+ 1 - 1
test/target_py/event_lifeline/12_take_many_queue.py

@@ -1,7 +1,7 @@
 """
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:32 2016
+Date:   Mon Aug 08 09:49:23 2016
 
 Model author: Herr Joeri Exelmans
 Model name:   take_many_queue

+ 1 - 1
test/target_py/event_lifeline/20_orthogonal_take_one_next_small_step.py

@@ -1,7 +1,7 @@
 """
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:32 2016
+Date:   Mon Aug 08 09:49:23 2016
 
 Model author: Herr Joeri Exelmans
 Model name:   orthogonal_take_one_next_small_step

+ 1 - 1
test/target_py/event_lifeline/21_orthogonal_take_one_queue.py

@@ -1,7 +1,7 @@
 """
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:32 2016
+Date:   Mon Aug 08 09:49:23 2016
 
 Model author: Herr Joeri Exelmans
 Model name:   orthogonal_take_one_queue

+ 1 - 1
test/target_py/event_lifeline/30_orthogonal_take_many_next_small_step.py

@@ -1,7 +1,7 @@
 """
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:32 2016
+Date:   Mon Aug 08 09:49:23 2016
 
 Model author: Herr Joeri Exelmans
 Model name:   orthogonal_take_many_next_small_step

+ 1 - 1
test/target_py/event_lifeline/31_orthogonal_take_many_next_combo_step.py

@@ -1,7 +1,7 @@
 """
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:32 2016
+Date:   Mon Aug 08 09:49:23 2016
 
 Model author: Herr Joeri Exelmans
 Model name:   orthogonal_take_many_next_combo_step

+ 1 - 1
test/target_py/event_lifeline/32_orthogonal_take_many_queue.py

@@ -1,7 +1,7 @@
 """
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:32 2016
+Date:   Mon Aug 08 09:49:23 2016
 
 Model author: Herr Joeri Exelmans
 Model name:   orthogonal_take_many_queue

+ 1 - 1
test/target_py/no_statechart/00_no_statechart_py.py

@@ -1,7 +1,7 @@
 """
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:33 2016
+Date:   Mon Aug 08 09:49:24 2016
 
 Model author: Herr Joeri Exelmans
 Model name:   no_statechart

+ 1 - 1
test/target_py/original_semantics/after.py

@@ -1,7 +1,7 @@
 """
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:33 2016
+Date:   Mon Aug 08 09:49:24 2016
 
 Model author: Glenn De Jonghe
 Model name:   TestAfter

+ 192 - 0
test/target_py/original_semantics/after_0.py

@@ -0,0 +1,192 @@
+"""
+Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
+
+Date:   Mon Aug 08 09:49:24 2016
+
+Model author: Yentl Van Tendeloo
+Model name:   after_0
+Model description:
+Used for testing the AFTER(0) event---which should not block the deletion of the B instance.
+"""
+
+from sccd.runtime.statecharts_core import *
+
+# package "after_0"
+
+class A(RuntimeClassBase):
+    def __init__(self, controller):
+        RuntimeClassBase.__init__(self, controller)
+        
+        self.semantics.big_step_maximality = StatechartSemantics.TakeMany
+        self.semantics.internal_event_lifeline = StatechartSemantics.Queue
+        self.semantics.input_event_lifeline = StatechartSemantics.FirstComboStep
+        self.semantics.priority = StatechartSemantics.SourceParent
+        self.semantics.concurrency = StatechartSemantics.Single
+        
+        # build Statechart structure
+        self.build_statechart_structure()
+        
+        # call user defined constructor
+        A.user_defined_constructor(self)
+    
+    def user_defined_constructor(self):
+        pass
+    
+    def user_defined_destructor(self):
+        pass
+    
+    
+    # builds Statechart structure
+    def build_statechart_structure(self):
+        
+        # state <root>
+        self.states[""] = State(0, self)
+        
+        # state /x
+        self.states["/x"] = State(1, self)
+        self.states["/x"].setEnter(self._x_enter)
+        
+        # state /ready
+        self.states["/ready"] = State(2, self)
+        self.states["/ready"].setEnter(self._ready_enter)
+        
+        # state /done
+        self.states["/done"] = State(3, self)
+        
+        # add children
+        self.states[""].addChild(self.states["/x"])
+        self.states[""].addChild(self.states["/ready"])
+        self.states[""].addChild(self.states["/done"])
+        self.states[""].fixTree()
+        self.states[""].default_state = self.states["/x"]
+        
+        # transition /x
+        _x_0 = Transition(self, self.states["/x"], [self.states["/ready"]])
+        _x_0.setTrigger(Event("instance_created", None))
+        self.states["/x"].addTransition(_x_0)
+        
+        # transition /ready
+        _ready_0 = Transition(self, self.states["/ready"], [self.states["/done"]])
+        _ready_0.setAction(self._ready_0_exec)
+        _ready_0.setTrigger(Event("close", None))
+        self.states["/ready"].addTransition(_ready_0)
+    
+    def _x_enter(self):
+        self.big_step.outputEventOM(Event("create_instance", None, [self, 'child', 'B']))
+        self.big_step.outputEvent(Event("creating_instance", "test_output", []))
+    
+    def _ready_enter(self):
+        self.big_step.outputEventOM(Event("start_instance", None, [self, 'child[0]']))
+        self.big_step.outputEvent(Event("starting_instance", "test_output", []))
+    
+    def _ready_0_exec(self, parameters):
+        self.big_step.outputEventOM(Event("delete_instance", None, [self, 'child[0]']))
+        self.big_step.outputEvent(Event("deleting_instance", "test_output", []))
+    
+    def initializeStatechart(self):
+        # enter default state
+        states = self.states["/x"].getEffectiveTargetStates()
+        self.updateConfiguration(states)
+        for state in states:
+            if state.enter:
+                state.enter()
+
+class B(RuntimeClassBase):
+    def __init__(self, controller):
+        RuntimeClassBase.__init__(self, controller)
+        
+        self.semantics.big_step_maximality = StatechartSemantics.TakeMany
+        self.semantics.internal_event_lifeline = StatechartSemantics.Queue
+        self.semantics.input_event_lifeline = StatechartSemantics.FirstComboStep
+        self.semantics.priority = StatechartSemantics.SourceParent
+        self.semantics.concurrency = StatechartSemantics.Single
+        
+        # build Statechart structure
+        self.build_statechart_structure()
+        
+        # call user defined constructor
+        B.user_defined_constructor(self)
+    
+    def user_defined_constructor(self):
+        pass
+    
+    def user_defined_destructor(self):
+        pass
+    
+    
+    # builds Statechart structure
+    def build_statechart_structure(self):
+        
+        # state <root>
+        self.states[""] = State(0, self)
+        
+        # state /z
+        self.states["/z"] = State(1, self)
+        self.states["/z"].setEnter(self._z_enter)
+        self.states["/z"].setExit(self._z_exit)
+        
+        # add children
+        self.states[""].addChild(self.states["/z"])
+        self.states[""].fixTree()
+        self.states[""].default_state = self.states["/z"]
+        
+        # transition /z
+        _z_0 = Transition(self, self.states["/z"], [self.states["/z"]])
+        _z_0.setAction(self._z_0_exec)
+        _z_0.setTrigger(Event("_0after"))
+        self.states["/z"].addTransition(_z_0)
+    
+    def _z_enter(self):
+        self.addTimer(0, 0)
+    
+    def _z_exit(self):
+        self.removeTimer(0)
+    
+    def _z_0_exec(self, parameters):
+        self.big_step.outputEventOM(Event("broad_cast", None, [Event("close", None, [])]))
+        self.big_step.outputEvent(Event("after_0", "test_output", []))
+    
+    def initializeStatechart(self):
+        # enter default state
+        states = self.states["/z"].getEffectiveTargetStates()
+        self.updateConfiguration(states)
+        for state in states:
+            if state.enter:
+                state.enter()
+
+class ObjectManager(ObjectManagerBase):
+    def __init__(self, controller):
+        ObjectManagerBase.__init__(self, controller)
+    
+    def instantiate(self, class_name, construct_params):
+        if class_name == "A":
+            instance = A(self.controller)
+            instance.associations = {}
+            instance.associations["child"] = Association("B", 0, 1)
+        elif class_name == "B":
+            instance = B(self.controller)
+            instance.associations = {}
+            instance.associations["parent"] = Association("A", 1, 1)
+        else:
+            raise Exception("Cannot instantiate class " + class_name)
+        return instance
+
+class Controller(ThreadsControllerBase):
+    def __init__(self, keep_running = None):
+        if keep_running == None: keep_running = True
+        ThreadsControllerBase.__init__(self, ObjectManager(self), keep_running)
+        self.addOutputPort("test_output")
+        self.object_manager.createInstance("A", [])
+
+class InputEvent:
+    def __init__(self, name, port, parameters, time_offset):
+        self.name = name
+        self.port = port
+        self.parameters = parameters
+        self.time_offset = time_offset
+
+class Test:
+    def __init__(self):
+        pass
+    input_events = []
+    expected_events = [[Event("creating_instance", "test_output", [])], [Event("starting_instance", "test_output", [])], [Event("after_0", "test_output", [])], [Event("deleting_instance", "test_output", []), Event("after_0", "test_output", [])]]

+ 1 - 1
test/target_py/original_semantics/associate_event.py

@@ -1,7 +1,7 @@
 """
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:33 2016
+Date:   Mon Aug 08 09:49:24 2016
 
 Model author: Glenn De Jonghe
 Model name:   TestAssociateEvent

+ 1 - 1
test/target_py/original_semantics/correct_duplicate_state_id.py

@@ -1,7 +1,7 @@
 """
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:33 2016
+Date:   Mon Aug 08 09:49:24 2016
 
 Model author: Glenn De Jonghe
 Model name:   TestCorrectDuplicateStateId

+ 1 - 1
test/target_py/original_semantics/enter_exit_hierarchy.py

@@ -1,7 +1,7 @@
 """
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:33 2016
+Date:   Mon Aug 08 09:49:24 2016
 
 Model author: Glenn De Jonghe
 Model name:   TestEnterExitHierarchy

+ 1 - 1
test/target_py/original_semantics/guard.py

@@ -1,7 +1,7 @@
 """
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:33 2016
+Date:   Mon Aug 08 09:49:24 2016
 
 Model author: Glenn De Jonghe
 Model name:   TestGuard

+ 1 - 1
test/target_py/original_semantics/history.py

@@ -1,7 +1,7 @@
 """
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:33 2016
+Date:   Mon Aug 08 09:49:24 2016
 
 Model author: Glenn De Jonghe
 Model name:   TestHistory

+ 1 - 1
test/target_py/original_semantics/history_deep.py

@@ -1,7 +1,7 @@
 """
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:33 2016
+Date:   Mon Aug 08 09:49:25 2016
 
 Model author: Glenn De Jonghe
 Model name:   TestHistoryDeep

+ 1 - 1
test/target_py/original_semantics/history_parallel_deep.py

@@ -1,7 +1,7 @@
 """
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:34 2016
+Date:   Mon Aug 08 09:49:25 2016
 
 Model author: Glenn De Jonghe
 Model name:   TestHistoryParallelDeep

+ 1 - 1
test/target_py/original_semantics/inner_first.py

@@ -1,7 +1,7 @@
 """
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:34 2016
+Date:   Mon Aug 08 09:49:25 2016
 
 Model author: Glenn De Jonghe
 Model name:   TestInnerFirst

+ 1 - 1
test/target_py/original_semantics/instate.py

@@ -1,7 +1,7 @@
 """
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:34 2016
+Date:   Mon Aug 08 09:49:25 2016
 
 Model author: Glenn De Jonghe
 Model name:   TestInstate

+ 1 - 1
test/target_py/original_semantics/multiple_target.py

@@ -1,7 +1,7 @@
 """
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:34 2016
+Date:   Mon Aug 08 09:49:25 2016
 
 Model author: Glenn De Jonghe
 Model name:   TestMultipleTarget

+ 1 - 1
test/target_py/original_semantics/object_manager.py

@@ -1,7 +1,7 @@
 """
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:34 2016
+Date:   Mon Aug 08 09:49:25 2016
 
 Model author: Glenn De Jonghe
 Model name:   TestObjectManager

+ 1 - 1
test/target_py/original_semantics/outer_first.py

@@ -1,7 +1,7 @@
 """
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:34 2016
+Date:   Mon Aug 08 09:49:25 2016
 
 Model author: Glenn De Jonghe
 Model name:   TestOuterFirst

+ 1 - 1
test/target_py/original_semantics/parallel.py

@@ -1,7 +1,7 @@
 """
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:34 2016
+Date:   Mon Aug 08 09:49:25 2016
 
 Model author: Glenn De Jonghe
 Model name:   TestParallel

+ 1 - 1
test/target_py/original_semantics/parallel_history.py

@@ -1,7 +1,7 @@
 """
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:34 2016
+Date:   Mon Aug 08 09:49:25 2016
 
 Model author: Glenn De Jonghe
 Model name:   TestParallelHistory

+ 1 - 1
test/target_py/original_semantics/parallel_history_2.py

@@ -1,7 +1,7 @@
 """
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:34 2016
+Date:   Mon Aug 08 09:49:25 2016
 
 Model author: Glenn De Jonghe
 Model name:   TestParallelHistory2

+ 1 - 1
test/target_py/original_semantics/parallel_history_3.py

@@ -1,7 +1,7 @@
 """
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:35 2016
+Date:   Mon Aug 08 09:49:26 2016
 
 Model author: Glenn De Jonghe
 Model name:   TestParallelHistory2

+ 1 - 1
test/target_py/priority/00_source_parent.py

@@ -1,7 +1,7 @@
 """
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:35 2016
+Date:   Mon Aug 08 09:49:26 2016
 
 Model author: Herr Joeri Exelmans
 Model name:   source_parent

+ 1 - 1
test/target_py/priority/01_source_child.py

@@ -1,7 +1,7 @@
 """
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:35 2016
+Date:   Mon Aug 08 09:49:26 2016
 
 Model author: Herr Joeri Exelmans
 Model name:   source_child

+ 1 - 1
test/target_py/priority/10_source_parent_history.py

@@ -1,7 +1,7 @@
 """
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:35 2016
+Date:   Mon Aug 08 09:49:26 2016
 
 Model author: Herr Joeri Exelmans
 Model name:   source_parent_history

+ 1 - 1
test/target_py/priority/11_source_child_history.py

@@ -1,7 +1,7 @@
 """
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:35 2016
+Date:   Mon Aug 08 09:49:26 2016
 
 Model author: Herr Joeri Exelmans
 Model name:   source_child_history

+ 1 - 1
test/target_py/timing/00_rapid_py.py

@@ -1,7 +1,7 @@
 """
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Aug 05 16:13:35 2016
+Date:   Mon Aug 08 09:49:26 2016
 
 Model author: Herr Joeri Exelmans
 Model name:   rapid