]> SALOME platform Git repositories - modules/superv.git/commitdiff
Salome HOME
Simple tests to check Memory Leaks
authorrahuel <rahuel@opencascade.com>
Wed, 9 Mar 2005 13:34:07 +0000 (13:34 +0000)
committerrahuel <rahuel@opencascade.com>
Wed, 9 Mar 2005 13:34:07 +0000 (13:34 +0000)
examples/GraphGOTOAddMemory.py [new file with mode: 0644]
examples/GraphGOTOAddMemory.xml [new file with mode: 0644]
examples/GraphGOTOMemory.py [new file with mode: 0644]
examples/GraphGOTOMemory.xml [new file with mode: 0644]
examples/GraphLoopMemory.py [new file with mode: 0644]
examples/GraphLoopMemory.xml [new file with mode: 0644]

diff --git a/examples/GraphGOTOAddMemory.py b/examples/GraphGOTOAddMemory.py
new file mode 100644 (file)
index 0000000..5484a36
--- /dev/null
@@ -0,0 +1,68 @@
+
+# Generated python file of Graph GraphGOTOAddMemory
+
+from SuperV import *
+
+# Graph creation of GraphGOTOAddMemory
+def DefGraphGOTOAddMemory() :
+    GraphGOTOAddMemory = Graph( 'GraphGOTOAddMemory' )
+    GraphGOTOAddMemory.SetName( 'GraphGOTOAddMemory' )
+    GraphGOTOAddMemory.SetAuthor( 'JR' )
+    GraphGOTOAddMemory.SetComment( 'To study memory leaks' )
+    GraphGOTOAddMemory.Coords( 0 , 0 )
+    
+    # Creation of Factory Nodes
+    
+    AddWithoutSleep = GraphGOTOAddMemory.FNode( 'AddComponent' , 'AddComponent' , 'AddWithoutSleep' )
+    AddWithoutSleep.SetName( 'AddWithoutSleep' )
+    AddWithoutSleep.SetAuthor( '' )
+    AddWithoutSleep.SetContainer( 'localhost/FactoryServer' )
+    AddWithoutSleep.SetComment( 'AddWithoutSleep from AddComponent' )
+    AddWithoutSleep.Coords( 297 , 138 )
+    IAddWithoutSleepx = AddWithoutSleep.GetInPort( 'x' )
+    IAddWithoutSleepy = AddWithoutSleep.GetInPort( 'y' )
+    IAddWithoutSleepGate = AddWithoutSleep.GetInPort( 'Gate' )
+    OAddWithoutSleepFuncValue = AddWithoutSleep.GetOutPort( 'FuncValue' )
+    OAddWithoutSleepz = AddWithoutSleep.GetOutPort( 'z' )
+    OAddWithoutSleepGate = AddWithoutSleep.GetOutPort( 'Gate' )
+    
+    # Creation of InLine Nodes
+    PyInLine = []
+    InLine = GraphGOTOAddMemory.INode( '' , PyInLine )
+    InLine.SetName( 'InLine' )
+    InLine.SetAuthor( '' )
+    InLine.SetComment( 'Compute Node' )
+    InLine.Coords( 74 , 178 )
+    IInLineGate = InLine.GetInPort( 'Gate' )
+    OInLineGate = InLine.GetOutPort( 'Gate' )
+    
+    # Creation of GOTO Nodes
+    PyGoTo = []
+    GoTo = GraphGOTOAddMemory.GNode( '' , PyGoTo , 'InLine' )
+    GoTo.SetName( 'GoTo' )
+    GoTo.SetAuthor( '' )
+    GoTo.SetComment( 'Compute Node' )
+    GoTo.Coords( 533 , 218 )
+    IGoToGate = GoTo.GetInPort( 'Gate' )
+    OGoToGate = GoTo.GetOutPort( 'Gate' )
+    
+    # Creation of Links
+    LInLineGateAddWithoutSleepGate = GraphGOTOAddMemory.Link( OInLineGate , IAddWithoutSleepGate )
+    
+    LGoToGateInLineGate = GraphGOTOAddMemory.Link( OGoToGate , IInLineGate )
+    LGoToGateInLineGate.AddCoord( 1 , 69 , 420 )
+    LGoToGateInLineGate.AddCoord( 2 , 700 , 420 )
+    
+    LAddWithoutSleepGateGoToGate = GraphGOTOAddMemory.Link( OAddWithoutSleepGate , IGoToGate )
+    
+    # Input datas
+    IAddWithoutSleepx.Input( 1 )
+    IAddWithoutSleepy.Input( 2 )
+    
+    # Output Ports of the graph
+    #OAddWithoutSleepFuncValue = AddWithoutSleep.GetOutPort( 'FuncValue' )
+    #OAddWithoutSleepz = AddWithoutSleep.GetOutPort( 'z' )
+    return GraphGOTOAddMemory
+
+
+GraphGOTOAddMemory = DefGraphGOTOAddMemory()
diff --git a/examples/GraphGOTOAddMemory.xml b/examples/GraphGOTOAddMemory.xml
new file mode 100644 (file)
index 0000000..02c082b
--- /dev/null
@@ -0,0 +1,159 @@
+<!DOCTYPE SuperGraph>
+<supergraph>
+<dataflow>
+<info-list>
+<node>
+<component-name>?</component-name>
+    <interface-name>?</interface-name>
+    <node-name>GraphGOTOAddMemory</node-name>
+    <kind>1</kind>
+    <coupled-node>?</coupled-node>
+    <service>
+<service-name>GraphGOTOAddMemory_1</service-name>
+     <inParameter-list>
+<inParameter>
+<inParameter-type>double</inParameter-type>
+       <inParameter-name>AddWithoutSleep__x</inParameter-name>      </inParameter>
+      <inParameter>
+<inParameter-type>double</inParameter-type>
+       <inParameter-name>AddWithoutSleep__y</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
+<outParameter>
+<outParameter-type>double</outParameter-type>
+       <outParameter-name>AddWithoutSleep__FuncValue</outParameter-name>      </outParameter>
+      <outParameter>
+<outParameter-type>double</outParameter-type>
+       <outParameter-name>AddWithoutSleep__z</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list/>
+    <PyFunction-list/>
+    <creation-date>17/2/2005 - 14:8:55</creation-date>
+    <lastmodification-date>21/2/2005 - 10:9:51</lastmodification-date>
+    <editor-release>2.0</editor-release>
+    <author>JR</author>
+    <container>?</container>
+    <comment>To study memory leaks</comment>
+    <x-position>0</x-position>
+    <y-position>0</y-position>   </node>  </info-list>
+  <node-list>
+<node>
+<component-name>?</component-name>
+    <interface-name>?</interface-name>
+    <node-name>InLine</node-name>
+    <kind>3</kind>
+    <coupled-node>?</coupled-node>
+    <service>
+<service-name>InLine</service-name>
+     <inParameter-list/>
+     <outParameter-list/>    </service>
+    <DataStream-list/>
+    <PyFunction-list>
+<PyFunction>
+<FuncName>?</FuncName>
+      <PyFunc><![CDATA[?]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>21/2/2005 - 10:9:51</creation-date>
+    <lastmodification-date>21/2/2005 - 10:9:51</lastmodification-date>
+    <editor-release>2.0</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>Compute Node</comment>
+    <x-position>74</x-position>
+    <y-position>178</y-position>   </node>
+   <node>
+<component-name>?</component-name>
+    <interface-name>?</interface-name>
+    <node-name>GoTo</node-name>
+    <kind>8</kind>
+    <coupled-node>InLine</coupled-node>
+    <service>
+<service-name>GoTo</service-name>
+     <inParameter-list/>
+     <outParameter-list/>    </service>
+    <DataStream-list/>
+    <PyFunction-list>
+<PyFunction>
+<FuncName>?</FuncName>
+      <PyFunc><![CDATA[?]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>21/2/2005 - 10:9:51</creation-date>
+    <lastmodification-date>21/2/2005 - 10:9:51</lastmodification-date>
+    <editor-release>2.0</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>Compute Node</comment>
+    <x-position>533</x-position>
+    <y-position>218</y-position>   </node>
+   <node>
+<component-name>AddComponent</component-name>
+    <interface-name>AddComponent</interface-name>
+    <node-name>AddWithoutSleep</node-name>
+    <kind>0</kind>
+    <coupled-node>?</coupled-node>
+    <service>
+<service-name>AddWithoutSleep</service-name>
+     <inParameter-list>
+<inParameter>
+<inParameter-type>double</inParameter-type>
+       <inParameter-name>x</inParameter-name>      </inParameter>
+      <inParameter>
+<inParameter-type>double</inParameter-type>
+       <inParameter-name>y</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
+<outParameter>
+<outParameter-type>double</outParameter-type>
+       <outParameter-name>FuncValue</outParameter-name>      </outParameter>
+      <outParameter>
+<outParameter-type>double</outParameter-type>
+       <outParameter-name>z</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list/>
+    <PyFunction-list/>
+    <creation-date>21/2/2005 - 10:9:51</creation-date>
+    <lastmodification-date>21/2/2005 - 10:9:51</lastmodification-date>
+    <editor-release>2.0</editor-release>
+    <author>?</author>
+    <container>localhost/FactoryServer</container>
+    <comment>AddWithoutSleep from AddComponent</comment>
+    <x-position>297</x-position>
+    <y-position>138</y-position>   </node>  </node-list>
+  <link-list>
+<link>
+<fromnode-name>InLine</fromnode-name>
+    <fromserviceparameter-name>Gate</fromserviceparameter-name>
+    <tonode-name>AddWithoutSleep</tonode-name>
+    <toserviceparameter-name>Gate</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
+<fromnode-name>GoTo</fromnode-name>
+    <fromserviceparameter-name>Gate</fromserviceparameter-name>
+    <tonode-name>InLine</tonode-name>
+    <toserviceparameter-name>Gate</toserviceparameter-name>
+    <coord-list>
+<coord>
+<x>69</x>
+      <y>420</y>     </coord>
+     <coord>
+<x>700</x>
+      <y>420</y>     </coord>    </coord-list>   </link>
+   <link>
+<fromnode-name>AddWithoutSleep</fromnode-name>
+    <fromserviceparameter-name>Gate</fromserviceparameter-name>
+    <tonode-name>GoTo</tonode-name>
+    <toserviceparameter-name>Gate</toserviceparameter-name>
+    <coord-list/>   </link>  </link-list>
+  <data-list>
+<data>
+<fromnode-name>GraphGOTOAddMemory</fromnode-name>
+    <fromserviceparameter-name>AddWithoutSleep__x</fromserviceparameter-name>
+    <tonode-name>AddWithoutSleep</tonode-name>
+    <toserviceparameter-name>x</toserviceparameter-name>
+    <data-value>
+<value-type>7</value-type>
+     <value>1</value>    </data-value>
+    <coord-list/>   </data>
+   <data>
+<fromnode-name>GraphGOTOAddMemory</fromnode-name>
+    <fromserviceparameter-name>AddWithoutSleep__y</fromserviceparameter-name>
+    <tonode-name>AddWithoutSleep</tonode-name>
+    <toserviceparameter-name>y</toserviceparameter-name>
+    <data-value>
+<value-type>7</value-type>
+     <value>2</value>    </data-value>
+    <coord-list/>   </data>  </data-list> </dataflow></supergraph>
diff --git a/examples/GraphGOTOMemory.py b/examples/GraphGOTOMemory.py
new file mode 100644 (file)
index 0000000..45d24c7
--- /dev/null
@@ -0,0 +1,47 @@
+
+# Generated python file of Graph GraphGOTOMemory
+
+from SuperV import *
+
+# Graph creation of GraphGOTOMemory
+def DefGraphGOTOMemory() :
+    GraphGOTOMemory = Graph( 'GraphGOTOMemory' )
+    GraphGOTOMemory.SetName( 'GraphGOTOMemory' )
+    GraphGOTOMemory.SetAuthor( 'JR' )
+    GraphGOTOMemory.SetComment( 'To study memory leaks' )
+    GraphGOTOMemory.Coords( 0 , 0 )
+    
+    # Creation of Factory Nodes
+    
+    # Creation of InLine Nodes
+    PyInLine = []
+    InLine = GraphGOTOMemory.INode( '' , PyInLine )
+    InLine.SetName( 'InLine' )
+    InLine.SetAuthor( '' )
+    InLine.SetComment( 'Compute Node' )
+    InLine.Coords( 74 , 178 )
+    IInLineGate = InLine.GetInPort( 'Gate' )
+    OInLineGate = InLine.GetOutPort( 'Gate' )
+    
+    # Creation of GOTO Nodes
+    PyGoTo = []
+    GoTo = GraphGOTOMemory.GNode( '' , PyGoTo , 'InLine' )
+    GoTo.SetName( 'GoTo' )
+    GoTo.SetAuthor( '' )
+    GoTo.SetComment( 'Compute Node' )
+    GoTo.Coords( 533 , 218 )
+    IGoToGate = GoTo.GetInPort( 'Gate' )
+    OGoToGate = GoTo.GetOutPort( 'Gate' )
+    
+    # Creation of Links
+    LInLineGateGoToGate = GraphGOTOMemory.Link( OInLineGate , IGoToGate )
+    
+    LGoToGateInLineGate = GraphGOTOMemory.Link( OGoToGate , IInLineGate )
+    LGoToGateInLineGate.AddCoord( 1 , 69 , 420 )
+    LGoToGateInLineGate.AddCoord( 2 , 700 , 420 )
+    
+    # Output Ports of the graph
+    return GraphGOTOMemory
+
+
+GraphGOTOMemory = DefGraphGOTOMemory()
diff --git a/examples/GraphGOTOMemory.xml b/examples/GraphGOTOMemory.xml
new file mode 100644 (file)
index 0000000..d9a98a9
--- /dev/null
@@ -0,0 +1,91 @@
+<!DOCTYPE SuperGraph>
+<supergraph>
+<dataflow>
+<info-list>
+<node>
+<component-name>?</component-name>
+    <interface-name>?</interface-name>
+    <node-name>GraphGOTOMemory</node-name>
+    <kind>1</kind>
+    <coupled-node>?</coupled-node>
+    <service>
+<service-name>GraphGOTOAddMemory_2</service-name>
+     <inParameter-list/>
+     <outParameter-list/>    </service>
+    <DataStream-list/>
+    <PyFunction-list/>
+    <creation-date>17/2/2005 - 14:8:55</creation-date>
+    <lastmodification-date>21/2/2005 - 10:10:15</lastmodification-date>
+    <editor-release>2.0</editor-release>
+    <author>JR</author>
+    <container>?</container>
+    <comment>To study memory leaks</comment>
+    <x-position>0</x-position>
+    <y-position>0</y-position>   </node>  </info-list>
+  <node-list>
+<node>
+<component-name>?</component-name>
+    <interface-name>?</interface-name>
+    <node-name>InLine</node-name>
+    <kind>3</kind>
+    <coupled-node>?</coupled-node>
+    <service>
+<service-name>InLine</service-name>
+     <inParameter-list/>
+     <outParameter-list/>    </service>
+    <DataStream-list/>
+    <PyFunction-list>
+<PyFunction>
+<FuncName>?</FuncName>
+      <PyFunc><![CDATA[?]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>21/2/2005 - 10:10:15</creation-date>
+    <lastmodification-date>21/2/2005 - 10:10:15</lastmodification-date>
+    <editor-release>2.0</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>Compute Node</comment>
+    <x-position>74</x-position>
+    <y-position>178</y-position>   </node>
+   <node>
+<component-name>?</component-name>
+    <interface-name>?</interface-name>
+    <node-name>GoTo</node-name>
+    <kind>8</kind>
+    <coupled-node>InLine</coupled-node>
+    <service>
+<service-name>GoTo</service-name>
+     <inParameter-list/>
+     <outParameter-list/>    </service>
+    <DataStream-list/>
+    <PyFunction-list>
+<PyFunction>
+<FuncName>?</FuncName>
+      <PyFunc><![CDATA[?]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>21/2/2005 - 10:10:15</creation-date>
+    <lastmodification-date>21/2/2005 - 10:10:15</lastmodification-date>
+    <editor-release>2.0</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>Compute Node</comment>
+    <x-position>533</x-position>
+    <y-position>218</y-position>   </node>  </node-list>
+  <link-list>
+<link>
+<fromnode-name>InLine</fromnode-name>
+    <fromserviceparameter-name>Gate</fromserviceparameter-name>
+    <tonode-name>GoTo</tonode-name>
+    <toserviceparameter-name>Gate</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
+<fromnode-name>GoTo</fromnode-name>
+    <fromserviceparameter-name>Gate</fromserviceparameter-name>
+    <tonode-name>InLine</tonode-name>
+    <toserviceparameter-name>Gate</toserviceparameter-name>
+    <coord-list>
+<coord>
+<x>69</x>
+      <y>420</y>     </coord>
+     <coord>
+<x>700</x>
+      <y>420</y>     </coord>    </coord-list>   </link>  </link-list>
+  <data-list/> </dataflow></supergraph>
diff --git a/examples/GraphLoopMemory.py b/examples/GraphLoopMemory.py
new file mode 100644 (file)
index 0000000..ac87929
--- /dev/null
@@ -0,0 +1,93 @@
+
+# Generated python file of Graph GraphLoopMemory_1
+
+from SuperV import *
+
+# Graph creation of GraphLoopMemory_1
+def DefGraphLoopMemory_1() :
+    GraphLoopMemory_1 = Graph( 'GraphLoopMemory_1' )
+    GraphLoopMemory_1.SetName( 'GraphLoopMemory_1' )
+    GraphLoopMemory_1.SetAuthor( 'JR' )
+    GraphLoopMemory_1.SetComment( 'For solving of memory leaks' )
+    GraphLoopMemory_1.Coords( 0 , 0 )
+    
+    # Creation of Factory Nodes
+    
+    # Creation of Loop Nodes
+    PyInit = []
+    PyInit.append( 'def Init(Index,Min,Max,Incr) :    ' )
+    PyInit.append( '    if Min <= Max :    ' )
+    PyInit.append( '        Index = Min    ' )
+    PyInit.append( '    else :    ' )
+    PyInit.append( '        Index = Max    ' )
+    PyInit.append( '    return Index,Min,Max,Incr    ' )
+    PyMoreInit = []
+    PyMoreInit.append( 'def More(Index,Min,Max,Incr) :    ' )
+    PyMoreInit.append( '    if Index < Max :    ' )
+    PyMoreInit.append( '        DoLoop = 1    ' )
+    PyMoreInit.append( '    else :    ' )
+    PyMoreInit.append( '        DoLoop = 0    ' )
+    PyMoreInit.append( '    return DoLoop,Index,Min,Max,Incr    ' )
+    PyNextInit = []
+    PyNextInit.append( 'def Next(Index,Min,Max,Incr) :    ' )
+    PyNextInit.append( '    Index = Index + Incr    ' )
+    PyNextInit.append( '    return Index,Min,Max,Incr   ' )
+    Init,EndInit = GraphLoopMemory_1.LNode( 'Init' , PyInit , 'More' , PyMoreInit , 'Next' , PyNextInit )
+    EndInit.SetName( 'EndInit' )
+    EndInit.SetAuthor( '' )
+    EndInit.SetComment( 'Compute Node' )
+    EndInit.Coords( 366 , 262 )
+    PyEndInit = []
+    EndInit.SetPyFunction( '' , PyEndInit )
+    IInitDoLoop = Init.GetInPort( 'DoLoop' )
+    IInitIndex = Init.InPort( 'Index' , 'long' )
+    IInitMin = Init.InPort( 'Min' , 'long' )
+    IInitMax = Init.InPort( 'Max' , 'long' )
+    IInitIncr = Init.InPort( 'Incr' , 'long' )
+    IInitGate = Init.GetInPort( 'Gate' )
+    OInitDoLoop = Init.GetOutPort( 'DoLoop' )
+    OInitIndex = Init.GetOutPort( 'Index' )
+    OInitMin = Init.GetOutPort( 'Min' )
+    OInitMax = Init.GetOutPort( 'Max' )
+    OInitIncr = Init.GetOutPort( 'Incr' )
+    IEndInitDoLoop = EndInit.GetInPort( 'DoLoop' )
+    IEndInitIndex = EndInit.GetInPort( 'Index' )
+    IEndInitMin = EndInit.GetInPort( 'Min' )
+    IEndInitMax = EndInit.GetInPort( 'Max' )
+    IEndInitIncr = EndInit.GetInPort( 'Incr' )
+    IEndInitGate = EndInit.GetInPort( 'Gate' )
+    OEndInitDoLoop = EndInit.GetOutPort( 'DoLoop' )
+    OEndInitIndex = EndInit.GetOutPort( 'Index' )
+    OEndInitMin = EndInit.GetOutPort( 'Min' )
+    OEndInitMax = EndInit.GetOutPort( 'Max' )
+    OEndInitIncr = EndInit.GetOutPort( 'Incr' )
+    OEndInitGate = EndInit.GetOutPort( 'Gate' )
+    Init.SetName( 'Init' )
+    Init.SetAuthor( '' )
+    Init.SetComment( 'Compute Node' )
+    Init.Coords( 17 , 257 )
+    
+    # Creation of Links
+    LInitIndexEndInitIndex = GraphLoopMemory_1.Link( OInitIndex , IEndInitIndex )
+    
+    LInitMinEndInitMin = GraphLoopMemory_1.Link( OInitMin , IEndInitMin )
+    
+    LInitMaxEndInitMax = GraphLoopMemory_1.Link( OInitMax , IEndInitMax )
+    
+    LInitIncrEndInitIncr = GraphLoopMemory_1.Link( OInitIncr , IEndInitIncr )
+    
+    # Input datas
+    IInitIndex.Input( 0 )
+    IInitMin.Input( 5 )
+    IInitMax.Input( 100000 )
+    IInitIncr.Input( 1 )
+    
+    # Output Ports of the graph
+    #OEndInitIndex = EndInit.GetOutPort( 'Index' )
+    #OEndInitMin = EndInit.GetOutPort( 'Min' )
+    #OEndInitMax = EndInit.GetOutPort( 'Max' )
+    #OEndInitIncr = EndInit.GetOutPort( 'Incr' )
+    return GraphLoopMemory_1
+
+
+GraphLoopMemory_1 = DefGraphLoopMemory_1()
diff --git a/examples/GraphLoopMemory.xml b/examples/GraphLoopMemory.xml
new file mode 100644 (file)
index 0000000..713b4e5
--- /dev/null
@@ -0,0 +1,235 @@
+<!DOCTYPE SuperGraph>
+<supergraph>
+<dataflow>
+<info-list>
+<node>
+<component-name>?</component-name>
+    <interface-name>?</interface-name>
+    <node-name>GraphLoopMemory_1</node-name>
+    <kind>1</kind>
+    <coupled-node>?</coupled-node>
+    <service>
+<service-name>GraphLoopMemory_1</service-name>
+     <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+       <inParameter-name>Init__Index</inParameter-name>      </inParameter>
+      <inParameter>
+<inParameter-type>long</inParameter-type>
+       <inParameter-name>Init__Min</inParameter-name>      </inParameter>
+      <inParameter>
+<inParameter-type>long</inParameter-type>
+       <inParameter-name>Init__Max</inParameter-name>      </inParameter>
+      <inParameter>
+<inParameter-type>long</inParameter-type>
+       <inParameter-name>Init__Incr</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+       <outParameter-name>EndInit__Index</outParameter-name>      </outParameter>
+      <outParameter>
+<outParameter-type>long</outParameter-type>
+       <outParameter-name>EndInit__Min</outParameter-name>      </outParameter>
+      <outParameter>
+<outParameter-type>long</outParameter-type>
+       <outParameter-name>EndInit__Max</outParameter-name>      </outParameter>
+      <outParameter>
+<outParameter-type>long</outParameter-type>
+       <outParameter-name>EndInit__Incr</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list/>
+    <PyFunction-list/>
+    <creation-date>24/3/2003 - 14:44:35</creation-date>
+    <lastmodification-date>21/2/2005 - 11:43:50</lastmodification-date>
+    <editor-release>1.04</editor-release>
+    <author>JR</author>
+    <container>?</container>
+    <comment>For solving of memory leaks</comment>
+    <x-position>0</x-position>
+    <y-position>0</y-position>   </node>  </info-list>
+  <node-list>
+<node>
+<component-name>?</component-name>
+    <interface-name>?</interface-name>
+    <node-name>Init</node-name>
+    <kind>4</kind>
+    <coupled-node>EndInit</coupled-node>
+    <service>
+<service-name>Init</service-name>
+     <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+       <inParameter-name>Index</inParameter-name>      </inParameter>
+      <inParameter>
+<inParameter-type>long</inParameter-type>
+       <inParameter-name>Min</inParameter-name>      </inParameter>
+      <inParameter>
+<inParameter-type>long</inParameter-type>
+       <inParameter-name>Max</inParameter-name>      </inParameter>
+      <inParameter>
+<inParameter-type>long</inParameter-type>
+       <inParameter-name>Incr</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+       <outParameter-name>Index</outParameter-name>      </outParameter>
+      <outParameter>
+<outParameter-type>long</outParameter-type>
+       <outParameter-name>Min</outParameter-name>      </outParameter>
+      <outParameter>
+<outParameter-type>long</outParameter-type>
+       <outParameter-name>Max</outParameter-name>      </outParameter>
+      <outParameter>
+<outParameter-type>long</outParameter-type>
+       <outParameter-name>Incr</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list/>
+    <PyFunction-list>
+<PyFunction>
+<FuncName>Init</FuncName>
+      <PyFunc><![CDATA[def Init(Index,Min,Max,Incr) :    ]]></PyFunc>
+      <PyFunc><![CDATA[    if Min <= Max :    ]]></PyFunc>
+      <PyFunc><![CDATA[        Index = Min    ]]></PyFunc>
+      <PyFunc><![CDATA[    else :    ]]></PyFunc>
+      <PyFunc><![CDATA[        Index = Max    ]]></PyFunc>
+      <PyFunc><![CDATA[    return Index,Min,Max,Incr    ]]></PyFunc>     </PyFunction>
+     <PyFunction>
+<FuncName>More</FuncName>
+      <PyFunc><![CDATA[def More(Index,Min,Max,Incr) :    ]]></PyFunc>
+      <PyFunc><![CDATA[    if Index < Max :    ]]></PyFunc>
+      <PyFunc><![CDATA[        DoLoop = 1    ]]></PyFunc>
+      <PyFunc><![CDATA[    else :    ]]></PyFunc>
+      <PyFunc><![CDATA[        DoLoop = 0    ]]></PyFunc>
+      <PyFunc><![CDATA[    return DoLoop,Index,Min,Max,Incr    ]]></PyFunc>     </PyFunction>
+     <PyFunction>
+<FuncName>Next</FuncName>
+      <PyFunc><![CDATA[def Next(Index,Min,Max,Incr) :    ]]></PyFunc>
+      <PyFunc><![CDATA[    Index = Index + Incr    ]]></PyFunc>
+      <PyFunc><![CDATA[    return Index,Min,Max,Incr   ]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>21/2/2005 - 11:43:50</creation-date>
+    <lastmodification-date>21/2/2005 - 11:43:50</lastmodification-date>
+    <editor-release>1.04</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>Compute Node</comment>
+    <x-position>17</x-position>
+    <y-position>257</y-position>   </node>
+   <node>
+<component-name>?</component-name>
+    <interface-name>?</interface-name>
+    <node-name>EndInit</node-name>
+    <kind>5</kind>
+    <coupled-node>Init</coupled-node>
+    <service>
+<service-name>EndInit</service-name>
+     <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+       <inParameter-name>Index</inParameter-name>      </inParameter>
+      <inParameter>
+<inParameter-type>long</inParameter-type>
+       <inParameter-name>Min</inParameter-name>      </inParameter>
+      <inParameter>
+<inParameter-type>long</inParameter-type>
+       <inParameter-name>Max</inParameter-name>      </inParameter>
+      <inParameter>
+<inParameter-type>long</inParameter-type>
+       <inParameter-name>Incr</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+       <outParameter-name>Index</outParameter-name>      </outParameter>
+      <outParameter>
+<outParameter-type>long</outParameter-type>
+       <outParameter-name>Min</outParameter-name>      </outParameter>
+      <outParameter>
+<outParameter-type>long</outParameter-type>
+       <outParameter-name>Max</outParameter-name>      </outParameter>
+      <outParameter>
+<outParameter-type>long</outParameter-type>
+       <outParameter-name>Incr</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list/>
+    <PyFunction-list>
+<PyFunction>
+<FuncName>?</FuncName>
+      <PyFunc><![CDATA[?]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>21/2/2005 - 11:43:50</creation-date>
+    <lastmodification-date>21/2/2005 - 11:43:50</lastmodification-date>
+    <editor-release>1.04</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>Compute Node</comment>
+    <x-position>366</x-position>
+    <y-position>262</y-position>   </node>  </node-list>
+  <link-list>
+<link>
+<fromnode-name>Init</fromnode-name>
+    <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
+    <tonode-name>EndInit</tonode-name>
+    <toserviceparameter-name>DoLoop</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
+<fromnode-name>Init</fromnode-name>
+    <fromserviceparameter-name>Index</fromserviceparameter-name>
+    <tonode-name>EndInit</tonode-name>
+    <toserviceparameter-name>Index</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
+<fromnode-name>Init</fromnode-name>
+    <fromserviceparameter-name>Min</fromserviceparameter-name>
+    <tonode-name>EndInit</tonode-name>
+    <toserviceparameter-name>Min</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
+<fromnode-name>Init</fromnode-name>
+    <fromserviceparameter-name>Max</fromserviceparameter-name>
+    <tonode-name>EndInit</tonode-name>
+    <toserviceparameter-name>Max</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
+<fromnode-name>Init</fromnode-name>
+    <fromserviceparameter-name>Incr</fromserviceparameter-name>
+    <tonode-name>EndInit</tonode-name>
+    <toserviceparameter-name>Incr</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
+<fromnode-name>EndInit</fromnode-name>
+    <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
+    <tonode-name>Init</tonode-name>
+    <toserviceparameter-name>DoLoop</toserviceparameter-name>
+    <coord-list/>   </link>  </link-list>
+  <data-list>
+<data>
+<fromnode-name>GraphLoopMemory_1</fromnode-name>
+    <fromserviceparameter-name>Init__Index</fromserviceparameter-name>
+    <tonode-name>Init</tonode-name>
+    <toserviceparameter-name>Index</toserviceparameter-name>
+    <data-value>
+<value-type>3</value-type>
+     <value>0</value>    </data-value>
+    <coord-list/>   </data>
+   <data>
+<fromnode-name>GraphLoopMemory_1</fromnode-name>
+    <fromserviceparameter-name>Init__Min</fromserviceparameter-name>
+    <tonode-name>Init</tonode-name>
+    <toserviceparameter-name>Min</toserviceparameter-name>
+    <data-value>
+<value-type>3</value-type>
+     <value>5</value>    </data-value>
+    <coord-list/>   </data>
+   <data>
+<fromnode-name>GraphLoopMemory_1</fromnode-name>
+    <fromserviceparameter-name>Init__Max</fromserviceparameter-name>
+    <tonode-name>Init</tonode-name>
+    <toserviceparameter-name>Max</toserviceparameter-name>
+    <data-value>
+<value-type>3</value-type>
+     <value>100000</value>    </data-value>
+    <coord-list/>   </data>
+   <data>
+<fromnode-name>GraphLoopMemory_1</fromnode-name>
+    <fromserviceparameter-name>Init__Incr</fromserviceparameter-name>
+    <tonode-name>Init</tonode-name>
+    <toserviceparameter-name>Incr</toserviceparameter-name>
+    <data-value>
+<value-type>3</value-type>
+     <value>1</value>    </data-value>
+    <coord-list/>   </data>  </data-list> </dataflow></supergraph>