*** This is ocra 1.4.0 (compiled on Tue Feb 14 10:27:10 2017)
*** For more information on ocra see <https://es.fbk.eu/tools/ocra/>
*** For bug reports, or any comment, please send an email to <ocra@list.fbk.eu>.
*** Copyright (c) 2013, Fondazione Bruno Kessler

*** This version of ocra is linked to NuSMV 2.6.0.
*** For more information on NuSMV see <http://nusmv.fbk.eu>
*** or email to <nusmv-users@list.fbk.eu>.
*** Copyright (C) 2010-2014, Fondazione Bruno Kessler

*** This version of ocra is linked to the CUDD library version 2.4.1
*** Copyright (c) 1995-2004, Regents of the University of Colorado

*** This version of ocra is linked to the MiniSat SAT solver. 
*** See http://minisat.se/MiniSat.html
*** Copyright (c) 2003-2006, Niklas Een, Niklas Sorensson
*** Copyright (c) 2007-2010, Niklas Sorensson


Top-down tightening contract refinement of 'valid' defined in component 'BSCU'

[(1). +12. +9.........(2)...........(>2)...........(any)]
[(1). +12. +9.........(2)...........(>2)...........(any)]
[(1)...........(>1)...........(any)]
[(1)...........(>1)...........(any)]
[(1)...........(>1)...........(any)]
[(1). +4..........(2). +2. +8.........(3)...........(>3)...........(any)]

Diagnosis Result:

 All subcontracts are relevants for the contract refinement

-Tighten Result N '1' for Weakening Assumption of Parent Contract 'valid'
 G ((!Pedal_Pos1 | Pedal_Pos2) & (!Pedal_Pos2 | Pedal_Pos1))

Tighten Result for Weakening Guarantee of Subcontract 'valid' in Subcomponent 'subBSCU'
 G (!(Pedal_Pos & !( X CMD_AS)) |  X !Valid)

Tighten Result for Weakening Guarantee of Subcontract 'select' in Subcomponent 'Select_Switch'
 G ((!Select | (!In1 | Out)) & (Select | (!In2 | Out)))

A tightened oss spec (number = '1') was generated named 'WBS_ARP_v1.oss_T1.oss'

(Length_input=41, Length_tighten=31)


DONE(parameters=35, time_encode=2.1460, time_compos=2.3420)
:START:benchmarking ocra_check_refinement
:START:Check Refinement

Checking refinement of component: system
  The refinement is correct

Checking refinement of component: BSCU
  The refinement is correct

Checking refinement of component: subBSCU

Checking refinement of component: Select_Switch

Checking refinement of component: Hydraulic
  
  Summary: everything is OK.
  :STOP:Check Refinement
  :TIME:Check Refinement = 0.2900 secs.
  Warning: in the refinement of component Select_Switch the following ports are not connected:
  input port In1
  input port In2
  input port Select
  output port Out
Warning: in the refinement of component subBSCU the following ports are not connected:
input port Pedal_Pos
output port CMD_AS
output port Valid
  :START:benchmarking ocra_check_refinement
  :START:Check Refinement

Checking refinement of component: system
  The refinement is correct

Checking refinement of component: BSCU
  The refinement is correct

Checking refinement of component: subBSCU

Checking refinement of component: Select_Switch

Checking refinement of component: Hydraulic
  
  Summary: everything is OK.
  :STOP:Check Refinement
  :TIME:Check Refinement = 0.4350 secs.
  
  ********   WARNING   ********
  The initial states set of the finite state machine is empty.
  This might make results of model checking not trustable.
  ******** END WARNING ********
  -- specification (!( G ((Select -> (In1 -> Out)) & (!Select -> (In2 -> Out)))) |  G ((!Select | (!In1 | Out)) & (Select | (!In2 | Out))))  is true
  Entailment tighten_W_select_at_Select_Switch: OK 
  -- specification (!(Valid &  G ((Pedal_Pos & !( X CMD_AS)) <->  X !Valid)) |  G (!(Pedal_Pos & !( X CMD_AS)) |  X !Valid))  is true
  Entailment tighten_W_valid_at_subBSCU: OK 
  -- specification (!( G (Pedal_Pos1 <-> Pedal_Pos2)) |  G ((!Pedal_Pos1 | Pedal_Pos2) & (!Pedal_Pos2 | Pedal_Pos1)))  is true
  Entailment tighten_W_valid_at_BSCU: OK 
  
  All validation properties have been checked. 
