[89] | 1 | We have conducted preliminary experiments to test and compare the performance |
---|
| 2 | of our strategy with existing abstraction-refinement techniques available in |
---|
| 3 | VIS. There are several abstraction-refinement techniques implemented in VIS |
---|
| 4 | accessible via \emph{approximate\_model\_check}, |
---|
| 5 | \emph{iterative\_model\_check}, \emph{check\_invariant} and |
---|
| 6 | \emph{incremental\_ctl\_model\_check} commands. However, among the available |
---|
| 7 | techniques, \emph{incremental\_ctl\_model\_check} is the only one that supports CTL formulas and fairness constraints which are necessary in our test platforms. It is an automatic abstraction refinement algorithm which generates an initial conservative abstraction principally by reducing the size of the latches by a constant factor. If the initial abstraction is not conclusive, a \emph{goal set} will then be computed in order to guide the refinement process \cite{PardoHachtel98incremCTLMC} \cite{PardoHachtel97autoAbsMC}. |
---|
[64] | 8 | |
---|
[80] | 9 | |
---|
[88] | 10 | We have executed and compared the execution time and the number of refinement iterations for two examples: VCI-PI platform consisting of Virtual Component Interface (VCI), a PI-Bus and VCI-PI protocol converter and a simplified version of a CAN bus platform consisting of 3 nodes on a CAN bus. Table \ref{StatsPlatform} gives the size and the statistics concerning the VCI-PI platform and CAN bus platform verified. All the values are obtained using the \emph{compute\_reach} command with option \emph{-v 1} in VIS except the number of BDD variables, computed using the \emph{print\_bdd\_stats} command. The experiments have been executed on a PC with an AMD Athlon dual-core processor 4450e and 1.8GB of RAM memory. |
---|
[66] | 11 | |
---|
[80] | 12 | |
---|
[71] | 13 | \begin{table*} [ht] |
---|
[88] | 14 | \hspace*{15mm} |
---|
| 15 | \small |
---|
| 16 | \begin{tabular}{cclcccc} |
---|
[66] | 17 | |
---|
[71] | 18 | \toprule |
---|
[88] | 19 | \multicolumn{3}{l}{\textbf{Experiment}} & \emph{Number of} & \emph{BDD} & \emph{Number of } & \emph{Analysis}\\ |
---|
| 20 | \multicolumn{3}{l}{\textbf{Platform}} &\emph{BDD Variables} & \emph{Size} & \emph{Reachable States} & \emph{Time (s)} \\ |
---|
[71] | 21 | \midrule |
---|
| 22 | \midrule |
---|
[88] | 23 | & & 1 Master-1 Slave & 304 & 7207 & 4.711e+3 & 6.36 \\ |
---|
| 24 | & Concrete & 2 Masters-1 Slave & 445 & 24406 & 7.71723e+06 & 35.2 \\ |
---|
| 25 | & Model & 4 Masters-1 Slave & 721 & 84118 & 3.17332e+12 & 2818.3 \\ |
---|
| 26 | & & 4 Masters-2 Slaves & 911 & N/A & N/A & >1 day \\ |
---|
| 27 | \cline{2-7} |
---|
| 28 | \cline{2-7} |
---|
| 29 | & Final & 1 Master-1 Slave & 197 & 76 & 5.03316e+07 & 0.01 \\ |
---|
| 30 | VCI-PI & Abstract & 2 Masters-1 Slave & 301 & 99 & 4.12317e+11 & 0.02 \\ |
---|
| 31 | & Model & 4 Masters-1 Slave & 501 & 147 & 3.45876e+18 & 0.03\\ |
---|
| 32 | & for $\phi_1$ & 4 Masters-2 Slaves & 589 & 167 & 7.08355e+21 & 0.04 \\ |
---|
| 33 | \cline{2-7} |
---|
| 34 | & Final & 1 Master-1 Slave & 194 & 50 & 2.62144e+07 & 0 \\ |
---|
| 35 | & Abstract & 2 Masters-1 Slave & 298 & 73 & 2.14748e+11 & 0.01 \\ |
---|
| 36 | & Model & 4 Masters-1 Slave & 498 & 121 & 1.80144e+18 & 0.02 \\ |
---|
| 37 | & for $\phi_2$ & 4 Masters-2 Slaves & 586 & 141 & 3.68935e+21 & 0.02 \\ |
---|
[71] | 38 | \midrule |
---|
| 39 | \midrule |
---|
[88] | 40 | &\multicolumn{2}{c}{Concrete Model} & 822 & 161730 & 3.7354e+07 & 300.12 \\ |
---|
| 41 | \cline{2-7} |
---|
| 42 | \cline{2-7} |
---|
| 43 | CAN Bus &\multicolumn{2}{c}{Final Abstract Model for $\phi_3$} & 425 & 187 & 1.66005e+12 & 0.03 \\ |
---|
| 44 | \cline{2-7} |
---|
| 45 | &\multicolumn{2}{c}{Final Abstract Model for $\phi_4$} & 425 & 187 & 1.66005e+12 & 0.04 \\ |
---|
[71] | 46 | \bottomrule |
---|
| 47 | \bottomrule |
---|
| 48 | \end{tabular} |
---|
| 49 | |
---|
[88] | 50 | \caption{\label{StatsPlatform} Statistics on the VCI-PI and CAN Bus platform} |
---|
[71] | 51 | \end{table*} |
---|
| 52 | |
---|
| 53 | |
---|
[80] | 54 | |
---|
[66] | 55 | \begin{table} [h] |
---|
| 56 | %\hspace*{-8mm} |
---|
[88] | 57 | \small |
---|
| 58 | \addtolength{\tabcolsep}{-1pt} |
---|
| 59 | \begin{tabular}{ccccc} |
---|
[66] | 60 | \toprule |
---|
[88] | 61 | \emph{Experim.} &\emph{Global} &\emph{Verification} & \emph{Refine.} & \emph{Verif.} \\ |
---|
| 62 | \emph{Platform} &\emph{Property} & \emph{Technique} & \emph{Iter.} & \emph{Time (s)} \\ |
---|
[66] | 63 | \midrule |
---|
| 64 | \midrule |
---|
[88] | 65 | %\multicolumn{4}{l}{\textbf{\underline{1 Master - 1 Slave :}}} \\ |
---|
| 66 | & & Prop. Select. & 1 & 2.2 \\ |
---|
| 67 | VCI-PI: & $\phi_1$ & Incremental & 0 & 6.3 \\ |
---|
| 68 | 1 Master & & Standard MC & - & 6.06 \\ |
---|
| 69 | \cline{2-5} |
---|
| 70 | - & & Prop. Select. & 0 & 1.0 \\ |
---|
| 71 | 1 Slave & $\phi_2$ & Incremental & 562 & 200.9 \\ |
---|
| 72 | & & Standard MC & - & 6.13 \\ |
---|
[71] | 73 | \midrule |
---|
| 74 | \midrule |
---|
[88] | 75 | & & Prop. Select. & 1 & 2.0 \\ |
---|
| 76 | VCI-PI: & $\phi_1$ & Incremental & 0 & 20.4 \\ |
---|
| 77 | 2 Masters & & Standard MC & - & 37.9 \\ |
---|
| 78 | \cline{2-5} |
---|
| 79 | - & & Prop. Select. & 0 & 1.0 \\ |
---|
| 80 | 1 Slave & $\phi_2$ & Incremental & 74 & 786.3 \\ |
---|
| 81 | & & Standard MC & - & 39.4 \\ |
---|
[71] | 82 | \midrule |
---|
| 83 | \midrule |
---|
[88] | 84 | |
---|
| 85 | & & Prop. Select. & 1 & 2.1 \\ |
---|
| 86 | VCI-PI: & $\phi_1$ & Incremental & 0 & 261.6 \\ |
---|
| 87 | 4 Masters & & Standard MC & - & >1 day \\ |
---|
| 88 | \cline{2-5} |
---|
| 89 | - & & Prop. Select. & 0 & 1.0 \\ |
---|
| 90 | 1 Slave & $\phi_2$ & Incremental & 0 & 263.5 \\ |
---|
| 91 | & & Standard MC & - & >1 day \\ |
---|
| 92 | \midrule |
---|
[71] | 93 | \midrule |
---|
[88] | 94 | |
---|
| 95 | & & Prop. Select. & 1 & 2.2 \\ |
---|
| 96 | VCI-PI: & $\phi_1$ & Incremental & N/A & >1 day \\ |
---|
| 97 | 4 Masters & & Standard MC & - & >1 day \\ |
---|
| 98 | \cline{2-5} |
---|
| 99 | - & & Prop. Select. & 0 & 1.1\\ |
---|
| 100 | 2 Slaves & $\phi_2$ & Incremental & N/A & >1 day \\ |
---|
| 101 | & & Standard MC & - & >1 day\\ |
---|
[71] | 102 | \midrule |
---|
| 103 | \midrule |
---|
[88] | 104 | & & Prop. Select. & 0 & 1.02 \\ |
---|
| 105 | &$\phi_3$ & Incremental & N/A & >1 day \\ |
---|
| 106 | CAN & & Standard MC & - & 2645.4 \\ |
---|
| 107 | \cline{2-5} |
---|
| 108 | Bus & & Prop. Select. & 0 & 1.01 \\ |
---|
| 109 | &$\phi_4$ & Incremental & N/A & >1 day \\ |
---|
| 110 | & & Standard MC & - & 1678.1 \\ |
---|
| 111 | |
---|
[71] | 112 | \bottomrule |
---|
[66] | 113 | \bottomrule |
---|
| 114 | |
---|
| 115 | \end{tabular} |
---|
[88] | 116 | |
---|
| 117 | \caption{\label{TabVerif} Verification Results } |
---|
[66] | 118 | \end{table} |
---|
| 119 | |
---|
| 120 | |
---|
[72] | 121 | |
---|
[66] | 122 | |
---|
[89] | 123 | In Table \ref{TabVerif}, we compare the execution time and the number of refinment |
---|
| 124 | between our technique (Prop. Select.), \emph{incremental\_ctl\_verification} |
---|
| 125 | (Incremental) and the standard model checking (Standard MC) computed using the |
---|
| 126 | \emph{model\_check} command in VIS (Note: Dynamic variable ordering has been |
---|
| 127 | enabled with sift method). For the VCI-PI platform, the global property |
---|
| 128 | $\phi_1$ is the type $AF((p=1)*AF(q=1))$ and $\phi_2$ is actually a stronger |
---|
| 129 | version of the same formula with $AG(AF((p=1)*AF(q=1)))$. We have a total of |
---|
| 130 | 27 verifed components properties to be selected in VCI-PI plateform. |
---|
| 131 | In comparison to $\phi_2$, we can see that, a better set of properties available will result in a better abstraction and less refinement iterations. |
---|
[66] | 132 | |
---|
| 133 | |
---|
[89] | 134 | In the case of the CAN bus platform, the global property $\phi_3$ is the type |
---|
| 135 | $AG(((p'=1)*(q'=1)*AF(r_1=1)) \rightarrow AF((s_1=1)*AF(t_1=1)))$ and $\phi_4 |
---|
| 136 | = AG(((p'=1)*(q'=1)*AG(r_2=0)) \rightarrow AG((s_2=0)*(t_2=0)))$. We have at |
---|
| 137 | our disposal 103 verified component properties and after the selection process |
---|
| 138 | for the initial abstraction, 3 selected component properties were sufficient |
---|
| 139 | to verify both global properties without refinement. |
---|
[75] | 140 | |
---|
[89] | 141 | Globally, we can see that our technique systematically computes faster than the other two methods and interestingly in the case where the size of the platform increases by adding more connected components, in contrary to the other two methods, our computation time remains stable. |
---|
[80] | 142 | |
---|
| 143 | |
---|
| 144 | |
---|
[75] | 145 | %\medskip |
---|
| 146 | |
---|
| 147 | |
---|