My question is about the number of partial orders of finite set. For example, if $S=\{a, b\}$, then there are 4 partial orders $\{ (a, a), (b, b) \}$, $\{ (a, a), (a, b), (b, b) \}$, $\{ (a, a), (b, a), (b, b) \}$, $\{ (a, a), (a, b), (b, a), (b, b) \}$. Then, how many are there partial orders if $|S|=n$?
I tried to count for the case $|S|=3$, $\{ (a, a), (b, b), (c, c) \}$, $\{ (a, a), (b, b), (c, c), (a, b) \}$, $\{ (a, a), (b, b), (c, c), (a, b), (b, c), (a, c) \}$, and so on. But it is too inefficient and does not give any insight.
If this is a difficult question, then I want to just know the case of $|S|=3$.
In the usual terminology, a partial order is required be antisymmetric: if $x\le y$ and $y\le x$, then $x=y$. Thus there are only three partial orders on a two-element set; your fourth example in not antisymmetric.
Apparently, you want to count the more general quasi-orders aka preorders, i.e., reflexive transitive relations. (On a finite set, there is a one-to-one correspondence between quasi-orders and topologies.)
The number of quasi-orders (or equivalently, the number of topologies) on an $n$-element set is sequence A000798 at the OEIS. There are $29$ quasi-orders on a $3$-element set.