./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/unreach-call.prp --file ../../../trunk/examples/svcomp/pthread/stack-2.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-2.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-2.i ./goblint.2023-12-19_14-39-08.files/SV-COMP24_unreach-call/stack-2.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:34,968 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-01-29 23:00:35,047 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:35,052 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-01-29 23:00:35,053 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-01-29 23:00:35,082 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-01-29 23:00:35,084 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-01-29 23:00:35,084 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-01-29 23:00:35,085 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-01-29 23:00:35,088 INFO L153 SettingsManager]: * Use memory slicer=true [2024-01-29 23:00:35,089 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-01-29 23:00:35,089 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-01-29 23:00:35,090 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-01-29 23:00:35,091 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-01-29 23:00:35,092 INFO L153 SettingsManager]: * Use SBE=true [2024-01-29 23:00:35,092 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-01-29 23:00:35,092 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-01-29 23:00:35,092 INFO L153 SettingsManager]: * sizeof long=4 [2024-01-29 23:00:35,093 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-01-29 23:00:35,093 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-01-29 23:00:35,093 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-01-29 23:00:35,096 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-01-29 23:00:35,096 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-01-29 23:00:35,097 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-01-29 23:00:35,097 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-01-29 23:00:35,097 INFO L153 SettingsManager]: * sizeof long double=12 [2024-01-29 23:00:35,097 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-01-29 23:00:35,097 INFO L153 SettingsManager]: * Use constant arrays=true [2024-01-29 23:00:35,098 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-01-29 23:00:35,098 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-01-29 23:00:35,099 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-01-29 23:00:35,099 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-01-29 23:00:35,099 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-01-29 23:00:35,100 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-01-29 23:00:35,100 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-01-29 23:00:35,100 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-01-29 23:00:35,100 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-01-29 23:00:35,100 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-01-29 23:00:35,101 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-01-29 23:00:35,101 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-01-29 23:00:35,101 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2024-01-29 23:00:35,101 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-01-29 23:00:35,102 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-01-29 23:00:35,102 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:35,381 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-01-29 23:00:35,408 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-01-29 23:00:35,411 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-01-29 23:00:35,412 INFO L270 PluginConnector]: Initializing CDTParser... [2024-01-29 23:00:35,413 INFO L274 PluginConnector]: CDTParser initialized [2024-01-29 23:00:35,413 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/pthread/stack-2.i [2024-01-29 23:00:36,610 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-01-29 23:00:36,931 INFO L384 CDTParser]: Found 1 translation units. [2024-01-29 23:00:36,932 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread/stack-2.i [2024-01-29 23:00:36,953 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/8cd5174a3/56c697da28474645a2034e29152cd1dc/FLAG6c5a2befe [2024-01-29 23:00:36,970 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/8cd5174a3/56c697da28474645a2034e29152cd1dc [2024-01-29 23:00:36,973 INFO L270 PluginConnector]: Initializing Witness Parser... [2024-01-29 23:00:36,974 INFO L274 PluginConnector]: Witness Parser initialized [2024-01-29 23:00:36,975 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-2.yml/witness.yml [2024-01-29 23:00:37,111 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-01-29 23:00:37,113 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2024-01-29 23:00:37,114 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-01-29 23:00:37,114 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-01-29 23:00:37,119 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-01-29 23:00:37,119 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.01 11:00:36" (1/2) ... [2024-01-29 23:00:37,121 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@f195641 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.01 11:00:37, skipping insertion in model container [2024-01-29 23:00:37,121 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.01 11:00:36" (1/2) ... [2024-01-29 23:00:37,123 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@26b676b3 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.01 11:00:37, skipping insertion in model container [2024-01-29 23:00:37,123 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:37" (2/2) ... [2024-01-29 23:00:37,124 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@f195641 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 29.01 11:00:37, skipping insertion in model container [2024-01-29 23:00:37,124 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:37" (2/2) ... [2024-01-29 23:00:37,125 INFO L83 nessWitnessExtractor]: Extracting all invariants from correctness witness [2024-01-29 23:00:37,223 INFO L96 nessWitnessExtractor]: Found the following entries in the witness: [2024-01-29 23:00:37,224 INFO L98 nessWitnessExtractor]: Location invariant before [L1015-L1015] ((unsigned long )arg == 0UL) && ((((i == 4 || i == 3) || i == 2) || i == 1) || (0 == i && i == 0)) [2024-01-29 23:00:37,224 INFO L98 nessWitnessExtractor]: Location invariant before [L1015-L1015] (unsigned long )arg == 0UL [2024-01-29 23:00:37,225 INFO L98 nessWitnessExtractor]: Location invariant before [L1015-L1015] ((unsigned long )arg == 0UL) && (flag == (_Bool)0 || flag == (_Bool)1) [2024-01-29 23:00:37,225 INFO L98 nessWitnessExtractor]: Location invariant before [L970-L970] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:37,225 INFO L98 nessWitnessExtractor]: Loop invariant at [L1007-L1016] (unsigned long )arg == 0UL [2024-01-29 23:00:37,225 INFO L98 nessWitnessExtractor]: Location invariant before [L999-L999] (unsigned long )arg == 0UL [2024-01-29 23:00:37,225 INFO L98 nessWitnessExtractor]: Location invariant before [L999-L999] ((unsigned long )arg == 0UL) && (flag == (_Bool)0 || flag == (_Bool)1) [2024-01-29 23:00:37,225 INFO L98 nessWitnessExtractor]: Location invariant before [L999-L999] ((unsigned long )arg == 0UL) && ((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || i == 4) [2024-01-29 23:00:37,226 INFO L98 nessWitnessExtractor]: Location invariant before [L1022-L1022] flag == (_Bool)0 [2024-01-29 23:00:37,226 INFO L98 nessWitnessExtractor]: Location invariant before [L976-L985] flag == (_Bool)1 [2024-01-29 23:00:37,226 INFO L98 nessWitnessExtractor]: Location invariant before [L1009-L1009] ((unsigned long )arg == 0UL) && ((((i == 4 || i == 3) || i == 2) || i == 1) || (0 == i && i == 0)) [2024-01-29 23:00:37,226 INFO L98 nessWitnessExtractor]: Location invariant before [L1009-L1009] (unsigned long )arg == 0UL [2024-01-29 23:00:37,226 INFO L98 nessWitnessExtractor]: Location invariant after [L997-L998] (unsigned long )arg == 0UL [2024-01-29 23:00:37,226 INFO L98 nessWitnessExtractor]: Location invariant before [L997-L998] ((unsigned long )arg == 0UL) && (flag == (_Bool)0 || flag == (_Bool)1) [2024-01-29 23:00:37,227 INFO L98 nessWitnessExtractor]: Location invariant before [L997-L998] (((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)) || i == 4) || i == 4) [2024-01-29 23:00:37,227 INFO L98 nessWitnessExtractor]: Location invariant before [L997-L998] (unsigned long )arg == 0UL [2024-01-29 23:00:37,227 INFO L98 nessWitnessExtractor]: Location invariant after [L997-L998] ((unsigned long )arg == 0UL) && ((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || i == 4) [2024-01-29 23:00:37,227 INFO L98 nessWitnessExtractor]: Location invariant after [L997-L998] ((unsigned long )arg == 0UL) && (flag == (_Bool)0 || flag == (_Bool)1) [2024-01-29 23:00:37,227 INFO L98 nessWitnessExtractor]: Location invariant before [L1023-L1023] flag == (_Bool)0 [2024-01-29 23:00:37,228 INFO L98 nessWitnessExtractor]: Location invariant before [L965-L965] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:37,228 INFO L98 nessWitnessExtractor]: Location invariant before [L983-L983] flag == (_Bool)1 [2024-01-29 23:00:37,228 INFO L98 nessWitnessExtractor]: Loop invariant at [L992-L1001] (unsigned long )arg == 0UL [2024-01-29 23:00:37,229 INFO L98 nessWitnessExtractor]: Location invariant before [L1010-L1014] (unsigned long )arg == 0UL [2024-01-29 23:00:37,229 INFO L98 nessWitnessExtractor]: Location invariant before [L1010-L1014] ((unsigned long )arg == 0UL) && (flag == (_Bool)0 || flag == (_Bool)1) [2024-01-29 23:00:37,229 INFO L98 nessWitnessExtractor]: Location invariant before [L1010-L1014] ((unsigned long )arg == 0UL) && ((((i == 4 || i == 3) || i == 2) || i == 1) || (0 == i && i == 0)) [2024-01-29 23:00:37,229 INFO L98 nessWitnessExtractor]: Location invariant before [L962-L971] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:37,229 INFO L98 nessWitnessExtractor]: Location invariant after [L22-L24] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:37,229 INFO L98 nessWitnessExtractor]: Location invariant before [L950-L950] flag == (_Bool)1 [2024-01-29 23:00:37,230 INFO L98 nessWitnessExtractor]: Location invariant before [L995-L995] ((unsigned long )arg == 0UL) && (flag == (_Bool)0 || flag == (_Bool)1) [2024-01-29 23:00:37,230 INFO L98 nessWitnessExtractor]: Location invariant before [L995-L995] (unsigned long )arg == 0UL [2024-01-29 23:00:37,230 INFO L98 nessWitnessExtractor]: Location invariant before [L995-L995] (((unsigned long )arg == 0UL) && (flag == (_Bool)0 || flag == (_Bool)1)) && ((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || i == 4) [2024-01-29 23:00:37,230 INFO L98 nessWitnessExtractor]: Location invariant before [L979-L979] flag == (_Bool)1 [2024-01-29 23:00:37,230 INFO L98 nessWitnessExtractor]: Location invariant after [L948-L951] flag == (_Bool)1 [2024-01-29 23:00:37,230 INFO L98 nessWitnessExtractor]: Location invariant before [L964-L964] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:37,231 INFO L98 nessWitnessExtractor]: Location invariant before [L996-L996] (unsigned long )arg == 0UL [2024-01-29 23:00:37,231 INFO L98 nessWitnessExtractor]: Location invariant before [L996-L996] ((unsigned long )arg == 0UL) && (flag == (_Bool)0 || flag == (_Bool)1) [2024-01-29 23:00:37,232 INFO L98 nessWitnessExtractor]: Location invariant before [L996-L996] ((unsigned long )arg == 0UL) && ((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || i == 4) [2024-01-29 23:00:37,232 INFO L98 nessWitnessExtractor]: Location invariant before [L969-L969] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:37,233 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:37,233 INFO L98 nessWitnessExtractor]: Location invariant before [L23-L23] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:37,233 INFO L98 nessWitnessExtractor]: Location invariant before [L946-L946] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:37,234 INFO L98 nessWitnessExtractor]: Location invariant before [L43-L43] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:37,234 INFO L98 nessWitnessExtractor]: Location invariant before [L1002-L1002] i == 5 [2024-01-29 23:00:37,234 INFO L98 nessWitnessExtractor]: Location invariant before [L1002-L1002] (i == 5) && ((unsigned long )arg == 0UL) [2024-01-29 23:00:37,234 INFO L98 nessWitnessExtractor]: Location invariant before [L984-L984] flag == (_Bool)1 [2024-01-29 23:00:37,235 INFO L98 nessWitnessExtractor]: Location invariant before [L1000-L1000] flag == (_Bool)1 [2024-01-29 23:00:37,235 INFO L98 nessWitnessExtractor]: Location invariant before [L1000-L1000] (flag == (_Bool)1) && ((unsigned long )arg == 0UL) [2024-01-29 23:00:37,235 INFO L98 nessWitnessExtractor]: Location invariant before [L1000-L1000] (flag == (_Bool)1) && ((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || i == 4) [2024-01-29 23:00:37,235 INFO L98 nessWitnessExtractor]: Location invariant before [L994-L994] ((unsigned long )arg == 0UL) && ((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || i == 4) [2024-01-29 23:00:37,235 INFO L98 nessWitnessExtractor]: Location invariant before [L994-L994] (unsigned long )arg == 0UL [2024-01-29 23:00:37,236 INFO L98 nessWitnessExtractor]: Location invariant before [L1012-L1013] flag == (_Bool)1 [2024-01-29 23:00:37,236 INFO L98 nessWitnessExtractor]: Location invariant after [L1012-L1013] (flag == (_Bool)1) && ((unsigned long )arg == 0UL) [2024-01-29 23:00:37,236 INFO L98 nessWitnessExtractor]: Location invariant before [L1012-L1013] (flag == (_Bool)1) && ((((((((i == 4 || i == 3) || i == 3) || i == 2) || i == 2) || i == 1) || i == 1) || (0 == i && i == 0)) || (0 == i && i == 0)) [2024-01-29 23:00:37,237 INFO L98 nessWitnessExtractor]: Location invariant after [L1012-L1013] ((flag == (_Bool)1) && ((unsigned long )arg == 0UL)) && ((((i == 4 || i == 3) || i == 2) || i == 1) || (0 == i && i == 0)) [2024-01-29 23:00:37,237 INFO L98 nessWitnessExtractor]: Location invariant after [L1012-L1013] flag == (_Bool)1 [2024-01-29 23:00:37,237 INFO L98 nessWitnessExtractor]: Location invariant before [L1012-L1013] (flag == (_Bool)1) && ((unsigned long )arg == 0UL) [2024-01-29 23:00:37,238 INFO L98 nessWitnessExtractor]: Location invariant before [L978-L978] flag == (_Bool)1 [2024-01-29 23:00:37,238 INFO L98 nessWitnessExtractor]: Location invariant before [L954-L954] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:37,238 INFO L98 nessWitnessExtractor]: Location invariant before [L1017-L1017] i == 5 [2024-01-29 23:00:37,239 INFO L98 nessWitnessExtractor]: Location invariant before [L1017-L1017] (i == 5) && ((unsigned long )arg == 0UL) [2024-01-29 23:00:37,239 INFO L98 nessWitnessExtractor]: Location invariant before [L972-L972] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:37,239 INFO L98 nessWitnessExtractor]: Location invariant before [L941-L941] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:37,239 INFO L98 nessWitnessExtractor]: Location invariant after [L944-L947] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:37,291 INFO L177 MainTranslator]: Built tables and reachable declarations [2024-01-29 23:00:37,785 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-2.i[41520,41533] [2024-01-29 23:00:37,821 INFO L209 PostProcessor]: Analyzing one entry point: main [2024-01-29 23:00:37,836 INFO L202 MainTranslator]: Completed pre-run Start Parsing Local [2024-01-29 23:00:37,877 ERROR L324 MainTranslator]: Incorrect Syntax: Undeclared variable in ACSL expression: flag [2024-01-29 23:00:37,877 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@26b676b3 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 29.01 11:00:37, skipping insertion in model container [2024-01-29 23:00:37,878 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-01-29 23:00:37,878 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.procedureinliner [2024-01-29 23:00:37,880 INFO L158 Benchmark]: Toolchain (without parser) took 766.21ms. Allocated memory is still 127.9MB. Free memory was 92.2MB in the beginning and 72.3MB in the end (delta: 19.9MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. [2024-01-29 23:00:37,881 INFO L158 Benchmark]: CDTParser took 0.10ms. Allocated memory is still 127.9MB. Free memory is still 100.7MB. There was no memory consumed. Max. memory is 16.1GB. [2024-01-29 23:00:37,881 INFO L158 Benchmark]: Witness Parser took 0.18ms. Allocated memory is still 127.9MB. Free memory is still 96.9MB. There was no memory consumed. Max. memory is 16.1GB. [2024-01-29 23:00:37,882 INFO L158 Benchmark]: CACSL2BoogieTranslator took 763.96ms. Allocated memory is still 127.9MB. Free memory was 92.2MB in the beginning and 72.3MB in the end (delta: 19.9MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. [2024-01-29 23:00:37,885 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.10ms. Allocated memory is still 127.9MB. Free memory is still 100.7MB. There was no memory consumed. Max. memory is 16.1GB. * Witness Parser took 0.18ms. Allocated memory is still 127.9MB. Free memory is still 96.9MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 763.96ms. Allocated memory is still 127.9MB. Free memory was 92.2MB in the beginning and 72.3MB in the end (delta: 19.9MB). 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-2.i ./goblint.2023-12-19_14-39-08.files/SV-COMP24_unreach-call/stack-2.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:40,049 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-01-29 23:00:40,144 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:40,149 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-01-29 23:00:40,150 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-01-29 23:00:40,183 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-01-29 23:00:40,184 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-01-29 23:00:40,184 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-01-29 23:00:40,185 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-01-29 23:00:40,189 INFO L153 SettingsManager]: * Use memory slicer=true [2024-01-29 23:00:40,189 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-01-29 23:00:40,190 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-01-29 23:00:40,190 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-01-29 23:00:40,192 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-01-29 23:00:40,192 INFO L153 SettingsManager]: * Use SBE=true [2024-01-29 23:00:40,193 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-01-29 23:00:40,193 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-01-29 23:00:40,193 INFO L153 SettingsManager]: * sizeof long=4 [2024-01-29 23:00:40,193 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-01-29 23:00:40,194 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-01-29 23:00:40,194 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-01-29 23:00:40,195 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-01-29 23:00:40,195 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-01-29 23:00:40,195 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-01-29 23:00:40,196 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-01-29 23:00:40,196 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-01-29 23:00:40,196 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-01-29 23:00:40,197 INFO L153 SettingsManager]: * sizeof long double=12 [2024-01-29 23:00:40,197 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-01-29 23:00:40,197 INFO L153 SettingsManager]: * Use constant arrays=true [2024-01-29 23:00:40,198 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-01-29 23:00:40,199 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-01-29 23:00:40,199 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-01-29 23:00:40,199 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-01-29 23:00:40,199 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-01-29 23:00:40,199 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-01-29 23:00:40,200 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-01-29 23:00:40,201 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-01-29 23:00:40,201 INFO L153 SettingsManager]: * Trace refinement strategy=WOLF [2024-01-29 23:00:40,201 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-01-29 23:00:40,201 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-01-29 23:00:40,202 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-01-29 23:00:40,202 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2024-01-29 23:00:40,202 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-01-29 23:00:40,202 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-01-29 23:00:40,203 INFO L153 SettingsManager]: * Logic for external solver=AUFBV [2024-01-29 23:00:40,203 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:40,537 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-01-29 23:00:40,562 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-01-29 23:00:40,565 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-01-29 23:00:40,566 INFO L270 PluginConnector]: Initializing CDTParser... [2024-01-29 23:00:40,567 INFO L274 PluginConnector]: CDTParser initialized [2024-01-29 23:00:40,569 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/pthread/stack-2.i [2024-01-29 23:00:41,825 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-01-29 23:00:42,114 INFO L384 CDTParser]: Found 1 translation units. [2024-01-29 23:00:42,115 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread/stack-2.i [2024-01-29 23:00:42,131 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/c16370c9b/66c49a6f13f4480cb2a0bbb685301ae0/FLAGcb2f049ad [2024-01-29 23:00:42,149 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/c16370c9b/66c49a6f13f4480cb2a0bbb685301ae0 [2024-01-29 23:00:42,151 INFO L270 PluginConnector]: Initializing Witness Parser... [2024-01-29 23:00:42,152 INFO L274 PluginConnector]: Witness Parser initialized [2024-01-29 23:00:42,152 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-2.yml/witness.yml [2024-01-29 23:00:42,287 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-01-29 23:00:42,289 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2024-01-29 23:00:42,290 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-01-29 23:00:42,291 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-01-29 23:00:42,295 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-01-29 23:00:42,296 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.01 11:00:42" (1/2) ... [2024-01-29 23:00:42,297 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4ec3fc1b and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.01 11:00:42, skipping insertion in model container [2024-01-29 23:00:42,297 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.01 11:00:42" (1/2) ... [2024-01-29 23:00:42,299 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@59be4567 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.01 11:00:42, skipping insertion in model container [2024-01-29 23:00:42,299 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:42" (2/2) ... [2024-01-29 23:00:42,299 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4ec3fc1b and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 29.01 11:00:42, skipping insertion in model container [2024-01-29 23:00:42,300 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:42" (2/2) ... [2024-01-29 23:00:42,300 INFO L83 nessWitnessExtractor]: Extracting all invariants from correctness witness [2024-01-29 23:00:42,422 INFO L96 nessWitnessExtractor]: Found the following entries in the witness: [2024-01-29 23:00:42,424 INFO L98 nessWitnessExtractor]: Location invariant before [L1017-L1017] i == 5 [2024-01-29 23:00:42,424 INFO L98 nessWitnessExtractor]: Location invariant before [L1017-L1017] (i == 5) && ((unsigned long )arg == 0UL) [2024-01-29 23:00:42,424 INFO L98 nessWitnessExtractor]: Location invariant before [L43-L43] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:42,424 INFO L98 nessWitnessExtractor]: Location invariant before [L1010-L1014] ((unsigned long )arg == 0UL) && (flag == (_Bool)0 || flag == (_Bool)1) [2024-01-29 23:00:42,424 INFO L98 nessWitnessExtractor]: Location invariant before [L1010-L1014] (unsigned long )arg == 0UL [2024-01-29 23:00:42,425 INFO L98 nessWitnessExtractor]: Location invariant before [L1010-L1014] (((unsigned long )arg == 0UL) && (flag == (_Bool)0 || flag == (_Bool)1)) && ((((i == 4 || i == 3) || i == 2) || i == 1) || (0 == i && i == 0)) [2024-01-29 23:00:42,425 INFO L98 nessWitnessExtractor]: Location invariant before [L962-L971] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:42,425 INFO L98 nessWitnessExtractor]: Location invariant before [L1002-L1002] (i == 5) && ((unsigned long )arg == 0UL) [2024-01-29 23:00:42,425 INFO L98 nessWitnessExtractor]: Location invariant before [L1002-L1002] i == 5 [2024-01-29 23:00:42,425 INFO L98 nessWitnessExtractor]: Loop invariant at [L1007-L1016] (unsigned long )arg == 0UL [2024-01-29 23:00:42,425 INFO L98 nessWitnessExtractor]: Location invariant after [L997-L998] (unsigned long )arg == 0UL [2024-01-29 23:00:42,426 INFO L98 nessWitnessExtractor]: Location invariant after [L997-L998] ((unsigned long )arg == 0UL) && ((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || i == 4) [2024-01-29 23:00:42,426 INFO L98 nessWitnessExtractor]: Location invariant before [L997-L998] (((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)) || i == 4) || i == 4) [2024-01-29 23:00:42,426 INFO L98 nessWitnessExtractor]: Location invariant before [L997-L998] ((unsigned long )arg == 0UL) && (flag == (_Bool)0 || flag == (_Bool)1) [2024-01-29 23:00:42,426 INFO L98 nessWitnessExtractor]: Location invariant after [L997-L998] ((unsigned long )arg == 0UL) && (flag == (_Bool)0 || flag == (_Bool)1) [2024-01-29 23:00:42,426 INFO L98 nessWitnessExtractor]: Location invariant before [L997-L998] (unsigned long )arg == 0UL [2024-01-29 23:00:42,426 INFO L98 nessWitnessExtractor]: Location invariant before [L984-L984] flag == (_Bool)1 [2024-01-29 23:00:42,427 INFO L98 nessWitnessExtractor]: Location invariant before [L964-L964] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:42,427 INFO L98 nessWitnessExtractor]: Location invariant before [L1022-L1022] flag == (_Bool)0 [2024-01-29 23:00:42,428 INFO L98 nessWitnessExtractor]: Location invariant before [L994-L994] ((unsigned long )arg == 0UL) && ((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || i == 4) [2024-01-29 23:00:42,428 INFO L98 nessWitnessExtractor]: Location invariant before [L994-L994] (unsigned long )arg == 0UL [2024-01-29 23:00:42,428 INFO L98 nessWitnessExtractor]: Location invariant after [L22-L24] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:42,428 INFO L98 nessWitnessExtractor]: Location invariant before [L978-L978] flag == (_Bool)1 [2024-01-29 23:00:42,429 INFO L98 nessWitnessExtractor]: Location invariant before [L983-L983] flag == (_Bool)1 [2024-01-29 23:00:42,429 INFO L98 nessWitnessExtractor]: Location invariant before [L1015-L1015] ((unsigned long )arg == 0UL) && ((((i == 4 || i == 3) || i == 2) || i == 1) || (0 == i && i == 0)) [2024-01-29 23:00:42,429 INFO L98 nessWitnessExtractor]: Location invariant before [L1015-L1015] (unsigned long )arg == 0UL [2024-01-29 23:00:42,429 INFO L98 nessWitnessExtractor]: Location invariant before [L1015-L1015] ((unsigned long )arg == 0UL) && (flag == (_Bool)0 || flag == (_Bool)1) [2024-01-29 23:00:42,430 INFO L98 nessWitnessExtractor]: Location invariant before [L976-L985] flag == (_Bool)1 [2024-01-29 23:00:42,430 INFO L98 nessWitnessExtractor]: Location invariant before [L954-L954] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:42,430 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:42,430 INFO L98 nessWitnessExtractor]: Location invariant before [L23-L23] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:42,431 INFO L98 nessWitnessExtractor]: Location invariant after [L944-L947] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:42,431 INFO L98 nessWitnessExtractor]: Location invariant before [L1023-L1023] flag == (_Bool)0 [2024-01-29 23:00:42,431 INFO L98 nessWitnessExtractor]: Loop invariant at [L992-L1001] (unsigned long )arg == 0UL [2024-01-29 23:00:42,433 INFO L98 nessWitnessExtractor]: Location invariant before [L999-L999] ((unsigned long )arg == 0UL) && (flag == (_Bool)0 || flag == (_Bool)1) [2024-01-29 23:00:42,433 INFO L98 nessWitnessExtractor]: Location invariant before [L999-L999] (unsigned long )arg == 0UL [2024-01-29 23:00:42,433 INFO L98 nessWitnessExtractor]: Location invariant before [L999-L999] (((unsigned long )arg == 0UL) && (flag == (_Bool)0 || flag == (_Bool)1)) && ((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || i == 4) [2024-01-29 23:00:42,433 INFO L98 nessWitnessExtractor]: Location invariant before [L946-L946] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:42,433 INFO L98 nessWitnessExtractor]: Location invariant before [L941-L941] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:42,433 INFO L98 nessWitnessExtractor]: Location invariant after [L1012-L1013] flag == (_Bool)1 [2024-01-29 23:00:42,433 INFO L98 nessWitnessExtractor]: Location invariant before [L1012-L1013] flag == (_Bool)1 [2024-01-29 23:00:42,434 INFO L98 nessWitnessExtractor]: Location invariant before [L1012-L1013] (flag == (_Bool)1) && ((((((((i == 4 || i == 3) || i == 3) || i == 2) || i == 2) || i == 1) || i == 1) || (0 == i && i == 0)) || (0 == i && i == 0)) [2024-01-29 23:00:42,434 INFO L98 nessWitnessExtractor]: Location invariant after [L1012-L1013] (flag == (_Bool)1) && ((unsigned long )arg == 0UL) [2024-01-29 23:00:42,434 INFO L98 nessWitnessExtractor]: Location invariant after [L1012-L1013] (flag == (_Bool)1) && ((((i == 4 || i == 3) || i == 2) || i == 1) || (0 == i && i == 0)) [2024-01-29 23:00:42,434 INFO L98 nessWitnessExtractor]: Location invariant before [L1012-L1013] (flag == (_Bool)1) && ((unsigned long )arg == 0UL) [2024-01-29 23:00:42,435 INFO L98 nessWitnessExtractor]: Location invariant before [L970-L970] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:42,435 INFO L98 nessWitnessExtractor]: Location invariant before [L972-L972] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:42,435 INFO L98 nessWitnessExtractor]: Location invariant before [L995-L995] ((unsigned long )arg == 0UL) && ((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || i == 4) [2024-01-29 23:00:42,435 INFO L98 nessWitnessExtractor]: Location invariant before [L995-L995] (unsigned long )arg == 0UL [2024-01-29 23:00:42,435 INFO L98 nessWitnessExtractor]: Location invariant before [L995-L995] ((unsigned long )arg == 0UL) && (flag == (_Bool)0 || flag == (_Bool)1) [2024-01-29 23:00:42,436 INFO L98 nessWitnessExtractor]: Location invariant after [L948-L951] flag == (_Bool)1 [2024-01-29 23:00:42,436 INFO L98 nessWitnessExtractor]: Location invariant before [L1009-L1009] ((unsigned long )arg == 0UL) && ((((i == 4 || i == 3) || i == 2) || i == 1) || (0 == i && i == 0)) [2024-01-29 23:00:42,437 INFO L98 nessWitnessExtractor]: Location invariant before [L1009-L1009] (unsigned long )arg == 0UL [2024-01-29 23:00:42,437 INFO L98 nessWitnessExtractor]: Location invariant before [L996-L996] (((unsigned long )arg == 0UL) && (flag == (_Bool)0 || flag == (_Bool)1)) && ((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || i == 4) [2024-01-29 23:00:42,437 INFO L98 nessWitnessExtractor]: Location invariant before [L996-L996] ((unsigned long )arg == 0UL) && (flag == (_Bool)0 || flag == (_Bool)1) [2024-01-29 23:00:42,438 INFO L98 nessWitnessExtractor]: Location invariant before [L996-L996] (unsigned long )arg == 0UL [2024-01-29 23:00:42,438 INFO L98 nessWitnessExtractor]: Location invariant before [L969-L969] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:42,438 INFO L98 nessWitnessExtractor]: Location invariant before [L979-L979] flag == (_Bool)1 [2024-01-29 23:00:42,438 INFO L98 nessWitnessExtractor]: Location invariant before [L950-L950] flag == (_Bool)1 [2024-01-29 23:00:42,438 INFO L98 nessWitnessExtractor]: Location invariant before [L1000-L1000] ((flag == (_Bool)1) && ((unsigned long )arg == 0UL)) && ((((i == 3 || i == 2) || i == 1) || (0 == i && i == 0)) || i == 4) [2024-01-29 23:00:42,438 INFO L98 nessWitnessExtractor]: Location invariant before [L1000-L1000] (flag == (_Bool)1) && ((unsigned long )arg == 0UL) [2024-01-29 23:00:42,438 INFO L98 nessWitnessExtractor]: Location invariant before [L1000-L1000] flag == (_Bool)1 [2024-01-29 23:00:42,439 INFO L98 nessWitnessExtractor]: Location invariant before [L965-L965] flag == (_Bool)0 || flag == (_Bool)1 [2024-01-29 23:00:42,490 INFO L177 MainTranslator]: Built tables and reachable declarations [2024-01-29 23:00:42,920 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-2.i[41520,41533] [2024-01-29 23:00:42,948 INFO L209 PostProcessor]: Analyzing one entry point: main [2024-01-29 23:00:42,965 INFO L202 MainTranslator]: Completed pre-run Start Parsing Local [2024-01-29 23:00:43,001 ERROR L324 MainTranslator]: Incorrect Syntax: Undeclared variable in ACSL expression: flag [2024-01-29 23:00:43,002 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@59be4567 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 29.01 11:00:43, skipping insertion in model container [2024-01-29 23:00:43,003 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-01-29 23:00:43,003 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.procedureinliner [2024-01-29 23:00:43,005 INFO L158 Benchmark]: Toolchain (without parser) took 714.94ms. Allocated memory is still 65.0MB. Free memory was 35.5MB in the beginning and 32.4MB in the end (delta: 3.1MB). Peak memory consumption was 10.5MB. Max. memory is 16.1GB. [2024-01-29 23:00:43,005 INFO L158 Benchmark]: CDTParser took 0.19ms. Allocated memory is still 44.0MB. Free memory is still 20.8MB. There was no memory consumed. Max. memory is 16.1GB. [2024-01-29 23:00:43,007 INFO L158 Benchmark]: Witness Parser took 0.15ms. Allocated memory is still 65.0MB. Free memory was 40.2MB in the beginning and 40.1MB in the end (delta: 175.2kB). There was no memory consumed. Max. memory is 16.1GB. [2024-01-29 23:00:43,007 INFO L158 Benchmark]: CACSL2BoogieTranslator took 712.51ms. Allocated memory is still 65.0MB. Free memory was 35.3MB in the beginning and 32.4MB in the end (delta: 2.9MB). Peak memory consumption was 10.5MB. Max. memory is 16.1GB. [2024-01-29 23:00:43,009 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.19ms. Allocated memory is still 44.0MB. Free memory is still 20.8MB. There was no memory consumed. Max. memory is 16.1GB. * Witness Parser took 0.15ms. Allocated memory is still 65.0MB. Free memory was 40.2MB in the beginning and 40.1MB in the end (delta: 175.2kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 712.51ms. Allocated memory is still 65.0MB. Free memory was 35.3MB in the beginning and 32.4MB in the end (delta: 2.9MB). Peak memory consumption was 10.5MB. 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