Verification & Test CISS – Aalborg Brian Nielsen Kim Guldstrand Larsen Arne Skou.

Slides:



Advertisements
Similar presentations
1 Data Link Protocols By Erik Reeber. 2 Goals Use SPIN to model-check successively more complex protocols Using the protocols in Tannenbaums 3 rd Edition.
Advertisements

Why CISS ?  80% of all software is embedded  Demands for increased functionality with minimal resources  Requires multitude of skills  Software construction.
UCb Kim Guldstrand Larsen Symbolic Model Checking …and Verification Options How UPPAAL really works & How to make UPPAAL really work.
Introducing Formal Methods, Module 1, Version 1.1, Oct., Formal Specification and Analytical Verification L 5.
Abstraction and Modular Reasoning for the Verification of Software Corina Pasareanu NASA Ames Research Center.
UPPAAL Introduction Chien-Liang Chen.
Timed Automata.
Model Checker In-The-Loop Flavio Lerda, Edmund M. Clarke Computer Science Department Jim Kapinski, Bruce H. Krogh Electrical & Computer Engineering MURI.
Verification of Hybrid Systems An Assessment of Current Techniques Holly Bowen.
Compatibility between shared variable valuations in timed automaton network model- checking Zhao Jianhua, Zhou Xiuyi, Li Xuandong, Zheng Guoliang Presented.
Hybrid Approach to Model-Checking of Timed Automata DAT4 Project Proposal Supervisor: Alexandre David.
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
1 Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory Embedded Systems Exercise 2: Scheduling Real-Time Aperiodic Tasks.
SBSE Course 3. EA applications to SE Analysis Design Implementation Testing Reference: Evolutionary Computing in Search-Based Software Engineering Leo.
UCb Tools and Application of Timed Automata UPPAAL & Optimal Scheduling Kim G. Larsen
Reachability, Schedulability and Optimality
Probabilistic CEGAR* Björn Wachter Joint work with Holger Hermanns, Lijun Zhang TexPoint fonts used in EMF. Read the TexPoint manual before you delete.
PRESENTED BY: ILYA NELKENBAUM KEREN ARMON SUPERVISOR: MR. YOSSI KANIZO 09/03/2011 Cuckoo the Kicking Bird 1.
SSP Re-hosting System Development: CLBM Overview and Module Recognition SSP Team Department of ECE Stevens Institute of Technology Presented by Hongbing.
Hardware/Software System Design and Validation Dr. Xiaoyu Song Networked Sensors Architecture Platform based on Component-based.
Concurrent & Distributed Systems Lecture 5: Semaphores and Synchronisation Concurrent processes which don’t interact in some way don’t form an interesting.
Define Embedded Systems Small (?) Application Specific Computer Systems.
Sanjit A. Seshia and Randal E. Bryant Computer Science Department
CaV 2003 CbCb 1 Concurrency and Verification What? Why? How?
Chess Review October 4, 2006 Alexandria, VA Embedded Systems Education: Vanderbilt Edited and Presented by Janos Sztipanovits ISIS, Vanderbilt University.
Report WG1 Software-Intensive Systems and New Computing Paradigms Cannes November 12-14, 2008 WG Leader: Martin Wirsing WG Depu ty Leaders: Jean-Pierre.
Misconceptions About Real-time Computing : A Serious Problem for Next-generation Systems J. A. Stankovic, Misconceptions about Real-Time Computing: A Serious.
1 Verification Options & Beyond Reachability or how to make UPPAAL perform better and more Kim Guldstrand Larsen
Timing analysis of an SDL subset in UPPAAL Anders Hessel Institution of Information Technology Department of Computer Systems Uppsala University M.Sc.
1 Efficient Verification of Timed Automata Kim Guldstrand Larsen Paul PetterssonMogens Nielsen
UCb Kim G. Larsen Arne Skou & Peter Koch Anders Brødløs Henrik Schiøler Dynamic Voltage Scaling using Optimal Infinite Scheduling work in progress POTENTIAL.
The Mana Project Lars Asplund Kristina Lundqvist Uppsala University, Information Technology, Dept of Computer Systems.
Operations Research Models
1 Physical Ensemble Engineering Christof, Heinz, Insup, Seth, Teruo.
ANSALDO: BACKGROUND experience in dependable Signalling Automation Systems experience in dependable Management Automation Systems experience in installation,
EECE **** Embedded System Design
UPPAAL Ghaith Haddad. Introduction UPPAAL is a tool for modeling, validation and verification of real-time systems. Appropriate for systems that can be.
ULB, November 2004 As cheap as possible: Linearly Priced Timed Automata Gerd Behrmann, Ed Brinksma, Ansgar Fehnker, Thomas Hune, Kim Larsen, Paul Pettersson,
ESD Research Group at CS Department of University of Verona.
1 Outline:  Outline of the algorithm  MILP formulation  Experimental Results  Conclusions and Remarks Advances in solving scheduling problems with.
Computer Science Department University of Pittsburgh 1 Evaluating a DVS Scheme for Real-Time Embedded Systems Ruibin Xu, Daniel Mossé and Rami Melhem.
Transformation of Timed Automata into Mixed Integer Linear Programs Sebastian Panek.
Scientific Computing By: Fatima Hallak To: Dr. Guy Tel-Zur.
Henrik Schiøler Konstruktion, modellering og validering af sikkerhedskritiske SW systemer.
Energy-Aware Scheduling with Quality of Surveillance Guarantee in Wireless Sensor Networks Jaehoon Jeong, Sarah Sharafkandi and David H.C. Du Dept. of.
Lyra – A service-oriented and component-based method for the development of communicating systems (by Sari Leppänen, Nokia/NRC) Traditionally, the design,
Advanced Controls and Sensors David G. Hansen. Advanced Controls and Sensors Planning Process.
Model construction and verification for dynamic programming languages Radu Iosif
A Mechanized Model for CAN Protocols Context and objectives Our mechanized model Results Conclusions and Future Works Francesco Bongiovanni and Ludovic.
1 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Algorithms for Radio Networks Winter Term 2005/2006.
Conformance Test Experiments for Distributed Real-Time Systems Rachel Cardell-Oliver Complex Systems Group Department of Computer Science & Software Engineering.
1 Outline:  Optimization of Timed Systems  TA-Modeling of Scheduling Tasks  Transformation of TA into Mixed-Integer Programs  Tree Search for TA using.
Symbolic Execution with Abstract Subsumption Checking Saswat Anand College of Computing, Georgia Institute of Technology Corina Păsăreanu QSS, NASA Ames.
1 Scheduling Processes with Release Times, Deadlines, Precedence and Exclusion Relations J. Xu and D. L. Parnas IEEE Transactions on Software Engineering,
1 CSCD 326 Data Structures I Software Design. 2 The Software Life Cycle 1. Specification 2. Design 3. Risk Analysis 4. Verification 5. Coding 6. Testing.
Workshop - November Toulouse Astrium Use Case.
Algorithmic, Game-theoretic and Logical Foundations
Scheduling Lacquer Productions with Uppaal AXXOM case study of the Ametist project Angelika Mader Distributed and Embedded Systems Group, University of.
Verification & Validation By: Amir Masoud Gharehbaghi
Static WCET Analysis vs. Measurement: What is the Right Way to Assess Real-Time Task Timing? Worst Case Execution Time Prediction by Static Program Analysis.
Progress Report - Year 2 Extensions of the PhD Symposium Presentation Daniel McEnnis.
Multimedia Computing and Networking Jan Reduced Energy Decoding of MPEG Streams Malena Mesarina, HP Labs/UCLA CS Dept Yoshio Turner, HP Labs.
ECE/CS 584: Verification of Embedded Computing Systems Model Checking Timed Automata Sayan Mitra Lecture 09.
Automated Formal Verification of PLC (Programmable Logic Controller) Programs
On-Chip Logic Minimization Roman Lysecky & Frank Vahid* Department of Computer Science and Engineering University of California, Riverside *Also with the.
Framework support for Accelerators Sami Kama. Introduction Current Status Future Accelerator use modes Symmetric resource Asymmetric resource 09/11/2015.
Mathematical Models and Proof/Analysis Methods for Timing-Based Systems And… Their Application to Communication, Fault-Tolerant Distributed Computing,
The Time-abstracting Bisimulation Equivalence  on TA states: Preserve discrete state changes. Abstract exact time delays. s1s2 s3  a s4  a 11 s1s2.
Stochastic Modelling and Analysis
On Using Linearly Priced Timed Automata for Flow Analysis
Presentation transcript:

Verification & Test CISS – Aalborg Brian Nielsen Kim Guldstrand Larsen Arne Skou

ARTIST2 NoE, Test & Verification Meeting 1 2 Overview zCISS zVerification & Scheduling yS/E-machines, UML & visualSTATE yTimed Automata & UPPAAL yPriced Timed Automata & UPPAAL CORA yMarkov Decision Processes & RAPTURE zTesting yConnectivety Testing yOn-line Testing & UPPAAL TRON yGateHouse, Generic Test Adaptation yvisualSTATE Test Extensions

ARTIST2 NoE, Test & Verification Meeting 1 3 BRICS Machine Basic Research in Computer Science, MEuro 100 Aalborg Aarhus Tools

ARTIST2 NoE, Test & Verification Meeting 1 4 CISS Center for Embedded Software Systems, 2002 – Institute for Computer Scienc Institute for Computer Scienc Institute for Elektronic Systemer Institute for Elektronic Systemer Modelling and Validation; Programming Languages; Software Engineering Modelling and Validation; Programming Languages; Software Engineering Embedded Systems Communication; HW/SW Power Management Embedded Systems Communication; HW/SW Power Management Distributed Real Time Systems Control Theory; Real Time Systems; Networking. Distributed Real Time Systems Control Theory; Real Time Systems; Networking. ICT Companies External collaboration: EE&CS Berkeley Twente U Uppsala U AMETIST ARTIST NASA Ames External collaboration: EE&CS Berkeley Twente U Uppsala U AMETIST ARTIST NASA Ames MVTU 25.5 MDKK MVTU 25.5 MDKK Regional & City Councils 12 MDKK Regional & City Councils 12 MDKK Aalb. Uni MDKK Aalb. Uni MDKK Companies MDKK Companies MDKK 20 Staff / 12 PhD studens

ARTIST2 NoE, Test & Verification Meeting 1 5 Focus Areas Applikationer Teknologi Værktøj Modeller Metoder Protokoller Design- og Prog.sprog Operativ system HW platform GPS Open source Home automation Mobile robotter Intelligente sensorer Ad hoc netværk Mobiltlf Audio/Video Konsum elektr Kontrolsystemer Automobile X-by wire Algoritmik SW-udvikling Effektforbrug Pålidelighed Test & Validering Hybride systemer Kommunikationsteori Model Based Development of Embedded Software Intelligent Sensor Networks Embedded & RT Platform LAB Safety Critical Software Systems Embedded System Testing & Verification HW/SW Co-Design, Design Space Exploration Resource Optimal Scheduling

ARTIST2 NoE, Test & Verification Meeting 1 6 visualSTATE zUML compatible development tool zAutomatic code-generation zCheck for generic properties. zPatented CBR technique developed in 1998 [TACAS98, TACAS99] zNew project: yExtension of visualSTATE w test-case generation facilities yContext dependent code- generation [FASE05] yImprovement of verification engine (handling of signal- queue).

ARTIST2 NoE, Test & Verification Meeting 1 7 UPPAAL

ARTIST2 NoE, Test & Verification Meeting 1 8 Modus Operandi IDEA e.g. language extension datastructure abstraction algorithm … Theoretical development & validation Prototype implementation & performance evaluation In-house evaluataion Incorporation in official release

ARTIST2 NoE, Test & Verification Meeting 1 9 Issues zDatastructures for Passed and Waiting zDatastructures for zones zDo we really need to always store in Passed ? zDo we really need to add all successors ? zWhich symbolic state to select from Waiting ?

ARTIST2 NoE, Test & Verification Meeting 1 10 Passed/Waiting Hash table States Hash table [SPIN03] PASSED WAITING

ARTIST2 NoE, Test & Verification Meeting 1 11 Passed/Waiting Hash table States PASSED Hash table WAITING Hash table States UNIFIED Waiting queue [SPIN03]

ARTIST2 NoE, Test & Verification Meeting 1 12 Passed/Waiting Hash table States PASSED Hash table Hash table States UNIFIED Waiting queue [SPIN03]

ARTIST2 NoE, Test & Verification Meeting 1 13 To-store-or-not 117 states total ! 81 states entrypoint ! 9 states [CAV03]

ARTIST2 NoE, Test & Verification Meeting 1 14 Datastructures for Zones zDBMs zMinimal Constraint Form zCDDs x1x2 x3x UPPAAL library to be made available Alexandre David

ARTIST2 NoE, Test & Verification Meeting 1 15 Zone Abstractions  Abstraction taking maximum constant into account necessary for termination  Utilization of distinction between lower and upper bounds  Utilization of location-dependency [TACAS03,TACAS04]

ARTIST2 NoE, Test & Verification Meeting 1 16 LU Abstraction THEOREM For any state in the LU- abstraction there is a state in the original set simulating it  LU abstraction is exact wrt reachability [TACAS04]

ARTIST2 NoE, Test & Verification Meeting 1 17 Zone abstractions ClassicalLoc. dep. MaxLoc. dep. LUConvex Hull

ARTIST2 NoE, Test & Verification Meeting 1 18 Symmetry Reduction zExploitation of full symmetry may give factorial reduction zMany timed systems are inherently symmetric zComputation of canonical state representative using swaps. [Formats 2003]

ARTIST2 NoE, Test & Verification Meeting 1 19 Symmetry Reduction [Formats 2003]

ARTIST2 NoE, Test & Verification Meeting 1 20 Analysis Methods Identified zTechniques identified and implemented: yZone abstractions (max constant, loc.dep., lower/upper bounds) yStorage techniques ySymmetry reduction yCost-guiding search and pruning yDistributed exploration yCycle acceleration ySweep line reduction zConclusion:“ Progress by far exceeding expectations ” zFuture: “ Consolitation & combination ”

ARTIST2 NoE, Test & Verification Meeting 1 21 UPPAAL CORA

ARTIST2 NoE, Test & Verification Meeting 1 22 UPPAAL CORA zBranch of UPPAAL with support for cost- optimal reachability. zBased on priced zones zSubstantial performance improvement by translation to min-cost-flow problems zCompetitive with MILP zPossibility of guiding (improving) search by heur and remaining meta-variable. zFully compatible w UPPAAL (GUI). zApplication to AXXOM case-study. zApplication to vehicle routing problems w time-windows (Carmen Consulting). zApplied to Dynamic Voltage Scheduling, WCET analysis. zVisualization of generated optimal schedules using Gantt charts (to be finished during beginning of 2005). zNew optimization problems to be added: yOptimal Infinite schedules [HSCC’04] yConditional Optimal Schedules [FOSSACS’05] x · 2 x ¸ 4 x ¸ 3 x ¸ 4 x ¸ 5 y:=0 y=0 x:=0 c’=5 c’=1 c´=10 c+=1 c+=7 AB C C G Priced Timed Automata [HSCC’01, CAV’01, EMSOFT’03, TACAS’04]  = (A x=y=0) ! 0 (B x=y=0) ! 0 (C x=y=0) ! 5,5 (C x=y=5) ! 1 G

ARTIST2 NoE, Test & Verification Meeting 1 23 cost t E LT E earliest landing time T target time L latest time e cost rate for being early l cost rate for being late d fixed cost for being late e*(T-t) d+l*(t-T) Planes have to keep separation distance to avoid turbulences caused by preceding planes Runway Aircraft Landing

ARTIST2 NoE, Test & Verification Meeting 1 24 UPPAAL CORA PTA versus MILP on Aircraft Landing Benchmark DEC300/700 (225MHz) vs Pentium MMX (200 MHz) Source: Baesley et al’2000

ARTIST2 NoE, Test & Verification Meeting 1 25 RAPTURE Probabilistic Reachability for Markov Decision Processes Pedro D’Argenio, Henrik Jensen, Bertrand Jeannet, Kim Larsen x8x8 x=8 x5x5 x4x4 send success wait x:=0 x:=x+1 process A { var x : uint(4); t : uint(10); init #send and x=0 and t=0; loc send: when x>=4 goto { success 0.01 ; wait 0.99 }; when x<5 and t<200 goto send assign {x:=x+1; t:=t+1}; loc wait: when x=8 goto send assign {x:=0}; when x<8 and t<200 goto wait assign {x:=x+1; t:=t+1}; loc success: when true goto success; } system A; initial #A.send and A.x=0 and A.t=0; final #A.success and A.t<200; PAPM’01, PAPM’02

ARTIST2 NoE, Test & Verification Meeting 1 26 Partition/Refinement T

ARTIST2 NoE, Test & Verification Meeting 1 27 Partition/Refinement Theorem TTT