*** 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

Warning: in the refinement of component SensorPedalPosition the following ports are not connected:
input port mechanical_pedal_pos
output port electrical_pedal_pos
:START:benchmarking ocra_check_refinement
:START:Check Refinement

Checking refinement of component: wbs_arch4
                Checking "CONTRACT cmd_implies_braking_wheel_4 REFINEDBY ctrl_sys.system_validity, ctrl_sys.expected_behavior_as_cmd_pair_4_8, ctrl_sys.expected_behavior_brake_as_cmd_4, phys_sys.cmd_implies_braking_wheel_4, sensor_4.sensor_translation, ctrl_sys.expected_behavior_brake_as_cmd_8, phys_sys.cmd_implies_braking_wheel_8, sensor_8.sensor_translation, phys_sys.getting_green_pressure_in_selector_valve, sensor_pedal_R.pedal_position_translation;"
                  Checking the correct implementation of "cmd_implies_braking_wheel_4"... [NOT OK, and trace 1 is a ctx]
                                    Checking "CONTRACT never_loss_of_all_wheel_braking REFINEDBY phys_sys.never_loss_of_all_wheel_braking, phys_sys.getting_green_pressure_in_selector_valve, ctrl_sys.system_validity, ctrl_sys.expected_behavior_as_cmd_pair_4_8, ctrl_sys.expected_behavior_brake_as_cmd_8, sensor_8.sensor_translation, ctrl_sys.expected_behavior_brake_as_cmd_4, sensor_4.sensor_translation, ctrl_sys.expected_behavior_as_cmd_pair_3_7, ctrl_sys.expected_behavior_brake_as_cmd_7, sensor_7.sensor_translation, ctrl_sys.expected_behavior_brake_as_cmd_3, sensor_3.sensor_translation, ctrl_sys.expected_behavior_as_cmd_pair_2_6, ctrl_sys.expected_behavior_brake_as_cmd_6, sensor_6.sensor_translation, ctrl_sys.expected_behavior_brake_as_cmd_2, sensor_2.sensor_translation, ctrl_sys.expected_behavior_as_cmd_pair_1_5, ctrl_sys.expected_behavior_brake_as_cmd_5, sensor_5.sensor_translation, ctrl_sys.expected_behavior_brake_as_cmd_1, sensor_1.sensor_translation, sensor_pedal_R.pedal_position_translation, sensor_pedal_L.pedal_position_translation;"
                                      Checking the correct implementation of "never_loss_of_all_wheel_braking"... [NOT OK, and trace 2 is a ctx]
                                                            Checking "CONTRACT never_asymmetric_loss_of_wheel_braking_right REFINEDBY phys_sys.never_asymmetric_loss_of_wheel_braking_right, phys_sys.getting_green_pressure_in_selector_valve, ctrl_sys.system_validity, ctrl_sys.expected_behavior_as_cmd_pair_4_8, ctrl_sys.expected_behavior_brake_as_cmd_8, sensor_8.sensor_translation, ctrl_sys.expected_behavior_brake_as_cmd_4, sensor_4.sensor_translation, ctrl_sys.expected_behavior_as_cmd_pair_3_7, ctrl_sys.expected_behavior_brake_as_cmd_7, sensor_7.sensor_translation, ctrl_sys.expected_behavior_brake_as_cmd_3, sensor_3.sensor_translation, ctrl_sys.expected_behavior_as_cmd_pair_2_6, ctrl_sys.expected_behavior_brake_as_cmd_6, sensor_6.sensor_translation, ctrl_sys.expected_behavior_brake_as_cmd_2, sensor_2.sensor_translation, ctrl_sys.expected_behavior_as_cmd_pair_1_5, ctrl_sys.expected_behavior_brake_as_cmd_5, sensor_5.sensor_translation, ctrl_sys.expected_behavior_brake_as_cmd_1, sensor_1.sensor_translation, sensor_pedal_R.pedal_position_translation, sensor_pedal_L.pedal_position_translation;"
                                                              Checking the correct implementation of "never_asymmetric_loss_of_wheel_braking_right"... [NOT OK, and trace 3 is a ctx]
                                                              Checking "CONTRACT cmd_implies_braking_wheel_8 REFINEDBY ctrl_sys.system_validity, ctrl_sys.expected_behavior_as_cmd_pair_4_8, ctrl_sys.expected_behavior_brake_as_cmd_8, phys_sys.cmd_implies_braking_wheel_8, sensor_8.sensor_translation, ctrl_sys.expected_behavior_brake_as_cmd_4, phys_sys.cmd_implies_braking_wheel_4, sensor_4.sensor_translation, phys_sys.getting_green_pressure_in_selector_valve, sensor_pedal_R.pedal_position_translation;"
                                                                Checking the correct implementation of "cmd_implies_braking_wheel_8"... [NOT OK, and trace 4 is a ctx]
                                                                Checking "CONTRACT asymmetrical_right_braking REFINEDBY phys_sys.asymmetrical_right_braking, ctrl_sys.system_validity, ctrl_sys.expected_behavior_as_cmd_pair_4_8, ctrl_sys.expected_behavior_brake_as_cmd_8, sensor_8.sensor_translation, ctrl_sys.expected_behavior_brake_as_cmd_4, sensor_4.sensor_translation, ctrl_sys.expected_behavior_as_cmd_pair_3_7, ctrl_sys.expected_behavior_brake_as_cmd_7, sensor_7.sensor_translation, ctrl_sys.expected_behavior_brake_as_cmd_3, sensor_3.sensor_translation, sensor_pedal_R.pedal_position_translation, phys_sys.getting_green_pressure_in_selector_valve;"
                                                                  Checking the correct implementation of "asymmetrical_right_braking"... [NOT OK, and trace 5 is a ctx]

Checking refinement of component: ControlSystem
  The refinement is correct

Checking refinement of component: BSCU
  The refinement is correct

Checking refinement of component: Channel
  The refinement is correct

Checking refinement of component: MonitorSystem

Checking refinement of component: CommandSystem
  The refinement is correct

Checking refinement of component: WheelPairCommandSystem
  The refinement is correct

Checking refinement of component: AlternateCommandCalculator

Checking refinement of component: NormalCommandCalculator

Checking refinement of component: AntiSkidCommandFacility

Checking refinement of component: BrakeCommandFacility

Checking refinement of component: OrGate

Checking refinement of component: SwitchGate

Checking refinement of component: PhysicalSystem
  The refinement is correct

Checking refinement of component: HydraulicPump

Checking refinement of component: ShutoffValve

Checking refinement of component: Accumulator

Checking refinement of component: SelectorValve

Checking refinement of component: NormalBrakeSystem
  The refinement is correct

Checking refinement of component: MeterValve

Checking refinement of component: AlternateBrakeSystem
  The refinement is correct

Checking refinement of component: AntiskidShutoffValve

Checking refinement of component: WheelBrake
  The refinement is correct

Checking refinement of component: HydraulicFuse

Checking refinement of component: HydraulicPiston

Checking refinement of component: BrakeActuator

Checking refinement of component: Wheel

Checking refinement of component: AdditionGate

Checking refinement of component: Sensor

Checking refinement of component: SensorPedalPosition
  
  Summary: some checks failed.
  :STOP:Check Refinement
  :TIME:Check Refinement = 52.8240 secs.
  -- 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.system_validity & ground_speed > 0) & (!wheel_rolling_4 | !wheel_rolling_8)) | bscu.as_cmd_pair_4_8))  is true
  Entailment tighten_W_expected_behavior_as_cmd_pair_4_8_at_ControlSystem: 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 (!( G (((bscu.system_validity & electrical_pedal_pos_R) & ((ground_speed > 0 & wheel_rolling_8) | ground_speed = 0)) -> bscu.brake_as_cmd_8) &  G (bscu.brake_as_cmd_8 -> ((bscu.system_validity & electrical_pedal_pos_R) & ((ground_speed > 0 & wheel_rolling_8) | ground_speed = 0)))) | ( G (!((bscu.system_validity & electrical_pedal_pos_R) & ((ground_speed > 0 & wheel_rolling_8) | ground_speed = 0)) | bscu.brake_as_cmd_8) &  G (!bscu.brake_as_cmd_8 | ((bscu.system_validity & electrical_pedal_pos_R) & ((ground_speed > 0 & wheel_rolling_8) | ground_speed = 0)))))  is true
  Entailment tighten_W_expected_behavior_brake_as_cmd_8_at_ControlSystem: OK 
  -- specification (!( G (mechanical_pedal_pos <-> electrical_pedal_pos)) |  G ((!mechanical_pedal_pos | electrical_pedal_pos) & (!electrical_pedal_pos | mechanical_pedal_pos)))  is true
  Entailment tighten_W_pedal_position_translation_at_SensorPedalPosition: 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 (!( G (wheel_brake_8.braking_force > 0 -> ((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))))) |  G (!(wheel_brake_8.braking_force > 0) | ((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)))))  is true
  Entailment tighten_W_braking_wheel_8_implies_cmd_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_never_inadvertent_braking_of_wheel_8_at_wbs_arch4: OK 
  
  All validation properties have been checked. 
