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

[(1). +1 +8..........(2). +8 +15 +15 +6..........(3)...........(>3)...........(any)]
[(1). +7. +2.........(2). +16. +28.........(3)...........(>3)...........(any)]
[(1)...........(>1)...........(any)]
[(1)...........(>1)...........(any)]
[(1)...........(>1)...........(any)]
[(1). +4..........(2). +32..........(3)...........(>3)...........(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_as_cmd_pair_4_8' is irrelevant

 Subcontract 'ctrl_sys.expected_behavior_brake_as_cmd_8' is irrelevant

 Subcontract 'sensor_8.sensor_translation' is irrelevant

-Tighten Result N '1' for Weakening Assumption of Parent Contract 'never_inadvertent_braking_of_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 'braking_wheel_8_implies_cmd' in Subcomponent 'PhysicalSystem'
 G (!(wheel_braking_force_8 > 0) | ((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))))

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

Diagnosis Result:

 Subcontract 'ctrl_sys.system_validity' is irrelevant

 Subcontract 'sensor_8.sensor_translation' is irrelevant

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

Tighten Result for Weakening Guarantee of Subcontract 'expected_behavior_as_cmd_pair_4_8' in Subcomponent 'ControlSystem'
 G (!((system_validity & ground_speed > 0) & (!wheel_rolling_4 | !wheel_rolling_8)) | as_cmd_pair_4_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) &  G (!brake_as_cmd_8 | ((system_validity & electrical_pedal_pos_R) & ((ground_speed > 0 & wheel_rolling_8) | ground_speed = 0))))

Tighten Result for Weakening Guarantee of Subcontract 'braking_wheel_8_implies_cmd' in Subcomponent 'PhysicalSystem'
 G (!(wheel_braking_force_8 > 0) | ((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))))

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

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

(Length_input=740, Length_tighten=343)

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

(Length_input=740, Length_tighten=77)


DONE(parameters=58, time_encode=36.9200, time_compos=19.0910)
