./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 cb09d658 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-cb09d65-m [2024-01-27 23:11:30,410 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-01-27 23:11:30,469 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Default.epf [2024-01-27 23:11:30,472 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-01-27 23:11:30,473 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-01-27 23:11:30,485 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-01-27 23:11:30,486 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-01-27 23:11:30,486 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-01-27 23:11:30,486 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-01-27 23:11:30,486 INFO L153 SettingsManager]: * Use memory slicer=true [2024-01-27 23:11:30,487 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-01-27 23:11:30,487 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-01-27 23:11:30,487 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-01-27 23:11:30,488 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-01-27 23:11:30,488 INFO L153 SettingsManager]: * Use SBE=true [2024-01-27 23:11:30,488 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-01-27 23:11:30,488 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-01-27 23:11:30,489 INFO L153 SettingsManager]: * sizeof long=4 [2024-01-27 23:11:30,489 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-01-27 23:11:30,489 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-01-27 23:11:30,489 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-01-27 23:11:30,490 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-01-27 23:11:30,490 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-01-27 23:11:30,490 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-01-27 23:11:30,491 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-01-27 23:11:30,491 INFO L153 SettingsManager]: * sizeof long double=12 [2024-01-27 23:11:30,491 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-01-27 23:11:30,491 INFO L153 SettingsManager]: * Use constant arrays=true [2024-01-27 23:11:30,492 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-01-27 23:11:30,492 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-01-27 23:11:30,492 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-01-27 23:11:30,492 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-01-27 23:11:30,493 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-01-27 23:11:30,493 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-01-27 23:11:30,493 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-01-27 23:11:30,493 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-01-27 23:11:30,493 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-01-27 23:11:30,494 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-01-27 23:11:30,494 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-01-27 23:11:30,494 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-01-27 23:11:30,494 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2024-01-27 23:11:30,494 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-01-27 23:11:30,495 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-01-27 23:11:30,495 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-27 23:11:30,690 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-01-27 23:11:30,718 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-01-27 23:11:30,719 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-01-27 23:11:30,720 INFO L270 PluginConnector]: Initializing CDTParser... [2024-01-27 23:11:30,721 INFO L274 PluginConnector]: CDTParser initialized [2024-01-27 23:11:30,721 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-27 23:11:31,742 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-01-27 23:11:31,964 INFO L384 CDTParser]: Found 1 translation units. [2024-01-27 23:11:31,965 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread/stack_longest-1.i [2024-01-27 23:11:31,980 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/6e4457266/e3b72ca8bd3045e28e2eb551032c1911/FLAG5b53feecf [2024-01-27 23:11:32,015 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/6e4457266/e3b72ca8bd3045e28e2eb551032c1911 [2024-01-27 23:11:32,017 INFO L270 PluginConnector]: Initializing Witness Parser... [2024-01-27 23:11:32,018 INFO L274 PluginConnector]: Witness Parser initialized [2024-01-27 23:11:32,019 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-27 23:11:32,130 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-01-27 23:11:32,132 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2024-01-27 23:11:32,134 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-01-27 23:11:32,134 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-01-27 23:11:32,138 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-01-27 23:11:32,138 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 27.01 11:11:32" (1/2) ... [2024-01-27 23:11:32,141 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@50737b80 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.01 11:11:32, skipping insertion in model container [2024-01-27 23:11:32,141 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 27.01 11:11:32" (1/2) ... [2024-01-27 23:11:32,144 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@4a7a4213 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.01 11:11:32, skipping insertion in model container [2024-01-27 23:11:32,144 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 27.01 11:11:32" (2/2) ... [2024-01-27 23:11:32,144 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@50737b80 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 27.01 11:11:32, skipping insertion in model container [2024-01-27 23:11:32,145 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 27.01 11:11:32" (2/2) ... [2024-01-27 23:11:32,145 INFO L83 nessWitnessExtractor]: Extracting all invariants from correctness witness [2024-01-27 23:11:32,220 INFO L96 nessWitnessExtractor]: Found the following entries in the witness: [2024-01-27 23:11:32,221 INFO L98 nessWitnessExtractor]: Location invariant before [L941-L941] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-27 23:11:32,221 INFO L98 nessWitnessExtractor]: Loop invariant at [L991-L1000] (unsigned long )arg == 0UL [2024-01-27 23:11:32,221 INFO L98 nessWitnessExtractor]: Location invariant before [L1021-L1021] flag == (_Bool)0 [2024-01-27 23:11:32,221 INFO L98 nessWitnessExtractor]: Location invariant before [L1014-L1014] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-27 23:11:32,221 INFO L98 nessWitnessExtractor]: Location invariant before [L1014-L1014] (((((((i == 4 || i == 3) || i == 2) || i == 1) || (8 <= i && i <= 799)) || (0 == i && i == 0)) || i == 7) || i == 6) || i == 5 [2024-01-27 23:11:32,222 INFO L98 nessWitnessExtractor]: Location invariant before [L1014-L1014] (unsigned long )arg == 0UL [2024-01-27 23:11:32,222 INFO L98 nessWitnessExtractor]: Location invariant before [L969-L969] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-27 23:11:32,222 INFO L98 nessWitnessExtractor]: Location invariant before [L977-L977] flag == (_Bool)1 [2024-01-27 23:11:32,222 INFO L98 nessWitnessExtractor]: Location invariant before [L949-L949] flag == (_Bool)1 [2024-01-27 23:11:32,223 INFO L98 nessWitnessExtractor]: Location invariant before [L945-L945] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-27 23:11:32,223 INFO L98 nessWitnessExtractor]: Location invariant after [L943-L946] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-27 23:11:32,223 INFO L98 nessWitnessExtractor]: Location invariant before [L993-L993] (unsigned long )arg == 0UL [2024-01-27 23:11:32,223 INFO L98 nessWitnessExtractor]: Location invariant before [L993-L993] ((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (5 <= i && i <= 799)) || i == 4 [2024-01-27 23:11:32,223 INFO L98 nessWitnessExtractor]: Location invariant before [L968-L968] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-27 23:11:32,223 INFO L98 nessWitnessExtractor]: Location invariant after [L947-L950] flag == (_Bool)1 [2024-01-27 23:11:32,223 INFO L98 nessWitnessExtractor]: Location invariant before [L998-L998] ((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (5 <= i && i <= 799)) || i == 4 [2024-01-27 23:11:32,223 INFO L98 nessWitnessExtractor]: Location invariant before [L998-L998] (unsigned long )arg == 0UL [2024-01-27 23:11:32,224 INFO L98 nessWitnessExtractor]: Location invariant before [L998-L998] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-27 23:11:32,224 INFO L98 nessWitnessExtractor]: Location invariant before [L999-L999] (unsigned long )arg == 0UL [2024-01-27 23:11:32,224 INFO L98 nessWitnessExtractor]: Location invariant before [L999-L999] flag == (_Bool)1 [2024-01-27 23:11:32,224 INFO L98 nessWitnessExtractor]: Location invariant before [L999-L999] ((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (5 <= i && i <= 799)) || i == 4 [2024-01-27 23:11:32,224 INFO L98 nessWitnessExtractor]: Location invariant before [L971-L971] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-27 23:11:32,225 INFO L98 nessWitnessExtractor]: Location invariant before [L23-L23] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-27 23:11:32,225 INFO L98 nessWitnessExtractor]: Location invariant before [L23-L23] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-27 23:11:32,225 INFO L98 nessWitnessExtractor]: Location invariant after [L22-L24] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-27 23:11:32,225 INFO L98 nessWitnessExtractor]: Location invariant before [L1022-L1022] flag == (_Bool)0 [2024-01-27 23:11:32,225 INFO L98 nessWitnessExtractor]: Location invariant before [L996-L997] (unsigned long )arg == 0UL [2024-01-27 23:11:32,225 INFO L98 nessWitnessExtractor]: Location invariant after [L996-L997] ((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (5 <= i && i <= 799)) || i == 4 [2024-01-27 23:11:32,225 INFO L98 nessWitnessExtractor]: Location invariant before [L996-L997] (((((((((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-27 23:11:32,225 INFO L98 nessWitnessExtractor]: Location invariant before [L996-L997] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-27 23:11:32,226 INFO L98 nessWitnessExtractor]: Location invariant after [L996-L997] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-27 23:11:32,226 INFO L98 nessWitnessExtractor]: Location invariant after [L996-L997] (unsigned long )arg == 0UL [2024-01-27 23:11:32,226 INFO L98 nessWitnessExtractor]: Location invariant before [L1001-L1001] (unsigned long )arg == 0UL [2024-01-27 23:11:32,226 INFO L98 nessWitnessExtractor]: Location invariant before [L1001-L1001] i == 800 [2024-01-27 23:11:32,226 INFO L98 nessWitnessExtractor]: Loop invariant at [L1006-L1015] (unsigned long )arg == 0UL [2024-01-27 23:11:32,226 INFO L98 nessWitnessExtractor]: Location invariant before [L953-L953] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-27 23:11:32,226 INFO L98 nessWitnessExtractor]: Location invariant before [L1009-L1013] (unsigned long )arg == 0UL [2024-01-27 23:11:32,226 INFO L98 nessWitnessExtractor]: Location invariant before [L1009-L1013] (((((((i == 5 || i == 4) || i == 3) || i == 2) || i == 1) || (8 <= i && i <= 799)) || (0 == i && i == 0)) || i == 7) || i == 6 [2024-01-27 23:11:32,227 INFO L98 nessWitnessExtractor]: Location invariant before [L1009-L1013] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-27 23:11:32,228 INFO L98 nessWitnessExtractor]: Location invariant before [L964-L964] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-27 23:11:32,228 INFO L98 nessWitnessExtractor]: Location invariant before [L961-L970] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-27 23:11:32,228 INFO L98 nessWitnessExtractor]: Location invariant before [L975-L984] flag == (_Bool)1 [2024-01-27 23:11:32,228 INFO L98 nessWitnessExtractor]: Location invariant before [L43-L43] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-27 23:11:32,228 INFO L98 nessWitnessExtractor]: Location invariant before [L978-L978] flag == (_Bool)1 [2024-01-27 23:11:32,228 INFO L98 nessWitnessExtractor]: Location invariant before [L995-L995] ((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (5 <= i && i <= 799)) || i == 4 [2024-01-27 23:11:32,228 INFO L98 nessWitnessExtractor]: Location invariant before [L995-L995] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-27 23:11:32,229 INFO L98 nessWitnessExtractor]: Location invariant before [L995-L995] (unsigned long )arg == 0UL [2024-01-27 23:11:32,229 INFO L98 nessWitnessExtractor]: Location invariant before [L941-L941] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-27 23:11:32,229 INFO L98 nessWitnessExtractor]: Location invariant before [L1008-L1008] (unsigned long )arg == 0UL [2024-01-27 23:11:32,229 INFO L98 nessWitnessExtractor]: Location invariant before [L1008-L1008] (((((((i == 5 || i == 4) || i == 3) || i == 2) || i == 1) || (8 <= i && i <= 799)) || (0 == i && i == 0)) || i == 7) || i == 6 [2024-01-27 23:11:32,229 INFO L98 nessWitnessExtractor]: Location invariant before [L982-L982] flag == (_Bool)1 [2024-01-27 23:11:32,230 INFO L98 nessWitnessExtractor]: Location invariant before [L994-L994] (unsigned long )arg == 0UL [2024-01-27 23:11:32,230 INFO L98 nessWitnessExtractor]: Location invariant before [L994-L994] ((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (5 <= i && i <= 799)) || i == 4 [2024-01-27 23:11:32,230 INFO L98 nessWitnessExtractor]: Location invariant before [L994-L994] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-27 23:11:32,230 INFO L98 nessWitnessExtractor]: Location invariant before [L1016-L1016] (unsigned long )arg == 0UL [2024-01-27 23:11:32,231 INFO L98 nessWitnessExtractor]: Location invariant before [L1016-L1016] i == 800 [2024-01-27 23:11:32,231 INFO L98 nessWitnessExtractor]: Location invariant before [L963-L963] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-27 23:11:32,231 INFO L98 nessWitnessExtractor]: Location invariant after [L1011-L1012] flag == (_Bool)1 [2024-01-27 23:11:32,231 INFO L98 nessWitnessExtractor]: Location invariant before [L1011-L1012] flag == (_Bool)1 [2024-01-27 23:11:32,232 INFO L98 nessWitnessExtractor]: Location invariant after [L1011-L1012] (unsigned long )arg == 0UL [2024-01-27 23:11:32,232 INFO L98 nessWitnessExtractor]: Location invariant after [L1011-L1012] (((((((i == 4 || i == 3) || i == 2) || i == 1) || (8 <= i && i <= 799)) || (0 == i && i == 0)) || i == 7) || i == 6) || i == 5 [2024-01-27 23:11:32,232 INFO L98 nessWitnessExtractor]: Location invariant before [L1011-L1012] (unsigned long )arg == 0UL [2024-01-27 23:11:32,232 INFO L98 nessWitnessExtractor]: Location invariant before [L1011-L1012] (((((((((((((((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-27 23:11:32,232 INFO L98 nessWitnessExtractor]: Location invariant before [L983-L983] flag == (_Bool)1 [2024-01-27 23:11:32,270 INFO L177 MainTranslator]: Built tables and reachable declarations [2024-01-27 23:11:32,622 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-27 23:11:32,640 INFO L209 PostProcessor]: Analyzing one entry point: main [2024-01-27 23:11:32,665 INFO L202 MainTranslator]: Completed pre-run Start Parsing Local [2024-01-27 23:11:32,699 ERROR L324 MainTranslator]: Incorrect Syntax: Undeclared variable in ACSL expression: flag [2024-01-27 23:11:32,700 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@4a7a4213 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 27.01 11:11:32, skipping insertion in model container [2024-01-27 23:11:32,700 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-01-27 23:11:32,701 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.procedureinliner [2024-01-27 23:11:32,702 INFO L158 Benchmark]: Toolchain (without parser) took 569.65ms. Allocated memory is still 153.1MB. Free memory was 120.1MB in the beginning and 112.4MB in the end (delta: 7.7MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. [2024-01-27 23:11:32,702 INFO L158 Benchmark]: CDTParser took 0.15ms. Allocated memory is still 92.3MB. Free memory is still 43.2MB. There was no memory consumed. Max. memory is 16.1GB. [2024-01-27 23:11:32,703 INFO L158 Benchmark]: Witness Parser took 0.11ms. Allocated memory is still 153.1MB. Free memory is still 124.5MB. There was no memory consumed. Max. memory is 16.1GB. [2024-01-27 23:11:32,704 INFO L158 Benchmark]: CACSL2BoogieTranslator took 566.54ms. Allocated memory is still 153.1MB. Free memory was 119.4MB in the beginning and 112.4MB in the end (delta: 7.1MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. [2024-01-27 23:11:32,706 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.15ms. Allocated memory is still 92.3MB. Free memory is still 43.2MB. There was no memory consumed. Max. memory is 16.1GB. * Witness Parser took 0.11ms. Allocated memory is still 153.1MB. Free memory is still 124.5MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 566.54ms. Allocated memory is still 153.1MB. Free memory was 119.4MB in the beginning and 112.4MB in the end (delta: 7.1MB). Peak memory consumption was 12.6MB. 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-cb09d65-m [2024-01-27 23:11:34,583 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-01-27 23:11:34,659 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Bitvector.epf [2024-01-27 23:11:34,662 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-01-27 23:11:34,663 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-01-27 23:11:34,689 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-01-27 23:11:34,689 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-01-27 23:11:34,690 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-01-27 23:11:34,690 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-01-27 23:11:34,693 INFO L153 SettingsManager]: * Use memory slicer=true [2024-01-27 23:11:34,694 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-01-27 23:11:34,694 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-01-27 23:11:34,694 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-01-27 23:11:34,695 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-01-27 23:11:34,695 INFO L153 SettingsManager]: * Use SBE=true [2024-01-27 23:11:34,696 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-01-27 23:11:34,696 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-01-27 23:11:34,696 INFO L153 SettingsManager]: * sizeof long=4 [2024-01-27 23:11:34,696 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-01-27 23:11:34,696 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-01-27 23:11:34,696 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-01-27 23:11:34,697 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-01-27 23:11:34,697 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-01-27 23:11:34,697 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-01-27 23:11:34,697 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-01-27 23:11:34,698 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-01-27 23:11:34,698 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-01-27 23:11:34,698 INFO L153 SettingsManager]: * sizeof long double=12 [2024-01-27 23:11:34,698 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-01-27 23:11:34,698 INFO L153 SettingsManager]: * Use constant arrays=true [2024-01-27 23:11:34,699 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-01-27 23:11:34,699 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-01-27 23:11:34,699 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-01-27 23:11:34,699 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-01-27 23:11:34,699 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-01-27 23:11:34,699 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-01-27 23:11:34,700 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-01-27 23:11:34,700 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-01-27 23:11:34,700 INFO L153 SettingsManager]: * Trace refinement strategy=WOLF [2024-01-27 23:11:34,700 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-01-27 23:11:34,700 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-01-27 23:11:34,701 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-01-27 23:11:34,701 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2024-01-27 23:11:34,701 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-01-27 23:11:34,701 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-01-27 23:11:34,701 INFO L153 SettingsManager]: * Logic for external solver=AUFBV [2024-01-27 23:11:34,701 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-27 23:11:34,982 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-01-27 23:11:34,997 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-01-27 23:11:34,999 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-01-27 23:11:35,000 INFO L270 PluginConnector]: Initializing CDTParser... [2024-01-27 23:11:35,000 INFO L274 PluginConnector]: CDTParser initialized [2024-01-27 23:11:35,001 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-27 23:11:36,072 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-01-27 23:11:36,313 INFO L384 CDTParser]: Found 1 translation units. [2024-01-27 23:11:36,320 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread/stack_longest-1.i [2024-01-27 23:11:36,337 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/6a88680c0/fe1e160771d54e46b535f32c146f3a94/FLAG6984bbfc2 [2024-01-27 23:11:36,347 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/6a88680c0/fe1e160771d54e46b535f32c146f3a94 [2024-01-27 23:11:36,350 INFO L270 PluginConnector]: Initializing Witness Parser... [2024-01-27 23:11:36,351 INFO L274 PluginConnector]: Witness Parser initialized [2024-01-27 23:11:36,351 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-27 23:11:36,456 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-01-27 23:11:36,457 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2024-01-27 23:11:36,458 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-01-27 23:11:36,458 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-01-27 23:11:36,461 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-01-27 23:11:36,462 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 27.01 11:11:36" (1/2) ... [2024-01-27 23:11:36,463 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@6f93a33f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.01 11:11:36, skipping insertion in model container [2024-01-27 23:11:36,463 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 27.01 11:11:36" (1/2) ... [2024-01-27 23:11:36,464 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@72ccec06 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.01 11:11:36, skipping insertion in model container [2024-01-27 23:11:36,465 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 27.01 11:11:36" (2/2) ... [2024-01-27 23:11:36,468 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@6f93a33f and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 27.01 11:11:36, skipping insertion in model container [2024-01-27 23:11:36,468 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 27.01 11:11:36" (2/2) ... [2024-01-27 23:11:36,468 INFO L83 nessWitnessExtractor]: Extracting all invariants from correctness witness [2024-01-27 23:11:36,536 INFO L96 nessWitnessExtractor]: Found the following entries in the witness: [2024-01-27 23:11:36,537 INFO L98 nessWitnessExtractor]: Location invariant before [L977-L977] flag == (_Bool)1 [2024-01-27 23:11:36,537 INFO L98 nessWitnessExtractor]: Location invariant after [L1011-L1012] (((((((i == 4 || i == 3) || i == 2) || i == 1) || (8 <= i && i <= 799)) || (0 == i && i == 0)) || i == 7) || i == 6) || i == 5 [2024-01-27 23:11:36,537 INFO L98 nessWitnessExtractor]: Location invariant before [L1011-L1012] (((((((((((((((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-27 23:11:36,537 INFO L98 nessWitnessExtractor]: Location invariant before [L1011-L1012] flag == (_Bool)1 [2024-01-27 23:11:36,538 INFO L98 nessWitnessExtractor]: Location invariant after [L1011-L1012] flag == (_Bool)1 [2024-01-27 23:11:36,538 INFO L98 nessWitnessExtractor]: Location invariant after [L1011-L1012] (unsigned long )arg == 0UL [2024-01-27 23:11:36,538 INFO L98 nessWitnessExtractor]: Location invariant before [L1011-L1012] (unsigned long )arg == 0UL [2024-01-27 23:11:36,538 INFO L98 nessWitnessExtractor]: Location invariant after [L22-L24] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-27 23:11:36,539 INFO L98 nessWitnessExtractor]: Location invariant before [L963-L963] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-27 23:11:36,539 INFO L98 nessWitnessExtractor]: Location invariant before [L964-L964] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-27 23:11:36,539 INFO L98 nessWitnessExtractor]: Location invariant before [L1009-L1013] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-27 23:11:36,539 INFO L98 nessWitnessExtractor]: Location invariant before [L1009-L1013] (unsigned long )arg == 0UL [2024-01-27 23:11:36,539 INFO L98 nessWitnessExtractor]: Location invariant before [L1009-L1013] (((((((i == 5 || i == 4) || i == 3) || i == 2) || i == 1) || (8 <= i && i <= 799)) || (0 == i && i == 0)) || i == 7) || i == 6 [2024-01-27 23:11:36,539 INFO L98 nessWitnessExtractor]: Location invariant before [L1016-L1016] i == 800 [2024-01-27 23:11:36,539 INFO L98 nessWitnessExtractor]: Location invariant before [L1016-L1016] (unsigned long )arg == 0UL [2024-01-27 23:11:36,540 INFO L98 nessWitnessExtractor]: Location invariant before [L982-L982] flag == (_Bool)1 [2024-01-27 23:11:36,540 INFO L98 nessWitnessExtractor]: Location invariant before [L1008-L1008] (unsigned long )arg == 0UL [2024-01-27 23:11:36,540 INFO L98 nessWitnessExtractor]: Location invariant before [L1008-L1008] (((((((i == 5 || i == 4) || i == 3) || i == 2) || i == 1) || (8 <= i && i <= 799)) || (0 == i && i == 0)) || i == 7) || i == 6 [2024-01-27 23:11:36,540 INFO L98 nessWitnessExtractor]: Location invariant before [L993-L993] (unsigned long )arg == 0UL [2024-01-27 23:11:36,540 INFO L98 nessWitnessExtractor]: Location invariant before [L993-L993] ((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (5 <= i && i <= 799)) || i == 4 [2024-01-27 23:11:36,541 INFO L98 nessWitnessExtractor]: Location invariant before [L941-L941] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-27 23:11:36,541 INFO L98 nessWitnessExtractor]: Location invariant after [L947-L950] flag == (_Bool)1 [2024-01-27 23:11:36,541 INFO L98 nessWitnessExtractor]: Location invariant before [L43-L43] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-27 23:11:36,541 INFO L98 nessWitnessExtractor]: Location invariant before [L983-L983] flag == (_Bool)1 [2024-01-27 23:11:36,541 INFO L98 nessWitnessExtractor]: Location invariant before [L999-L999] (unsigned long )arg == 0UL [2024-01-27 23:11:36,541 INFO L98 nessWitnessExtractor]: Location invariant before [L999-L999] flag == (_Bool)1 [2024-01-27 23:11:36,541 INFO L98 nessWitnessExtractor]: Location invariant before [L999-L999] ((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (5 <= i && i <= 799)) || i == 4 [2024-01-27 23:11:36,541 INFO L98 nessWitnessExtractor]: Loop invariant at [L991-L1000] (unsigned long )arg == 0UL [2024-01-27 23:11:36,542 INFO L98 nessWitnessExtractor]: Loop invariant at [L1006-L1015] (unsigned long )arg == 0UL [2024-01-27 23:11:36,542 INFO L98 nessWitnessExtractor]: Location invariant before [L968-L968] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-27 23:11:36,542 INFO L98 nessWitnessExtractor]: Location invariant before [L969-L969] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-27 23:11:36,542 INFO L98 nessWitnessExtractor]: Location invariant before [L971-L971] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-27 23:11:36,543 INFO L98 nessWitnessExtractor]: Location invariant before [L941-L941] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-27 23:11:36,543 INFO L98 nessWitnessExtractor]: Location invariant before [L1001-L1001] (unsigned long )arg == 0UL [2024-01-27 23:11:36,544 INFO L98 nessWitnessExtractor]: Location invariant before [L1001-L1001] i == 800 [2024-01-27 23:11:36,544 INFO L98 nessWitnessExtractor]: Location invariant before [L949-L949] flag == (_Bool)1 [2024-01-27 23:11:36,544 INFO L98 nessWitnessExtractor]: Location invariant before [L975-L984] flag == (_Bool)1 [2024-01-27 23:11:36,544 INFO L98 nessWitnessExtractor]: Location invariant before [L1021-L1021] flag == (_Bool)0 [2024-01-27 23:11:36,544 INFO L98 nessWitnessExtractor]: Location invariant after [L996-L997] (unsigned long )arg == 0UL [2024-01-27 23:11:36,545 INFO L98 nessWitnessExtractor]: Location invariant before [L996-L997] (((((((((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-27 23:11:36,545 INFO L98 nessWitnessExtractor]: Location invariant after [L996-L997] ((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (5 <= i && i <= 799)) || i == 4 [2024-01-27 23:11:36,545 INFO L98 nessWitnessExtractor]: Location invariant before [L996-L997] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-27 23:11:36,545 INFO L98 nessWitnessExtractor]: Location invariant after [L996-L997] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-27 23:11:36,545 INFO L98 nessWitnessExtractor]: Location invariant before [L996-L997] (unsigned long )arg == 0UL [2024-01-27 23:11:36,546 INFO L98 nessWitnessExtractor]: Location invariant before [L1014-L1014] (((((((i == 4 || i == 3) || i == 2) || i == 1) || (8 <= i && i <= 799)) || (0 == i && i == 0)) || i == 7) || i == 6) || i == 5 [2024-01-27 23:11:36,546 INFO L98 nessWitnessExtractor]: Location invariant before [L1014-L1014] (unsigned long )arg == 0UL [2024-01-27 23:11:36,546 INFO L98 nessWitnessExtractor]: Location invariant before [L1014-L1014] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-27 23:11:36,546 INFO L98 nessWitnessExtractor]: Location invariant before [L998-L998] (unsigned long )arg == 0UL [2024-01-27 23:11:36,546 INFO L98 nessWitnessExtractor]: Location invariant before [L998-L998] ((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (5 <= i && i <= 799)) || i == 4 [2024-01-27 23:11:36,546 INFO L98 nessWitnessExtractor]: Location invariant before [L998-L998] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-27 23:11:36,547 INFO L98 nessWitnessExtractor]: Location invariant before [L1022-L1022] flag == (_Bool)0 [2024-01-27 23:11:36,547 INFO L98 nessWitnessExtractor]: Location invariant before [L961-L970] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-27 23:11:36,547 INFO L98 nessWitnessExtractor]: Location invariant before [L945-L945] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-27 23:11:36,548 INFO L98 nessWitnessExtractor]: Location invariant before [L978-L978] flag == (_Bool)1 [2024-01-27 23:11:36,548 INFO L98 nessWitnessExtractor]: Location invariant before [L953-L953] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-27 23:11:36,548 INFO L98 nessWitnessExtractor]: Location invariant before [L995-L995] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-27 23:11:36,548 INFO L98 nessWitnessExtractor]: Location invariant before [L995-L995] (unsigned long )arg == 0UL [2024-01-27 23:11:36,548 INFO L98 nessWitnessExtractor]: Location invariant before [L995-L995] ((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (5 <= i && i <= 799)) || i == 4 [2024-01-27 23:11:36,549 INFO L98 nessWitnessExtractor]: Location invariant after [L943-L946] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-27 23:11:36,549 INFO L98 nessWitnessExtractor]: Location invariant before [L23-L23] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-27 23:11:36,549 INFO L98 nessWitnessExtractor]: Location invariant before [L23-L23] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-27 23:11:36,549 INFO L98 nessWitnessExtractor]: Location invariant before [L994-L994] (unsigned long )arg == 0UL [2024-01-27 23:11:36,549 INFO L98 nessWitnessExtractor]: Location invariant before [L994-L994] ((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || (5 <= i && i <= 799)) || i == 4 [2024-01-27 23:11:36,549 INFO L98 nessWitnessExtractor]: Location invariant before [L994-L994] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-27 23:11:36,588 INFO L177 MainTranslator]: Built tables and reachable declarations [2024-01-27 23:11:36,928 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-27 23:11:36,960 INFO L209 PostProcessor]: Analyzing one entry point: main [2024-01-27 23:11:36,975 INFO L202 MainTranslator]: Completed pre-run Start Parsing Local [2024-01-27 23:11:37,025 ERROR L324 MainTranslator]: Incorrect Syntax: Undeclared variable in ACSL expression: flag [2024-01-27 23:11:37,026 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@72ccec06 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 27.01 11:11:37, skipping insertion in model container [2024-01-27 23:11:37,027 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-01-27 23:11:37,027 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.procedureinliner [2024-01-27 23:11:37,028 INFO L158 Benchmark]: Toolchain (without parser) took 571.02ms. Allocated memory was 77.6MB in the beginning and 109.1MB in the end (delta: 31.5MB). Free memory was 51.9MB in the beginning and 85.3MB in the end (delta: -33.4MB). Peak memory consumption was 21.4MB. Max. memory is 16.1GB. [2024-01-27 23:11:37,029 INFO L158 Benchmark]: CDTParser took 0.22ms. Allocated memory is still 77.6MB. Free memory was 57.9MB in the beginning and 57.7MB in the end (delta: 106.9kB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-01-27 23:11:37,030 INFO L158 Benchmark]: Witness Parser took 0.09ms. Allocated memory is still 77.6MB. Free memory is still 56.6MB. There was no memory consumed. Max. memory is 16.1GB. [2024-01-27 23:11:37,030 INFO L158 Benchmark]: CACSL2BoogieTranslator took 569.27ms. Allocated memory was 77.6MB in the beginning and 109.1MB in the end (delta: 31.5MB). Free memory was 51.6MB in the beginning and 85.3MB in the end (delta: -33.7MB). Peak memory consumption was 21.4MB. Max. memory is 16.1GB. [2024-01-27 23:11:37,032 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.22ms. Allocated memory is still 77.6MB. Free memory was 57.9MB in the beginning and 57.7MB in the end (delta: 106.9kB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Witness Parser took 0.09ms. Allocated memory is still 77.6MB. Free memory is still 56.6MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 569.27ms. Allocated memory was 77.6MB in the beginning and 109.1MB in the end (delta: 31.5MB). Free memory was 51.6MB in the beginning and 85.3MB in the end (delta: -33.7MB). Peak memory consumption was 21.4MB. 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