*** 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 'cmd_implies_braking_wheel_8' defined in component 'wbs_arch4'

[(1). +1 +7 +7..........(2). +4 +8 +8 +9 +8 +8 +8 +8 +3..........(3)...........(>3)...........(any)]
[(1). +15..........(2). +36 +28..........(3)...........(>3)...........(any)]
[(1)...........(>1)...........(any)]
[(1)...........(>1)...........(any)]
[(1)...........(>1)...........(any)]
[(1)...........(>1)...........(any)]
[(1)...........(>1)...........(any)]
[(1)...........(>1)...........(any)]
[(1)...........(>1)...........(any)]
[(1)...........(>1)...........(any)]
[(1)...........(>1)...........(any)]
[(1)...........(>1)...........(any)]

TYPE ERROR file stdin: line 32 : undefined identifier 'electrical_pedal_pos_L'

TYPE ERROR file stdin: line 1 : undefined identifier 'wheel_rolling_1'

TYPE ERROR file stdin: line 1 : undefined identifier 'brake_as_cmd_1'

TYPE ERROR file stdin: line 1 : undefined identifier 'wheel_rolling_2'

TYPE ERROR file stdin: line 1 : undefined identifier 'brake_as_cmd_2'

TYPE ERROR file stdin: line 1 : undefined identifier 'electrical_pedal_pos_R'

TYPE ERROR file stdin: line 1 : undefined identifier 'wheel_rolling_3'

TYPE ERROR file stdin: line 1 : undefined identifier 'brake_as_cmd_3'

TYPE ERROR file stdin: line 1 : undefined identifier 'wheel_rolling_4'

TYPE ERROR file stdin: line 1 : undefined identifier 'brake_as_cmd_4'

TYPE ERROR file stdin: line 1 : undefined identifier 'wheel_rolling_5'

TYPE ERROR file stdin: line 1 : undefined identifier 'brake_as_cmd_5'

TYPE ERROR file stdin: line 1 : undefined identifier 'wheel_rolling_6'

TYPE ERROR file stdin: line 1 : undefined identifier 'brake_as_cmd_6'

TYPE ERROR file stdin: line 1 : undefined identifier 'wheel_rolling_7'

TYPE ERROR file stdin: line 1 : undefined identifier 'brake_as_cmd_7'

TYPE ERROR file stdin: line 1 : undefined identifier 'wheel_rolling_8'

TYPE ERROR file stdin: line 1 : undefined identifier 'brake_as_cmd_8'

TYPE ERROR file stdin: line 1 : undefined identifier 'as_cmd_pair_1_5'

TYPE ERROR file stdin: line 1 : undefined identifier 'as_cmd_pair_2_6'

TYPE ERROR file stdin: line 1 : undefined identifier 'as_cmd_pair_3_7'

TYPE ERROR file stdin: line 1 : undefined identifier 'as_cmd_pair_4_8'

Diagnosis Result:

 Subcontract 'ctrl_sys.expected_behavior_brake_as_cmd_8' is irrelevant

 Subcontract 'ctrl_sys.expected_behavior_brake_as_cmd_4' is irrelevant

 Subcontract 'phys_sys.cmd_implies_braking_wheel_4' is irrelevant

 Subcontract 'phys_sys.getting_green_pressure_in_selector_valve' is irrelevant

-Tighten Result N '1' for Weakening Assumption of Parent Contract 'cmd_implies_braking_wheel_8'
TRUE

Tighten Result for Weakening Guarantee of Subcontract 'system_validity' in Subcomponent 'ControlSystem'
 G (!system_validity | (((((((((((((power_1 | power_2) & ((electrical_pedal_pos_L & ((ground_speed > 0 & wheel_rolling_1) | ground_speed = 0)) <-> brake_as_cmd_1)) & ((electrical_pedal_pos_L & ((ground_speed > 0 & wheel_rolling_2) | ground_speed = 0)) <-> brake_as_cmd_2)) & ((electrical_pedal_pos_R & ((ground_speed > 0 & wheel_rolling_3) | ground_speed = 0)) <-> brake_as_cmd_3)) & ((electrical_pedal_pos_R & ((ground_speed > 0 & wheel_rolling_4) | ground_speed = 0)) <-> brake_as_cmd_4)) & ((electrical_pedal_pos_L & ((ground_speed > 0 & wheel_rolling_5) | ground_speed = 0)) <-> brake_as_cmd_5)) & ((electrical_pedal_pos_L & ((ground_speed > 0 & wheel_rolling_6) | ground_speed = 0)) <-> brake_as_cmd_6)) & ((electrical_pedal_pos_R & ((ground_speed > 0 & wheel_rolling_7) | ground_speed = 0)) <-> brake_as_cmd_7)) & ((electrical_pedal_pos_R & ((ground_speed > 0 & wheel_rolling_8) | ground_speed = 0)) <-> brake_as_cmd_8)) & ((ground_speed > 0 & (!wheel_rolling_1 | !wheel_rolling_5)) <-> as_cmd_pair_1_5)) & ((ground_speed > 0 & (!wheel_rolling_2 | !wheel_rolling_6)) <-> as_cmd_pair_2_6)) & ((ground_speed > 0 & (!wheel_rolling_3 | !wheel_rolling_7)) <-> as_cmd_pair_3_7)) & ((ground_speed > 0 & (!wheel_rolling_4 | !wheel_rolling_8)) <-> as_cmd_pair_4_8)))

Tighten Result for Weakening Guarantee of Subcontract 'expected_behavior_as_cmd_pair_4_8' in Subcomponent 'ControlSystem'
 G (!as_cmd_pair_4_8 | ((system_validity & ground_speed > 0) & (!wheel_rolling_4 | !wheel_rolling_8)))

Tighten Result for Weakening Guarantee of Subcontract 'cmd_implies_braking_wheel_8' in Subcomponent 'PhysicalSystem'
 G (!((brake_as_cmd_8 & (green_pressure_in_selector_valve > 0 & system_validity)) | ((mechanical_pedal_pos_R & !as_cmd_pair_4_8) & (green_pressure_in_selector_valve = 0 | !system_validity))) | wheel_braking_force_8 > 0)

Tighten Result for Weakening Guarantee of Subcontract 'sensor_translation' in Subcomponent 'Sensor'
 G (!(wheel_status = rolling) | wheel_rolling)

Tighten Result for Weakening Guarantee of Subcontract 'pedal_position_translation' in Subcomponent 'SensorPedalPosition'
 G (!mechanical_pedal_pos | electrical_pedal_pos)

Diagnosis Result:

 Subcontract 'ctrl_sys.system_validity' is irrelevant

 Subcontract 'ctrl_sys.expected_behavior_brake_as_cmd_4' is irrelevant

 Subcontract 'phys_sys.cmd_implies_braking_wheel_4' is irrelevant

 Subcontract 'phys_sys.getting_green_pressure_in_selector_valve' is irrelevant

-Tighten Result N '2' for Weakening Assumption of Parent Contract 'cmd_implies_braking_wheel_8'
TRUE

Tighten Result for Weakening Guarantee of Subcontract 'expected_behavior_as_cmd_pair_4_8' in Subcomponent 'ControlSystem'
 G (!as_cmd_pair_4_8 | ((system_validity & ground_speed > 0) & (!wheel_rolling_4 | !wheel_rolling_8)))

Tighten Result for Weakening Guarantee of Subcontract 'expected_behavior_brake_as_cmd_8' in Subcomponent 'ControlSystem'
 G (!((system_validity & electrical_pedal_pos_R) & ((ground_speed > 0 & wheel_rolling_8) | ground_speed = 0)) | brake_as_cmd_8)

Tighten Result for Weakening Guarantee of Subcontract 'cmd_implies_braking_wheel_8' in Subcomponent 'PhysicalSystem'
 G (!((brake_as_cmd_8 & (green_pressure_in_selector_valve > 0 & system_validity)) | ((mechanical_pedal_pos_R & !as_cmd_pair_4_8) & (green_pressure_in_selector_valve = 0 | !system_validity))) | wheel_braking_force_8 > 0)

Tighten Result for Weakening Guarantee of Subcontract 'sensor_translation' in Subcomponent 'Sensor'
 G (!(wheel_status = rolling) | wheel_rolling)

Tighten Result for Weakening Guarantee of Subcontract 'pedal_position_translation' in Subcomponent 'SensorPedalPosition'
 G (!mechanical_pedal_pos | electrical_pedal_pos)

Diagnosis Result:

 Subcontract 'ctrl_sys.expected_behavior_brake_as_cmd_8' is irrelevant

 Subcontract 'ctrl_sys.expected_behavior_brake_as_cmd_4' is irrelevant

 Subcontract 'phys_sys.cmd_implies_braking_wheel_4' is irrelevant

 Subcontract 'sensor_4.sensor_translation' is irrelevant

-Tighten Result N '3' for Weakening Assumption of Parent Contract 'cmd_implies_braking_wheel_8'
 G (pump_power_1 & hydraulic_supply_1 = 10)

Tighten Result for Weakening Guarantee of Subcontract 'system_validity' in Subcomponent 'ControlSystem'
 G (!system_validity | (((((((((((((power_1 | power_2) & ((electrical_pedal_pos_L & ((ground_speed > 0 & wheel_rolling_1) | ground_speed = 0)) <-> brake_as_cmd_1)) & ((electrical_pedal_pos_L & ((ground_speed > 0 & wheel_rolling_2) | ground_speed = 0)) <-> brake_as_cmd_2)) & ((electrical_pedal_pos_R & ((ground_speed > 0 & wheel_rolling_3) | ground_speed = 0)) <-> brake_as_cmd_3)) & ((electrical_pedal_pos_R & ((ground_speed > 0 & wheel_rolling_4) | ground_speed = 0)) <-> brake_as_cmd_4)) & ((electrical_pedal_pos_L & ((ground_speed > 0 & wheel_rolling_5) | ground_speed = 0)) <-> brake_as_cmd_5)) & ((electrical_pedal_pos_L & ((ground_speed > 0 & wheel_rolling_6) | ground_speed = 0)) <-> brake_as_cmd_6)) & ((electrical_pedal_pos_R & ((ground_speed > 0 & wheel_rolling_7) | ground_speed = 0)) <-> brake_as_cmd_7)) & ((electrical_pedal_pos_R & ((ground_speed > 0 & wheel_rolling_8) | ground_speed = 0)) <-> brake_as_cmd_8)) & ((ground_speed > 0 & (!wheel_rolling_1 | !wheel_rolling_5)) <-> as_cmd_pair_1_5)) & ((ground_speed > 0 & (!wheel_rolling_2 | !wheel_rolling_6)) <-> as_cmd_pair_2_6)) & ((ground_speed > 0 & (!wheel_rolling_3 | !wheel_rolling_7)) <-> as_cmd_pair_3_7)) & ((ground_speed > 0 & (!wheel_rolling_4 | !wheel_rolling_8)) <-> as_cmd_pair_4_8)))

Tighten Result for Weakening Guarantee of Subcontract 'expected_behavior_as_cmd_pair_4_8' in Subcomponent 'ControlSystem'
 G (!as_cmd_pair_4_8 | ((system_validity & ground_speed > 0) & (!wheel_rolling_4 | !wheel_rolling_8)))

Tighten Result for Weakening Guarantee of Subcontract 'cmd_implies_braking_wheel_8' in Subcomponent 'PhysicalSystem'
 G (!((brake_as_cmd_8 & (green_pressure_in_selector_valve > 0 & system_validity)) | ((mechanical_pedal_pos_R & !as_cmd_pair_4_8) & (green_pressure_in_selector_valve = 0 | !system_validity))) | wheel_braking_force_8 > 0)

Tighten Result for Weakening Guarantee of Subcontract 'sensor_translation' in Subcomponent 'Sensor'
 G (!(wheel_status = rolling) | wheel_rolling)

Tighten Result for Weakening Guarantee of Subcontract 'getting_green_pressure_in_selector_valve' in Subcomponent 'PhysicalSystem'
 G (!((system_validity & pump_power_1) & hydraulic_supply_1 > 0) | green_pressure_in_selector_valve > 0)

Tighten Result for Weakening Guarantee of Subcontract 'pedal_position_translation' in Subcomponent 'SensorPedalPosition'
 G (!mechanical_pedal_pos | electrical_pedal_pos)

Diagnosis Result:

 Subcontract 'ctrl_sys.system_validity' is irrelevant

 Subcontract 'ctrl_sys.expected_behavior_brake_as_cmd_4' is irrelevant

 Subcontract 'phys_sys.cmd_implies_braking_wheel_4' is irrelevant

 Subcontract 'sensor_4.sensor_translation' is irrelevant

-Tighten Result N '4' for Weakening Assumption of Parent Contract 'cmd_implies_braking_wheel_8'
 G (pump_power_1 & hydraulic_supply_1 = 10)

Tighten Result for Weakening Guarantee of Subcontract 'expected_behavior_as_cmd_pair_4_8' in Subcomponent 'ControlSystem'
 G (!as_cmd_pair_4_8 | ((system_validity & ground_speed > 0) & (!wheel_rolling_4 | !wheel_rolling_8)))

Tighten Result for Weakening Guarantee of Subcontract 'expected_behavior_brake_as_cmd_8' in Subcomponent 'ControlSystem'
 G (!((system_validity & electrical_pedal_pos_R) & ((ground_speed > 0 & wheel_rolling_8) | ground_speed = 0)) | brake_as_cmd_8)

Tighten Result for Weakening Guarantee of Subcontract 'cmd_implies_braking_wheel_8' in Subcomponent 'PhysicalSystem'
 G (!((brake_as_cmd_8 & (green_pressure_in_selector_valve > 0 & system_validity)) | ((mechanical_pedal_pos_R & !as_cmd_pair_4_8) & (green_pressure_in_selector_valve = 0 | !system_validity))) | wheel_braking_force_8 > 0)

Tighten Result for Weakening Guarantee of Subcontract 'sensor_translation' in Subcomponent 'Sensor'
 G (!(wheel_status = rolling) | wheel_rolling)

Tighten Result for Weakening Guarantee of Subcontract 'getting_green_pressure_in_selector_valve' in Subcomponent 'PhysicalSystem'
 G (!((system_validity & pump_power_1) & hydraulic_supply_1 > 0) | green_pressure_in_selector_valve > 0)

Tighten Result for Weakening Guarantee of Subcontract 'pedal_position_translation' in Subcomponent 'SensorPedalPosition'
 G (!mechanical_pedal_pos | electrical_pedal_pos)

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

(Length_input=815, Length_tighten=358)

A tightened oss spec (number = '2') was generated named 'wbs_arch4.oss_T2.oss'

(Length_input=815, Length_tighten=62)

A tightened oss spec (number = '3') was generated named 'wbs_arch4.oss_T3.oss'

(Length_input=815, Length_tighten=374)

A tightened oss spec (number = '4') was generated named 'wbs_arch4.oss_T4.oss'

(Length_input=815, Length_tighten=78)


DONE(parameters=84, time_encode=64.1990, time_compos=17.0300)
Warning: in the refinement of component SensorPedalPosition the following ports are not connected:
input port mechanical_pedal_pos
output port electrical_pedal_pos
Warning: in the refinement of component Sensor the following ports are not connected:
input port wheel_status
output port wheel_rolling
Success: the oss specification is syntactically correct

********   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 (((brake_as_cmd_8 & (shutoff_valve.hyd_pressure_out > 0 & system_validity)) | ((mechanical_pedal_pos_R & !as_cmd_pair_4_8) & (shutoff_valve.hyd_pressure_out = 0 | !system_validity))) -> wheel_brake_8.braking_force > 0)) |  G (!((brake_as_cmd_8 & (shutoff_valve.hyd_pressure_out > 0 & system_validity)) | ((mechanical_pedal_pos_R & !as_cmd_pair_4_8) & (shutoff_valve.hyd_pressure_out = 0 | !system_validity))) | wheel_brake_8.braking_force > 0))  is true
Entailment tighten_W_cmd_implies_braking_wheel_8_at_PhysicalSystem: OK 

********   WARNING   ********
The initial states set of the finite state machine is empty.
This might make results of model checking not trustable.
******** END WARNING ********
-- specification TRUE  is true
Entailment tighten_W_cmd_implies_braking_wheel_8_at_wbs_arch4: OK 
-- specification (!( G (bscu.system_validity <-> (((((((((((((power_1 | power_2) & ((electrical_pedal_pos_L & ((ground_speed > 0 & wheel_rolling_1) | ground_speed = 0)) <-> bscu.brake_as_cmd_1)) & ((electrical_pedal_pos_L & ((ground_speed > 0 & wheel_rolling_2) | ground_speed = 0)) <-> bscu.brake_as_cmd_2)) & ((electrical_pedal_pos_R & ((ground_speed > 0 & wheel_rolling_3) | ground_speed = 0)) <-> bscu.brake_as_cmd_3)) & ((electrical_pedal_pos_R & ((ground_speed > 0 & wheel_rolling_4) | ground_speed = 0)) <-> bscu.brake_as_cmd_4)) & ((electrical_pedal_pos_L & ((ground_speed > 0 & wheel_rolling_5) | ground_speed = 0)) <-> bscu.brake_as_cmd_5)) & ((electrical_pedal_pos_L & ((ground_speed > 0 & wheel_rolling_6) | ground_speed = 0)) <-> bscu.brake_as_cmd_6)) & ((electrical_pedal_pos_R & ((ground_speed > 0 & wheel_rolling_7) | ground_speed = 0)) <-> bscu.brake_as_cmd_7)) & ((electrical_pedal_pos_R & ((ground_speed > 0 & wheel_rolling_8) | ground_speed = 0)) <-> bscu.brake_as_cmd_8)) & ((ground_speed > 0 & (!wheel_rolling_1 | !wheel_rolling_5)) <-> bscu.as_cmd_pair_1_5)) & ((ground_speed > 0 & (!wheel_rolling_2 | !wheel_rolling_6)) <-> bscu.as_cmd_pair_2_6)) & ((ground_speed > 0 & (!wheel_rolling_3 | !wheel_rolling_7)) <-> bscu.as_cmd_pair_3_7)) & ((ground_speed > 0 & (!wheel_rolling_4 | !wheel_rolling_8)) <-> bscu.as_cmd_pair_4_8)))) |  G (!bscu.system_validity | (((((((((((((power_1 | power_2) & ((electrical_pedal_pos_L & ((ground_speed > 0 & wheel_rolling_1) | ground_speed = 0)) <-> bscu.brake_as_cmd_1)) & ((electrical_pedal_pos_L & ((ground_speed > 0 & wheel_rolling_2) | ground_speed = 0)) <-> bscu.brake_as_cmd_2)) & ((electrical_pedal_pos_R & ((ground_speed > 0 & wheel_rolling_3) | ground_speed = 0)) <-> bscu.brake_as_cmd_3)) & ((electrical_pedal_pos_R & ((ground_speed > 0 & wheel_rolling_4) | ground_speed = 0)) <-> bscu.brake_as_cmd_4)) & ((electrical_pedal_pos_L & ((ground_speed > 0 & wheel_rolling_5) | ground_speed = 0)) <-> bscu.brake_as_cmd_5)) & ((electrical_pedal_pos_L & ((ground_speed > 0 & wheel_rolling_6) | ground_speed = 0)) <-> bscu.brake_as_cmd_6)) & ((electrical_pedal_pos_R & ((ground_speed > 0 & wheel_rolling_7) | ground_speed = 0)) <-> bscu.brake_as_cmd_7)) & ((electrical_pedal_pos_R & ((ground_speed > 0 & wheel_rolling_8) | ground_speed = 0)) <-> bscu.brake_as_cmd_8)) & ((ground_speed > 0 & (!wheel_rolling_1 | !wheel_rolling_5)) <-> bscu.as_cmd_pair_1_5)) & ((ground_speed > 0 & (!wheel_rolling_2 | !wheel_rolling_6)) <-> bscu.as_cmd_pair_2_6)) & ((ground_speed > 0 & (!wheel_rolling_3 | !wheel_rolling_7)) <-> bscu.as_cmd_pair_3_7)) & ((ground_speed > 0 & (!wheel_rolling_4 | !wheel_rolling_8)) <-> bscu.as_cmd_pair_4_8))))  is true
Entailment tighten_W_system_validity_at_ControlSystem: OK 
-- specification (!( G (((bscu.system_validity & ground_speed > 0) & (!wheel_rolling_4 | !wheel_rolling_8)) -> bscu.as_cmd_pair_4_8) &  G (bscu.as_cmd_pair_4_8 -> ((bscu.system_validity & ground_speed > 0) & (!wheel_rolling_4 | !wheel_rolling_8)))) |  G (!bscu.as_cmd_pair_4_8 | ((bscu.system_validity & ground_speed > 0) & (!wheel_rolling_4 | !wheel_rolling_8))))  is true
Entailment tighten_W_expected_behavior_as_cmd_pair_4_8_at_ControlSystem: OK 
-- specification (!( G (mechanical_pedal_pos <-> electrical_pedal_pos)) |  G (!mechanical_pedal_pos | electrical_pedal_pos))  is true
Entailment tighten_W_pedal_position_translation_at_SensorPedalPosition: OK 
-- specification (!( G (wheel_rolling <-> wheel_status = rolling)) |  G (!(wheel_status = rolling) | wheel_rolling))  is true
Entailment tighten_W_sensor_translation_at_Sensor: OK 

All validation properties have been checked. 
