[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [tlaplus] CostModel lookup failed
- From: "'Leslie Lamport' via tlaplus" <tlaplus@xxxxxxxxxxxxxxxx>
- Date: Fri, 12 Feb 2021 00:05:55 +0000
- Accept-language: en-US
- Msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=7e90f6e6-35cb-418c-8c4d-763da2b4ee7c;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2021-02-12T00:03:06Z;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47;
- References: <CAM3xQxE1dic=6PeZfsnkEXD-oGjts7W4t_+EgsaCr2HcJ1gX3A@mail.gmail.com> <a392de58-4547-04bc-8aef-faf9be8ce31a@lemmster.de>
- Thread-index: AQHXAMKzOf+2+noiGUqJSp8GdEtSlqpTotoAgAAAgVA=
- Thread-topic: [tlaplus] CostModel lookup failed
Hi Markus,
Since it appears that a significant number of people run TLC from the command line, it seems like a bad idea to make the -coverage option produce the reams of output needed for profiling. In fact, why should that output be produced if TLC isn't being called in -tool mode?
Leslie
-----Original Message-----
From: tlaplus@xxxxxxxxxxxxxxxx <tlaplus@xxxxxxxxxxxxxxxx> On Behalf Of Markus Kuppe
Sent: Thursday, February 11, 2021 4:01 PM
To: tlaplus@xxxxxxxxxxxxxxxx
Subject: Re: [tlaplus] CostModel lookup failed
On 11.02.21 14:09, Isaac DeFrain wrote:
> I've been encountering this message while checking models with temporal
> properties using the command-line version of TLC:
>
> CostModel lookup failed for expression <line #, col # to line #, col #
> of module B>. Reporting costs into <line #, col # to line #, col # of
> module A> instead (Safety and Liveness checking is unaffected. Please
> report a bug.)
>
> Note: I've substituted #'s for the reported line and col numbers.
>
> Since I'm not sure what is meant by "CostModel lookup", I'm not sure
> what details are essential to report here. If it makes any difference,
> module A EXTENDS module B.
>
> My questions:
> 1. What is this CostModel lookup?
> 2. Is this really a bug that I should report?
> 3. Has anyone else encountered this message?
Hi Isaac,
please consider adding your spec and model to the relevant Github issue
[1]. The warning is "mostly harmless", saying that coverage/profiling
information will be off for the locations mentioned in the warning.
If you don't care about coverage/profiling [2], run TLC without the
"-coverage" parameter.
Thanks,
Markus
[1] https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftlaplus%2Ftlaplus%2Fissues%2F415&data=04%7C01%7Clamport%40microsoft.com%7C940fc9247a96405ae48608d8cee95bf3%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637486849382662185%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3xz9VB468FmKmlLEo0lfeXMGbFmjhuvR6PMBOffdxJM%3D&reserved=0
[2] https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftla.msr-inria.inria.fr%2Ftlatoolbox%2Fdoc%2Fmodel%2Fprofiling.html&data=04%7C01%7Clamport%40microsoft.com%7C940fc9247a96405ae48608d8cee95bf3%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637486849382672178%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=T3Vi5avKmNeRWzPSga4LIS0UB5Ei1cJovwGN%2F2oA8NI%3D&reserved=0
--
You received this message because you are subscribed to the Google Groups "tlaplus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tlaplus+unsubscribe@xxxxxxxxxxxxxxxx.
To view this discussion on the web visit https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Ftlaplus%2Fa392de58-4547-04bc-8aef-faf9be8ce31a%2540lemmster.de&data=04%7C01%7Clamport%40microsoft.com%7C940fc9247a96405ae48608d8cee95bf3%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637486849382672178%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=nFSsI%2FV2MH0Ztvo0zoWMNC8L9bc7Kj7j69KkaZnmNWo%3D&reserved=0.
--
You received this message because you are subscribed to the Google Groups "tlaplus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tlaplus+unsubscribe@xxxxxxxxxxxxxxxx.
To view this discussion on the web visit https://groups.google.com/d/msgid/tlaplus/BYAPR21MB1256C1620858EF906289EDF9B88B9%40BYAPR21MB1256.namprd21.prod.outlook.com.