./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/unreach-call.prp --file ../../../trunk/examples/svcomp/pthread/stack_longest-1.i --full-output --witness-type correctness_witness --witnessparser.only.consider.loop.invariants false --validate ./goblint.2023-12-19_14-39-08.files/SV-COMP24_unreach-call/stack_longest-1.yml/witness.yml --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version 8857f20b Calling Ultimate with: /root/.sdkman/candidates/java/current/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerReachWitnessValidation.xml -i ../../../trunk/examples/svcomp/pthread/stack_longest-1.i ./goblint.2023-12-19_14-39-08.files/SV-COMP24_unreach-call/stack_longest-1.yml/witness.yml -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --traceabstraction.compute.hoare.annotation.of.negated.interpolant.automaton,.abstraction.and.cfg false --witnessparser.only.consider.loop.invariants false --- Real Ultimate output --- This is Ultimate 0.2.4-dev-8857f20-m [2024-01-29 23:00:42,660 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-01-29 23:00:42,736 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Default.epf [2024-01-29 23:00:42,739 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-01-29 23:00:42,740 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-01-29 23:00:42,756 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-01-29 23:00:42,757 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-01-29 23:00:42,757 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-01-29 23:00:42,758 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-01-29 23:00:42,758 INFO L153 SettingsManager]: * Use memory slicer=true [2024-01-29 23:00:42,758 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-01-29 23:00:42,759 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-01-29 23:00:42,759 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-01-29 23:00:42,760 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-01-29 23:00:42,760 INFO L153 SettingsManager]: * Use SBE=true [2024-01-29 23:00:42,761 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-01-29 23:00:42,761 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-01-29 23:00:42,761 INFO L153 SettingsManager]: * sizeof long=4 [2024-01-29 23:00:42,762 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-01-29 23:00:42,762 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-01-29 23:00:42,762 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-01-29 23:00:42,763 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-01-29 23:00:42,763 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-01-29 23:00:42,764 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-01-29 23:00:42,764 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-01-29 23:00:42,764 INFO L153 SettingsManager]: * sizeof long double=12 [2024-01-29 23:00:42,765 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-01-29 23:00:42,765 INFO L153 SettingsManager]: * Use constant arrays=true [2024-01-29 23:00:42,766 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-01-29 23:00:42,766 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-01-29 23:00:42,766 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-01-29 23:00:42,767 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-01-29 23:00:42,767 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-01-29 23:00:42,767 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-01-29 23:00:42,768 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-01-29 23:00:42,768 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-01-29 23:00:42,768 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-01-29 23:00:42,769 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-01-29 23:00:42,769 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-01-29 23:00:42,769 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-01-29 23:00:42,770 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2024-01-29 23:00:42,770 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-01-29 23:00:42,771 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-01-29 23:00:42,771 INFO L153 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessparser: Only consider loop invariants -> false [2024-01-29 23:00:43,043 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-01-29 23:00:43,071 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-01-29 23:00:43,074 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-01-29 23:00:43,075 INFO L270 PluginConnector]: Initializing CDTParser... [2024-01-29 23:00:43,075 INFO L274 PluginConnector]: CDTParser initialized [2024-01-29 23:00:43,076 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/pthread/stack_longest-1.i [2024-01-29 23:00:44,366 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-01-29 23:00:44,631 INFO L384 CDTParser]: Found 1 translation units. [2024-01-29 23:00:44,631 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread/stack_longest-1.i [2024-01-29 23:00:44,651 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/b32840d80/c7a8b81daee441ef8a6f397f590c8ff3/FLAG065d41c4b [2024-01-29 23:00:44,662 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/b32840d80/c7a8b81daee441ef8a6f397f590c8ff3 [2024-01-29 23:00:44,666 INFO L270 PluginConnector]: Initializing Witness Parser... [2024-01-29 23:00:44,667 INFO L274 PluginConnector]: Witness Parser initialized [2024-01-29 23:00:44,668 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/./goblint.2023-12-19_14-39-08.files/SV-COMP24_unreach-call/stack_longest-1.yml/witness.yml [2024-01-29 23:00:44,798 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-01-29 23:00:44,800 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2024-01-29 23:00:44,801 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-01-29 23:00:44,801 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-01-29 23:00:44,810 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-01-29 23:00:44,812 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.01 11:00:44" (1/2) ... [2024-01-29 23:00:44,814 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@441e5c7 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.01 11:00:44, skipping insertion in model container [2024-01-29 23:00:44,815 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.01 11:00:44" (1/2) ... [2024-01-29 23:00:44,816 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@7d72e5d0 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.01 11:00:44, skipping insertion in model container [2024-01-29 23:00:44,816 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 29.01 11:00:44" (2/2) ... [2024-01-29 23:00:44,817 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@441e5c7 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 29.01 11:00:44, skipping insertion in model container [2024-01-29 23:00:44,817 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 29.01 11:00:44" (2/2) ... [2024-01-29 23:00:44,817 INFO L83 nessWitnessExtractor]: Extracting all invariants from correctness witness [2024-01-29 23:00:44,917 INFO L96 nessWitnessExtractor]: Found the following entries in the witness: [2024-01-29 23:00:44,919 INFO L98 nessWitnessExtractor]: Location invariant before [L964-L964] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:44,919 INFO L98 nessWitnessExtractor]: Location invariant before [L1021-L1021] flag == (_Bool)0 [2024-01-29 23:00:44,919 INFO L98 nessWitnessExtractor]: Location invariant after [L22-L24] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:44,919 INFO L98 nessWitnessExtractor]: Location invariant after [L1011-L1012] (flag == (_Bool)1) && ((((((((i == 4 || i == 3) || i == 2) || i == 1) || (8 <= i && i <= 799)) || (0 == i && i == 0)) || i == 7) || i == 6) || i == 5) [2024-01-29 23:00:44,919 INFO L98 nessWitnessExtractor]: Location invariant before [L1011-L1012] (flag == (_Bool)1) && ((((((((((((((((i == 5 || i == 4) || i == 4) || i == 3) || i == 3) || i == 2) || i == 2) || i == 1) || i == 1) || (8 <= i && i <= 799)) || (0 == i && i == 0)) || (8 <= i && i <= 799)) || (0 == i && i == 0)) || i == 7) || i == 7) || i == 6) || i == 6) [2024-01-29 23:00:44,920 INFO L98 nessWitnessExtractor]: Location invariant after [L1011-L1012] flag == (_Bool)1 [2024-01-29 23:00:44,920 INFO L98 nessWitnessExtractor]: Location invariant after [L1011-L1012] (flag == (_Bool)1) && ((unsigned long )arg == 0UL) [2024-01-29 23:00:44,920 INFO L98 nessWitnessExtractor]: Location invariant before [L1011-L1012] flag == (_Bool)1 [2024-01-29 23:00:44,921 INFO L98 nessWitnessExtractor]: Location invariant before [L1011-L1012] (flag == (_Bool)1) && ((unsigned long )arg == 0UL) [2024-01-29 23:00:44,921 INFO L98 nessWitnessExtractor]: Location invariant before [L975-L984] flag == (_Bool)1 [2024-01-29 23:00:44,921 INFO L98 nessWitnessExtractor]: Location invariant before [L971-L971] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:44,921 INFO L98 nessWitnessExtractor]: Location invariant before [L1014-L1014] ((unsigned long )arg == 0UL) && (flag == (_Bool)0 || flag == (_Bool)1) [2024-01-29 23:00:44,921 INFO L98 nessWitnessExtractor]: Location invariant before [L1014-L1014] (((unsigned long )arg == 0UL) && (flag == (_Bool)0 || flag == (_Bool)1)) && ((((((((i == 4 || i == 3) || i == 2) || i == 1) || (8 <= i && i <= 799)) || (0 == i && i == 0)) || i == 7) || i == 6) || i == 5) [2024-01-29 23:00:44,921 INFO L98 nessWitnessExtractor]: Location invariant before [L1014-L1014] (unsigned long )arg == 0UL [2024-01-29 23:00:44,921 INFO L98 nessWitnessExtractor]: Location invariant before [L963-L963] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:44,922 INFO L98 nessWitnessExtractor]: Location invariant before [L983-L983] flag == (_Bool)1 [2024-01-29 23:00:44,922 INFO L98 nessWitnessExtractor]: Location invariant before [L941-L941] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:44,922 INFO L98 nessWitnessExtractor]: Location invariant before [L945-L945] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:44,922 INFO L98 nessWitnessExtractor]: Location invariant before [L968-L968] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:44,922 INFO L98 nessWitnessExtractor]: Location invariant before [L978-L978] flag == (_Bool)1 [2024-01-29 23:00:44,922 INFO L98 nessWitnessExtractor]: Location invariant before [L998-L998] (unsigned long )arg == 0UL [2024-01-29 23:00:44,923 INFO L98 nessWitnessExtractor]: Location invariant before [L998-L998] ((unsigned long )arg == 0UL) && (flag == (_Bool)0 || flag == (_Bool)1) [2024-01-29 23:00:44,923 INFO L98 nessWitnessExtractor]: Location invariant before [L998-L998] ((unsigned long )arg == 0UL) && (((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (5 <= i && i <= 799)) || i == 4) [2024-01-29 23:00:44,923 INFO L98 nessWitnessExtractor]: Loop invariant at [L1006-L1015] (unsigned long )arg == 0UL [2024-01-29 23:00:44,923 INFO L98 nessWitnessExtractor]: Location invariant before [L949-L949] flag == (_Bool)1 [2024-01-29 23:00:44,924 INFO L98 nessWitnessExtractor]: Location invariant before [L23-L23] (flag == (_Bool)0 || flag == (_Bool)1) && (flag == (_Bool)0 || flag == (_Bool)1) [2024-01-29 23:00:44,924 INFO L98 nessWitnessExtractor]: Location invariant before [L23-L23] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:44,924 INFO L98 nessWitnessExtractor]: Location invariant before [L1009-L1013] ((unsigned long )arg == 0UL) && (flag == (_Bool)0 || flag == (_Bool)1) [2024-01-29 23:00:44,924 INFO L98 nessWitnessExtractor]: Location invariant before [L1009-L1013] (((unsigned long )arg == 0UL) && (flag == (_Bool)0 || flag == (_Bool)1)) && ((((((((i == 5 || i == 4) || i == 3) || i == 2) || i == 1) || (8 <= i && i <= 799)) || (0 == i && i == 0)) || i == 7) || i == 6) [2024-01-29 23:00:44,924 INFO L98 nessWitnessExtractor]: Location invariant before [L1009-L1013] (unsigned long )arg == 0UL [2024-01-29 23:00:44,924 INFO L98 nessWitnessExtractor]: Loop invariant at [L991-L1000] (unsigned long )arg == 0UL [2024-01-29 23:00:44,925 INFO L98 nessWitnessExtractor]: Location invariant after [L943-L946] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:44,925 INFO L98 nessWitnessExtractor]: Location invariant before [L1022-L1022] flag == (_Bool)0 [2024-01-29 23:00:44,925 INFO L98 nessWitnessExtractor]: Location invariant before [L1008-L1008] ((unsigned long )arg == 0UL) && ((((((((i == 5 || i == 4) || i == 3) || i == 2) || i == 1) || (8 <= i && i <= 799)) || (0 == i && i == 0)) || i == 7) || i == 6) [2024-01-29 23:00:44,925 INFO L98 nessWitnessExtractor]: Location invariant before [L1008-L1008] (unsigned long )arg == 0UL [2024-01-29 23:00:44,925 INFO L98 nessWitnessExtractor]: Location invariant before [L994-L994] ((unsigned long )arg == 0UL) && (((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (5 <= i && i <= 799)) || i == 4) [2024-01-29 23:00:44,925 INFO L98 nessWitnessExtractor]: Location invariant before [L994-L994] (unsigned long )arg == 0UL [2024-01-29 23:00:44,925 INFO L98 nessWitnessExtractor]: Location invariant before [L994-L994] ((unsigned long )arg == 0UL) && (flag == (_Bool)0 || flag == (_Bool)1) [2024-01-29 23:00:44,927 INFO L98 nessWitnessExtractor]: Location invariant before [L982-L982] flag == (_Bool)1 [2024-01-29 23:00:44,927 INFO L98 nessWitnessExtractor]: Location invariant before [L977-L977] flag == (_Bool)1 [2024-01-29 23:00:44,927 INFO L98 nessWitnessExtractor]: Location invariant before [L1016-L1016] i == 800 [2024-01-29 23:00:44,927 INFO L98 nessWitnessExtractor]: Location invariant before [L1016-L1016] (i == 800) && ((unsigned long )arg == 0UL) [2024-01-29 23:00:44,927 INFO L98 nessWitnessExtractor]: Location invariant before [L993-L993] (unsigned long )arg == 0UL [2024-01-29 23:00:44,928 INFO L98 nessWitnessExtractor]: Location invariant before [L993-L993] ((unsigned long )arg == 0UL) && (((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (5 <= i && i <= 799)) || i == 4) [2024-01-29 23:00:44,928 INFO L98 nessWitnessExtractor]: Location invariant after [L947-L950] flag == (_Bool)1 [2024-01-29 23:00:44,928 INFO L98 nessWitnessExtractor]: Location invariant before [L953-L953] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:44,928 INFO L98 nessWitnessExtractor]: Location invariant before [L995-L995] ((unsigned long )arg == 0UL) && (((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (5 <= i && i <= 799)) || i == 4) [2024-01-29 23:00:44,929 INFO L98 nessWitnessExtractor]: Location invariant before [L995-L995] (unsigned long )arg == 0UL [2024-01-29 23:00:44,929 INFO L98 nessWitnessExtractor]: Location invariant before [L995-L995] ((unsigned long )arg == 0UL) && (flag == (_Bool)0 || flag == (_Bool)1) [2024-01-29 23:00:44,929 INFO L98 nessWitnessExtractor]: Location invariant before [L996-L997] (((unsigned long )arg == 0UL) && (flag == (_Bool)0 || flag == (_Bool)1)) && ((((((((((i == 3 || i == 2) || i == 2) || i == 1) || i == 1) || (0 == i && i == 0)) || (0 == i && i == 0)) || (5 <= i && i <= 799)) || (5 <= i && i <= 799)) || i == 4) || i == 4) [2024-01-29 23:00:44,929 INFO L98 nessWitnessExtractor]: Location invariant before [L996-L997] ((unsigned long )arg == 0UL) && (flag == (_Bool)0 || flag == (_Bool)1) [2024-01-29 23:00:44,929 INFO L98 nessWitnessExtractor]: Location invariant after [L996-L997] ((unsigned long )arg == 0UL) && (flag == (_Bool)0 || flag == (_Bool)1) [2024-01-29 23:00:44,930 INFO L98 nessWitnessExtractor]: Location invariant after [L996-L997] (((unsigned long )arg == 0UL) && (flag == (_Bool)0 || flag == (_Bool)1)) && (((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (5 <= i && i <= 799)) || i == 4) [2024-01-29 23:00:44,930 INFO L98 nessWitnessExtractor]: Location invariant after [L996-L997] (unsigned long )arg == 0UL [2024-01-29 23:00:44,930 INFO L98 nessWitnessExtractor]: Location invariant before [L996-L997] (unsigned long )arg == 0UL [2024-01-29 23:00:44,931 INFO L98 nessWitnessExtractor]: Location invariant before [L961-L970] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:44,931 INFO L98 nessWitnessExtractor]: Location invariant before [L999-L999] flag == (_Bool)1 [2024-01-29 23:00:44,932 INFO L98 nessWitnessExtractor]: Location invariant before [L999-L999] (flag == (_Bool)1) && ((unsigned long )arg == 0UL) [2024-01-29 23:00:44,932 INFO L98 nessWitnessExtractor]: Location invariant before [L999-L999] (flag == (_Bool)1) && (((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (5 <= i && i <= 799)) || i == 4) [2024-01-29 23:00:44,932 INFO L98 nessWitnessExtractor]: Location invariant before [L43-L43] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:44,932 INFO L98 nessWitnessExtractor]: Location invariant before [L941-L941] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:44,932 INFO L98 nessWitnessExtractor]: Location invariant before [L1001-L1001] i == 800 [2024-01-29 23:00:44,932 INFO L98 nessWitnessExtractor]: Location invariant before [L1001-L1001] (i == 800) && ((unsigned long )arg == 0UL) [2024-01-29 23:00:44,932 INFO L98 nessWitnessExtractor]: Location invariant before [L969-L969] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:44,979 INFO L177 MainTranslator]: Built tables and reachable declarations [2024-01-29 23:00:45,326 WARN L239 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread/stack_longest-1.i[41530,41543] [2024-01-29 23:00:45,348 INFO L209 PostProcessor]: Analyzing one entry point: main [2024-01-29 23:00:45,361 INFO L202 MainTranslator]: Completed pre-run Start Parsing Local [2024-01-29 23:00:45,399 ERROR L324 MainTranslator]: Incorrect Syntax: Undeclared variable in ACSL expression: flag [2024-01-29 23:00:45,401 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@7d72e5d0 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 29.01 11:00:45, skipping insertion in model container [2024-01-29 23:00:45,401 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-01-29 23:00:45,402 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.procedureinliner [2024-01-29 23:00:45,404 INFO L158 Benchmark]: Toolchain (without parser) took 602.61ms. Allocated memory is still 161.5MB. Free memory was 96.2MB in the beginning and 76.3MB in the end (delta: 19.9MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. [2024-01-29 23:00:45,404 INFO L158 Benchmark]: CDTParser took 0.21ms. Allocated memory is still 161.5MB. Free memory is still 134.9MB. There was no memory consumed. Max. memory is 16.1GB. [2024-01-29 23:00:45,404 INFO L158 Benchmark]: Witness Parser took 0.16ms. Allocated memory is still 161.5MB. Free memory is still 100.8MB. There was no memory consumed. Max. memory is 16.1GB. [2024-01-29 23:00:45,406 INFO L158 Benchmark]: CACSL2BoogieTranslator took 600.54ms. Allocated memory is still 161.5MB. Free memory was 95.9MB in the beginning and 76.5MB in the end (delta: 19.5MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. [2024-01-29 23:00:45,407 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.21ms. Allocated memory is still 161.5MB. Free memory is still 134.9MB. There was no memory consumed. Max. memory is 16.1GB. * Witness Parser took 0.16ms. Allocated memory is still 161.5MB. Free memory is still 100.8MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 600.54ms. Allocated memory is still 161.5MB. Free memory was 95.9MB in the beginning and 76.5MB in the end (delta: 19.5MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - SyntaxErrorResult [Line: 23]: Incorrect Syntax Undeclared variable in ACSL expression: flag RESULT: Ultimate could not prove your program: Incorrect Syntax Received shutdown request... --- End real Ultimate output --- Execution finished normally Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### Calling Ultimate with: /root/.sdkman/candidates/java/current/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerReachWitnessValidation.xml -i ../../../trunk/examples/svcomp/pthread/stack_longest-1.i ./goblint.2023-12-19_14-39-08.files/SV-COMP24_unreach-call/stack_longest-1.yml/witness.yml -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Bitvector.epf --cacsl2boogietranslator.entry.function main --traceabstraction.compute.hoare.annotation.of.negated.interpolant.automaton,.abstraction.and.cfg false --witnessparser.only.consider.loop.invariants false --- Real Ultimate output --- This is Ultimate 0.2.4-dev-8857f20-m [2024-01-29 23:00:47,624 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-01-29 23:00:47,717 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Bitvector.epf [2024-01-29 23:00:47,722 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-01-29 23:00:47,723 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-01-29 23:00:47,758 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-01-29 23:00:47,758 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-01-29 23:00:47,759 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-01-29 23:00:47,760 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-01-29 23:00:47,764 INFO L153 SettingsManager]: * Use memory slicer=true [2024-01-29 23:00:47,764 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-01-29 23:00:47,764 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-01-29 23:00:47,765 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-01-29 23:00:47,766 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-01-29 23:00:47,766 INFO L153 SettingsManager]: * Use SBE=true [2024-01-29 23:00:47,767 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-01-29 23:00:47,767 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-01-29 23:00:47,768 INFO L153 SettingsManager]: * sizeof long=4 [2024-01-29 23:00:47,768 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-01-29 23:00:47,768 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-01-29 23:00:47,768 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-01-29 23:00:47,769 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-01-29 23:00:47,770 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-01-29 23:00:47,770 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-01-29 23:00:47,770 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-01-29 23:00:47,770 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-01-29 23:00:47,771 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-01-29 23:00:47,771 INFO L153 SettingsManager]: * sizeof long double=12 [2024-01-29 23:00:47,771 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-01-29 23:00:47,772 INFO L153 SettingsManager]: * Use constant arrays=true [2024-01-29 23:00:47,773 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-01-29 23:00:47,773 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-01-29 23:00:47,773 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-01-29 23:00:47,773 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-01-29 23:00:47,774 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-01-29 23:00:47,774 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-01-29 23:00:47,775 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-01-29 23:00:47,775 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-01-29 23:00:47,775 INFO L153 SettingsManager]: * Trace refinement strategy=WOLF [2024-01-29 23:00:47,775 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-01-29 23:00:47,776 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-01-29 23:00:47,776 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-01-29 23:00:47,776 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2024-01-29 23:00:47,776 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-01-29 23:00:47,777 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-01-29 23:00:47,777 INFO L153 SettingsManager]: * Logic for external solver=AUFBV [2024-01-29 23:00:47,777 INFO L153 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessparser: Only consider loop invariants -> false [2024-01-29 23:00:48,102 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-01-29 23:00:48,126 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-01-29 23:00:48,129 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-01-29 23:00:48,130 INFO L270 PluginConnector]: Initializing Witness Parser... [2024-01-29 23:00:48,131 INFO L274 PluginConnector]: Witness Parser initialized [2024-01-29 23:00:48,133 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/./goblint.2023-12-19_14-39-08.files/SV-COMP24_unreach-call/stack_longest-1.yml/witness.yml [2024-01-29 23:00:48,263 INFO L270 PluginConnector]: Initializing CDTParser... [2024-01-29 23:00:48,263 INFO L274 PluginConnector]: CDTParser initialized [2024-01-29 23:00:48,263 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/pthread/stack_longest-1.i [2024-01-29 23:00:49,536 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-01-29 23:00:49,853 INFO L384 CDTParser]: Found 1 translation units. [2024-01-29 23:00:49,854 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread/stack_longest-1.i [2024-01-29 23:00:49,874 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/dcd266da6/ece2ab4b15594ebe9f945bf061471d10/FLAGbb77414a9 [2024-01-29 23:00:49,890 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/dcd266da6/ece2ab4b15594ebe9f945bf061471d10 [2024-01-29 23:00:49,891 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-01-29 23:00:49,892 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2024-01-29 23:00:49,895 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-01-29 23:00:49,895 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-01-29 23:00:49,899 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-01-29 23:00:49,900 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 29.01 11:00:48" (1/2) ... [2024-01-29 23:00:49,901 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4933e015 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 29.01 11:00:49, skipping insertion in model container [2024-01-29 23:00:49,902 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 29.01 11:00:48" (1/2) ... [2024-01-29 23:00:49,903 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@43dec1e and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 29.01 11:00:49, skipping insertion in model container [2024-01-29 23:00:49,903 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.01 11:00:49" (2/2) ... [2024-01-29 23:00:49,904 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4933e015 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.01 11:00:49, skipping insertion in model container [2024-01-29 23:00:49,904 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.01 11:00:49" (2/2) ... [2024-01-29 23:00:49,904 INFO L83 nessWitnessExtractor]: Extracting all invariants from correctness witness [2024-01-29 23:00:50,025 INFO L96 nessWitnessExtractor]: Found the following entries in the witness: [2024-01-29 23:00:50,027 INFO L98 nessWitnessExtractor]: Location invariant before [L994-L994] ((unsigned long )arg == 0UL) && (flag == (_Bool)0 || flag == (_Bool)1) [2024-01-29 23:00:50,027 INFO L98 nessWitnessExtractor]: Location invariant before [L994-L994] (unsigned long )arg == 0UL [2024-01-29 23:00:50,027 INFO L98 nessWitnessExtractor]: Location invariant before [L994-L994] (((unsigned long )arg == 0UL) && (flag == (_Bool)0 || flag == (_Bool)1)) && (((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (5 <= i && i <= 799)) || i == 4) [2024-01-29 23:00:50,028 INFO L98 nessWitnessExtractor]: Location invariant before [L1001-L1001] i == 800 [2024-01-29 23:00:50,028 INFO L98 nessWitnessExtractor]: Location invariant before [L1001-L1001] (i == 800) && ((unsigned long )arg == 0UL) [2024-01-29 23:00:50,028 INFO L98 nessWitnessExtractor]: Location invariant before [L995-L995] ((unsigned long )arg == 0UL) && (((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (5 <= i && i <= 799)) || i == 4) [2024-01-29 23:00:50,028 INFO L98 nessWitnessExtractor]: Location invariant before [L995-L995] (unsigned long )arg == 0UL [2024-01-29 23:00:50,028 INFO L98 nessWitnessExtractor]: Location invariant before [L995-L995] ((unsigned long )arg == 0UL) && (flag == (_Bool)0 || flag == (_Bool)1) [2024-01-29 23:00:50,043 INFO L98 nessWitnessExtractor]: Location invariant before [L1009-L1013] ((unsigned long )arg == 0UL) && (flag == (_Bool)0 || flag == (_Bool)1) [2024-01-29 23:00:50,043 INFO L98 nessWitnessExtractor]: Location invariant before [L1009-L1013] (((unsigned long )arg == 0UL) && (flag == (_Bool)0 || flag == (_Bool)1)) && ((((((((i == 5 || i == 4) || i == 3) || i == 2) || i == 1) || (8 <= i && i <= 799)) || (0 == i && i == 0)) || i == 7) || i == 6) [2024-01-29 23:00:50,043 INFO L98 nessWitnessExtractor]: Location invariant before [L1009-L1013] (unsigned long )arg == 0UL [2024-01-29 23:00:50,043 INFO L98 nessWitnessExtractor]: Location invariant before [L993-L993] ((unsigned long )arg == 0UL) && (((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (5 <= i && i <= 799)) || i == 4) [2024-01-29 23:00:50,043 INFO L98 nessWitnessExtractor]: Location invariant before [L993-L993] (unsigned long )arg == 0UL [2024-01-29 23:00:50,043 INFO L98 nessWitnessExtractor]: Location invariant before [L953-L953] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:50,043 INFO L98 nessWitnessExtractor]: Location invariant before [L1016-L1016] i == 800 [2024-01-29 23:00:50,043 INFO L98 nessWitnessExtractor]: Location invariant before [L1016-L1016] (i == 800) && ((unsigned long )arg == 0UL) [2024-01-29 23:00:50,044 INFO L98 nessWitnessExtractor]: Loop invariant at [L991-L1000] (unsigned long )arg == 0UL [2024-01-29 23:00:50,044 INFO L98 nessWitnessExtractor]: Location invariant before [L964-L964] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:50,044 INFO L98 nessWitnessExtractor]: Location invariant before [L1014-L1014] ((unsigned long )arg == 0UL) && (flag == (_Bool)0 || flag == (_Bool)1) [2024-01-29 23:00:50,044 INFO L98 nessWitnessExtractor]: Location invariant before [L1014-L1014] (((unsigned long )arg == 0UL) && (flag == (_Bool)0 || flag == (_Bool)1)) && ((((((((i == 4 || i == 3) || i == 2) || i == 1) || (8 <= i && i <= 799)) || (0 == i && i == 0)) || i == 7) || i == 6) || i == 5) [2024-01-29 23:00:50,044 INFO L98 nessWitnessExtractor]: Location invariant before [L1014-L1014] (unsigned long )arg == 0UL [2024-01-29 23:00:50,044 INFO L98 nessWitnessExtractor]: Location invariant before [L1008-L1008] ((unsigned long )arg == 0UL) && ((((((((i == 5 || i == 4) || i == 3) || i == 2) || i == 1) || (8 <= i && i <= 799)) || (0 == i && i == 0)) || i == 7) || i == 6) [2024-01-29 23:00:50,044 INFO L98 nessWitnessExtractor]: Location invariant before [L1008-L1008] (unsigned long )arg == 0UL [2024-01-29 23:00:50,044 INFO L98 nessWitnessExtractor]: Location invariant before [L949-L949] flag == (_Bool)1 [2024-01-29 23:00:50,044 INFO L98 nessWitnessExtractor]: Location invariant before [L968-L968] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:50,044 INFO L98 nessWitnessExtractor]: Location invariant before [L963-L963] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:50,044 INFO L98 nessWitnessExtractor]: Location invariant after [L947-L950] flag == (_Bool)1 [2024-01-29 23:00:50,045 INFO L98 nessWitnessExtractor]: Location invariant before [L1011-L1012] (flag == (_Bool)1) && ((((((((((((((((i == 5 || i == 4) || i == 4) || i == 3) || i == 3) || i == 2) || i == 2) || i == 1) || i == 1) || (8 <= i && i <= 799)) || (0 == i && i == 0)) || (8 <= i && i <= 799)) || (0 == i && i == 0)) || i == 7) || i == 7) || i == 6) || i == 6) [2024-01-29 23:00:50,045 INFO L98 nessWitnessExtractor]: Location invariant before [L1011-L1012] flag == (_Bool)1 [2024-01-29 23:00:50,045 INFO L98 nessWitnessExtractor]: Location invariant after [L1011-L1012] flag == (_Bool)1 [2024-01-29 23:00:50,045 INFO L98 nessWitnessExtractor]: Location invariant after [L1011-L1012] (flag == (_Bool)1) && ((((((((i == 4 || i == 3) || i == 2) || i == 1) || (8 <= i && i <= 799)) || (0 == i && i == 0)) || i == 7) || i == 6) || i == 5) [2024-01-29 23:00:50,045 INFO L98 nessWitnessExtractor]: Location invariant before [L1011-L1012] (flag == (_Bool)1) && ((unsigned long )arg == 0UL) [2024-01-29 23:00:50,045 INFO L98 nessWitnessExtractor]: Location invariant after [L1011-L1012] (flag == (_Bool)1) && ((unsigned long )arg == 0UL) [2024-01-29 23:00:50,045 INFO L98 nessWitnessExtractor]: Location invariant before [L999-L999] flag == (_Bool)1 [2024-01-29 23:00:50,045 INFO L98 nessWitnessExtractor]: Location invariant before [L999-L999] (flag == (_Bool)1) && (((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (5 <= i && i <= 799)) || i == 4) [2024-01-29 23:00:50,045 INFO L98 nessWitnessExtractor]: Location invariant before [L999-L999] (flag == (_Bool)1) && ((unsigned long )arg == 0UL) [2024-01-29 23:00:50,045 INFO L98 nessWitnessExtractor]: Location invariant after [L996-L997] (unsigned long )arg == 0UL [2024-01-29 23:00:50,045 INFO L98 nessWitnessExtractor]: Location invariant after [L996-L997] ((unsigned long )arg == 0UL) && (flag == (_Bool)0 || flag == (_Bool)1) [2024-01-29 23:00:50,045 INFO L98 nessWitnessExtractor]: Location invariant before [L996-L997] (((unsigned long )arg == 0UL) && (flag == (_Bool)0 || flag == (_Bool)1)) && ((((((((((i == 3 || i == 2) || i == 2) || i == 1) || i == 1) || (0 == i && i == 0)) || (0 == i && i == 0)) || (5 <= i && i <= 799)) || (5 <= i && i <= 799)) || i == 4) || i == 4) [2024-01-29 23:00:50,046 INFO L98 nessWitnessExtractor]: Location invariant before [L996-L997] ((unsigned long )arg == 0UL) && (flag == (_Bool)0 || flag == (_Bool)1) [2024-01-29 23:00:50,046 INFO L98 nessWitnessExtractor]: Location invariant before [L996-L997] (unsigned long )arg == 0UL [2024-01-29 23:00:50,046 INFO L98 nessWitnessExtractor]: Location invariant after [L996-L997] ((unsigned long )arg == 0UL) && (((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (5 <= i && i <= 799)) || i == 4) [2024-01-29 23:00:50,046 INFO L98 nessWitnessExtractor]: Location invariant before [L961-L970] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:50,046 INFO L98 nessWitnessExtractor]: Location invariant before [L1021-L1021] flag == (_Bool)0 [2024-01-29 23:00:50,046 INFO L98 nessWitnessExtractor]: Location invariant before [L983-L983] flag == (_Bool)1 [2024-01-29 23:00:50,046 INFO L98 nessWitnessExtractor]: Loop invariant at [L1006-L1015] (unsigned long )arg == 0UL [2024-01-29 23:00:50,046 INFO L98 nessWitnessExtractor]: Location invariant before [L941-L941] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:50,046 INFO L98 nessWitnessExtractor]: Location invariant after [L22-L24] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:50,046 INFO L98 nessWitnessExtractor]: Location invariant before [L945-L945] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:50,046 INFO L98 nessWitnessExtractor]: Location invariant before [L975-L984] flag == (_Bool)1 [2024-01-29 23:00:50,046 INFO L98 nessWitnessExtractor]: Location invariant before [L971-L971] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:50,047 INFO L98 nessWitnessExtractor]: Location invariant before [L969-L969] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:50,047 INFO L98 nessWitnessExtractor]: Location invariant before [L23-L23] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:50,047 INFO L98 nessWitnessExtractor]: Location invariant before [L23-L23] (flag == (_Bool)0 || flag == (_Bool)1) && (flag == (_Bool)0 || flag == (_Bool)1) [2024-01-29 23:00:50,047 INFO L98 nessWitnessExtractor]: Location invariant before [L1022-L1022] flag == (_Bool)0 [2024-01-29 23:00:50,047 INFO L98 nessWitnessExtractor]: Location invariant after [L943-L946] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:50,047 INFO L98 nessWitnessExtractor]: Location invariant before [L43-L43] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:50,049 INFO L98 nessWitnessExtractor]: Location invariant before [L977-L977] flag == (_Bool)1 [2024-01-29 23:00:50,050 INFO L98 nessWitnessExtractor]: Location invariant before [L998-L998] (((unsigned long )arg == 0UL) && (flag == (_Bool)0 || flag == (_Bool)1)) && (((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (5 <= i && i <= 799)) || i == 4) [2024-01-29 23:00:50,050 INFO L98 nessWitnessExtractor]: Location invariant before [L998-L998] ((unsigned long )arg == 0UL) && (flag == (_Bool)0 || flag == (_Bool)1) [2024-01-29 23:00:50,050 INFO L98 nessWitnessExtractor]: Location invariant before [L998-L998] (unsigned long )arg == 0UL [2024-01-29 23:00:50,051 INFO L98 nessWitnessExtractor]: Location invariant before [L982-L982] flag == (_Bool)1 [2024-01-29 23:00:50,051 INFO L98 nessWitnessExtractor]: Location invariant before [L941-L941] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:50,051 INFO L98 nessWitnessExtractor]: Location invariant before [L978-L978] flag == (_Bool)1 [2024-01-29 23:00:50,101 INFO L177 MainTranslator]: Built tables and reachable declarations [2024-01-29 23:00:50,526 WARN L239 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread/stack_longest-1.i[41530,41543] [2024-01-29 23:00:50,557 INFO L209 PostProcessor]: Analyzing one entry point: main [2024-01-29 23:00:50,573 INFO L202 MainTranslator]: Completed pre-run Start Parsing Local [2024-01-29 23:00:50,614 ERROR L324 MainTranslator]: Incorrect Syntax: Undeclared variable in ACSL expression: flag [2024-01-29 23:00:50,615 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@43dec1e and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.01 11:00:50, skipping insertion in model container [2024-01-29 23:00:50,615 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-01-29 23:00:50,615 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.procedureinliner [2024-01-29 23:00:50,618 INFO L158 Benchmark]: Toolchain (without parser) took 725.67ms. Allocated memory is still 73.4MB. Free memory was 37.0MB in the beginning and 33.8MB in the end (delta: 3.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2024-01-29 23:00:50,619 INFO L158 Benchmark]: Witness Parser took 0.21ms. Allocated memory is still 54.5MB. Free memory was 33.1MB in the beginning and 33.0MB in the end (delta: 73.4kB). There was no memory consumed. Max. memory is 16.1GB. [2024-01-29 23:00:50,620 INFO L158 Benchmark]: CDTParser took 0.11ms. Allocated memory is still 54.5MB. Free memory is still 38.2MB. There was no memory consumed. Max. memory is 16.1GB. [2024-01-29 23:00:50,620 INFO L158 Benchmark]: CACSL2BoogieTranslator took 720.38ms. Allocated memory is still 73.4MB. Free memory was 36.8MB in the beginning and 33.8MB in the end (delta: 3.0MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2024-01-29 23:00:50,622 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * Witness Parser took 0.21ms. Allocated memory is still 54.5MB. Free memory was 33.1MB in the beginning and 33.0MB in the end (delta: 73.4kB). There was no memory consumed. Max. memory is 16.1GB. * CDTParser took 0.11ms. Allocated memory is still 54.5MB. Free memory is still 38.2MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 720.38ms. Allocated memory is still 73.4MB. Free memory was 36.8MB in the beginning and 33.8MB in the end (delta: 3.0MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - SyntaxErrorResult [Line: 23]: Incorrect Syntax Undeclared variable in ACSL expression: flag RESULT: Ultimate could not prove your program: Incorrect Syntax Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: UNKNOWN