./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/unreach-call.prp --file ../../../trunk/examples/svcomp/pthread-ext/26_stack_cas_longest-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/26_stack_cas_longest-2.yml/witness.yml --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version 3d25acf6 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-ext/26_stack_cas_longest-2.i ./goblint.2023-12-19_14-39-08.files/SV-COMP24_unreach-call/26_stack_cas_longest-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-3d25acf-m [2024-01-30 14:16:27,046 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-01-30 14:16:27,085 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Default.epf [2024-01-30 14:16:27,089 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-01-30 14:16:27,089 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-01-30 14:16:27,103 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-01-30 14:16:27,107 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-01-30 14:16:27,107 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-01-30 14:16:27,108 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-01-30 14:16:27,111 INFO L153 SettingsManager]: * Use memory slicer=true [2024-01-30 14:16:27,111 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-01-30 14:16:27,111 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-01-30 14:16:27,112 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-01-30 14:16:27,113 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-01-30 14:16:27,113 INFO L153 SettingsManager]: * Use SBE=true [2024-01-30 14:16:27,114 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-01-30 14:16:27,114 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-01-30 14:16:27,114 INFO L153 SettingsManager]: * sizeof long=4 [2024-01-30 14:16:27,115 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-01-30 14:16:27,115 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-01-30 14:16:27,115 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-01-30 14:16:27,116 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-01-30 14:16:27,116 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-01-30 14:16:27,116 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-01-30 14:16:27,116 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-01-30 14:16:27,116 INFO L153 SettingsManager]: * sizeof long double=12 [2024-01-30 14:16:27,117 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-01-30 14:16:27,117 INFO L153 SettingsManager]: * Use constant arrays=true [2024-01-30 14:16:27,117 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-01-30 14:16:27,118 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-01-30 14:16:27,118 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-01-30 14:16:27,119 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-01-30 14:16:27,119 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-01-30 14:16:27,119 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-01-30 14:16:27,119 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-01-30 14:16:27,119 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-01-30 14:16:27,119 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-01-30 14:16:27,120 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-01-30 14:16:27,120 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-01-30 14:16:27,120 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-01-30 14:16:27,121 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2024-01-30 14:16:27,121 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-01-30 14:16:27,121 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-01-30 14:16:27,121 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-30 14:16:27,295 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-01-30 14:16:27,329 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-01-30 14:16:27,331 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-01-30 14:16:27,332 INFO L270 PluginConnector]: Initializing Witness Parser... [2024-01-30 14:16:27,332 INFO L274 PluginConnector]: Witness Parser initialized [2024-01-30 14:16:27,333 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/26_stack_cas_longest-2.yml/witness.yml [2024-01-30 14:16:27,533 INFO L270 PluginConnector]: Initializing CDTParser... [2024-01-30 14:16:27,533 INFO L274 PluginConnector]: CDTParser initialized [2024-01-30 14:16:27,534 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/pthread-ext/26_stack_cas_longest-2.i [2024-01-30 14:16:28,663 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-01-30 14:16:28,931 INFO L384 CDTParser]: Found 1 translation units. [2024-01-30 14:16:28,932 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/26_stack_cas_longest-2.i [2024-01-30 14:16:28,946 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/07426fac0/cede8b8141cb43fe8ff54e7ca13dd003/FLAGe15844f1c [2024-01-30 14:16:28,959 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/07426fac0/cede8b8141cb43fe8ff54e7ca13dd003 [2024-01-30 14:16:28,960 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-01-30 14:16:28,961 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2024-01-30 14:16:28,965 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-01-30 14:16:28,965 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-01-30 14:16:28,969 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-01-30 14:16:28,969 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 30.01 02:16:27" (1/2) ... [2024-01-30 14:16:28,971 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4a6fe34d and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 30.01 02:16:28, skipping insertion in model container [2024-01-30 14:16:28,972 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 30.01 02:16:27" (1/2) ... [2024-01-30 14:16:28,973 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@8da3893 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 30.01 02:16:28, skipping insertion in model container [2024-01-30 14:16:28,973 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 30.01 02:16:28" (2/2) ... [2024-01-30 14:16:28,973 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4a6fe34d and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.01 02:16:28, skipping insertion in model container [2024-01-30 14:16:28,974 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 30.01 02:16:28" (2/2) ... [2024-01-30 14:16:28,974 INFO L83 nessWitnessExtractor]: Extracting all invariants from correctness witness [2024-01-30 14:16:29,169 INFO L96 nessWitnessExtractor]: Found the following entries in the witness: [2024-01-30 14:16:29,171 INFO L98 nessWitnessExtractor]: Location invariant before [L738-L738] (((((0 <= m) && (0 <= m2)) && (m <= 1)) && (m2 <= 1)) && (m == 0 || m == 1)) && (m2 == 0 || m2 == 1) [2024-01-30 14:16:29,171 INFO L98 nessWitnessExtractor]: Location invariant before [L694-L694] ((((((0 <= m) && (0 <= m2)) && (m <= 1)) && (m2 <= 1)) && (m == 0 || m == 1)) && (m2 == 0 || m2 == 1)) && ((m == & m2 && (((0 <= *m && *m <= 1) && (0 <= *m && *m <= 1)) && (*m == 0 || *m == 1))) || (m == & m && (((0 <= *m && *m <= 1) && (0 <= *m && *m <= 1)) && (*m == 0 || *m == 1)))) [2024-01-30 14:16:29,172 INFO L98 nessWitnessExtractor]: Location invariant after [L761-L764] ((((((((0 <= m) && (0 <= r)) && (0 <= m2)) && (m <= 1)) && (r <= 1)) && (m2 <= 1)) && (m == 0 || m == 1)) && (r == 0 || r == 1)) && (m2 == 0 || m2 == 1) [2024-01-30 14:16:29,172 INFO L98 nessWitnessExtractor]: Location invariant before [L784-L784] (unsigned long )arg == 0UL [2024-01-30 14:16:29,172 INFO L98 nessWitnessExtractor]: Loop invariant at [L749-L758] ((1 <= newTop) && (newTop != 0)) && ((0 <= oldTop && casret == 0) || (((((((((2LL + (long long )casret) + (long long )oldTop >= 0LL && (0LL - (long long )casret) + (long long )oldTop >= 0LL) && (-2LL - (long long )casret) - (long long )oldTop >= 0LL) && (long long )casret - (long long )oldTop >= 0LL) && -1 == oldTop) && -1 == casret) && oldTop == -1) && oldTop == casret) && casret == -1)) [2024-01-30 14:16:29,172 INFO L98 nessWitnessExtractor]: Location invariant before [L727-L727] (-1 == curr_alloc_idx) && (curr_alloc_idx == -1) [2024-01-30 14:16:29,172 INFO L98 nessWitnessExtractor]: Location invariant before [L725-L725] (-1 == curr_alloc_idx) && (curr_alloc_idx == -1) [2024-01-30 14:16:29,173 INFO L98 nessWitnessExtractor]: Location invariant before [L763-L763] (((((((((((((0 <= m) && (0 <= m2)) && (m <= 1)) && (m2 <= 1)) && (m == 0 || m == 1)) && (r == 1 || ((0 <= r && r <= 1) && (r == 0 || r == 1)))) && (m2 == 0 || m2 == 1)) && (0 <= m)) && (0 <= m2)) && (m <= 1)) && (m2 <= 1)) && (r == 1)) && (m == 0 || m == 1)) && (m2 == 0 || m2 == 1) [2024-01-30 14:16:29,173 INFO L98 nessWitnessExtractor]: Location invariant before [L699-L699] ((((((0 <= m) && (0 <= m2)) && (m <= 1)) && (m2 <= 1)) && (m == 0 || m == 1)) && (m2 == 0 || m2 == 1)) && ((m == & m2 && (((0 <= *m && *m <= 1) && (0 <= *m && *m <= 1)) && (*m == 0 || *m == 1))) || (m == & m && (((0 <= *m && *m <= 1) && (0 <= *m && *m <= 1)) && (*m == 0 || *m == 1)))) [2024-01-30 14:16:29,173 INFO L98 nessWitnessExtractor]: Location invariant after [L701-L715] (((((((((((((0 <= e) && (0 <= m)) && (0 <= m2)) && (0 <= *v)) && (0 <= *r)) && (1 <= u)) && (m <= 1)) && (m2 <= 1)) && (*r <= 1)) && (v == & top)) && (u != 0)) && (m == 0 || m == 1)) && (m2 == 0 || m2 == 1)) && (*r == 0 || *r == 1) [2024-01-30 14:16:29,173 INFO L98 nessWitnessExtractor]: Location invariant before [L731-L731] 0 <= curr_alloc_idx [2024-01-30 14:16:29,173 INFO L98 nessWitnessExtractor]: Location invariant before [L750-L750] ((1 <= newTop) && (newTop != 0)) && ((0 <= oldTop && casret == 0) || (((((((((2LL + (long long )casret) + (long long )oldTop >= 0LL && (0LL - (long long )casret) + (long long )oldTop >= 0LL) && (-2LL - (long long )casret) - (long long )oldTop >= 0LL) && (long long )casret - (long long )oldTop >= 0LL) && -1 == oldTop) && -1 == casret) && oldTop == -1) && oldTop == casret) && casret == -1)) [2024-01-30 14:16:29,173 INFO L98 nessWitnessExtractor]: Location invariant before [L693-L693] ((((((0 <= m) && (0 <= m2)) && (m <= 1)) && (m2 <= 1)) && (m == 0 || m == 1)) && (m2 == 0 || m2 == 1)) && ((m == & m2 && (((0 <= *m && *m <= 1) && (0 <= *m && *m <= 1)) && (*m == 0 || *m == 1))) || (m == & m && (((0 <= *m && *m <= 1) && (0 <= *m && *m <= 1)) && (*m == 0 || *m == 1)))) [2024-01-30 14:16:29,174 INFO L98 nessWitnessExtractor]: Location invariant before [L777-L777] (unsigned long )arg == 0UL [2024-01-30 14:16:29,174 INFO L98 nessWitnessExtractor]: Location invariant before [L4-L4] (((((((((((0 <= m) && (0 <= m2)) && (m <= 1)) && (m2 <= 1)) && (m == 0 || m == 1)) && (m2 == 0 || m2 == 1)) && (0 <= m)) && (0 <= m2)) && (m <= 1)) && (m2 <= 1)) && (m == 0 || m == 1)) && (m2 == 0 || m2 == 1) [2024-01-30 14:16:29,174 INFO L98 nessWitnessExtractor]: Location invariant before [L753-L753] (((0 <= oldTop) && (1 <= newTop)) && (newTop != 0)) && (casret == 0 || (-1 == casret && casret == -1)) [2024-01-30 14:16:29,174 INFO L98 nessWitnessExtractor]: Location invariant before [L756-L756] (((0 <= oldTop) && (1 <= newTop)) && (casret == 1)) && (newTop != 0) [2024-01-30 14:16:29,174 INFO L98 nessWitnessExtractor]: Location invariant before [L723-L730] (-1 == curr_alloc_idx) && (curr_alloc_idx == -1) [2024-01-30 14:16:29,174 INFO L98 nessWitnessExtractor]: Location invariant before [L713-L713] ((((((((((((((((-128 <= *r) && (-1 <= *r)) && (0 <= e)) && (0 <= m)) && (0 <= m2)) && (0 <= *v)) && (1 <= u)) && (m <= 1)) && (m2 <= 1)) && (*r <= 0)) && (*r <= 127)) && (v == & top)) && (u != 0)) && (*r != 1)) && (m == 0 || m == 1)) && (m2 == 0 || m2 == 1)) && (*r == -1 || *r == 0) [2024-01-30 14:16:29,174 INFO L98 nessWitnessExtractor]: Location invariant before [L788-L788] (unsigned long )arg == 0UL [2024-01-30 14:16:29,175 INFO L98 nessWitnessExtractor]: Location invariant before [L698-L698] ((((((0 <= m) && (0 <= m2)) && (m <= 1)) && (m2 <= 1)) && (m == 0 || m == 1)) && (m2 == 0 || m2 == 1)) && ((m == & m2 && (((0 <= *m && *m <= 1) && (0 <= *m && *m <= 1)) && (*m == 0 || *m == 1))) || (m == & m && (((0 <= *m && *m <= 1) && (0 <= *m && *m <= 1)) && (*m == 0 || *m == 1)))) [2024-01-30 14:16:29,175 INFO L98 nessWitnessExtractor]: Loop invariant at [L768-L771] ((((((0 <= r && r <= 1) && (r == 0 || r == 1)) || (-1 == r && r == -1)) || ((0 <= r && r <= 1) && (r == 0 || r == 1))) || ((0 <= r && r <= 1) && (r == 0 || r == 1))) || ((0 <= r && r <= 1) && (r == 0 || r == 1))) || ((0 <= r && r <= 1) && (r == 0 || r == 1)) [2024-01-30 14:16:29,175 INFO L98 nessWitnessExtractor]: Location invariant before [L745-L759] (((((((((0 <= newTop) && ((2LL + (long long )casret) + (long long )oldTop >= 0LL)) && ((0LL - (long long )casret) + (long long )oldTop >= 0LL)) && ((-2LL - (long long )casret) - (long long )oldTop >= 0LL)) && ((long long )casret - (long long )oldTop >= 0LL)) && (-1 == oldTop)) && (-1 == casret)) && (oldTop == -1)) && (oldTop == casret)) && (casret == -1) [2024-01-30 14:16:29,175 INFO L98 nessWitnessExtractor]: Location invariant before [L780-L780] (unsigned long )arg == 0UL [2024-01-30 14:16:29,175 INFO L98 nessWitnessExtractor]: Location invariant before [L766-L766] ((((4294967296LL + (long long )arg) + (long long )r >= 0LL) && ((4294967295LL - (long long )arg) + (long long )r >= 0LL)) && ((4294967295LL + (long long )arg) - (long long )r >= 0LL)) && ((4294967294LL - (long long )arg) - (long long )r >= 0LL) [2024-01-30 14:16:29,176 INFO L98 nessWitnessExtractor]: Location invariant before [L755-L757] (((((0 <= oldTop) && (0 <= casret)) && (1 <= newTop)) && (casret <= 1)) && (newTop != 0)) && (casret == 0 || casret == 1) [2024-01-30 14:16:29,176 INFO L98 nessWitnessExtractor]: Location invariant before [L763-L763] (((((((((((((0 <= m) && (0 <= m2)) && (m <= 1)) && (m2 <= 1)) && (m == 0 || m == 1)) && (r == 1 || ((0 <= r && r <= 1) && (r == 0 || r == 1)))) && (m2 == 0 || m2 == 1)) && (0 <= m)) && (0 <= m2)) && (m <= 1)) && (m2 <= 1)) && (r == 1)) && (m == 0 || m == 1)) && (m2 == 0 || m2 == 1) [2024-01-30 14:16:29,176 INFO L98 nessWitnessExtractor]: Location invariant before [L748-L748] ((((((((((1 <= newTop) && ((2LL + (long long )casret) + (long long )oldTop >= 0LL)) && ((0LL - (long long )casret) + (long long )oldTop >= 0LL)) && ((-2LL - (long long )casret) - (long long )oldTop >= 0LL)) && ((long long )casret - (long long )oldTop >= 0LL)) && (-1 == oldTop)) && (-1 == casret)) && (oldTop == -1)) && (oldTop == casret)) && (casret == -1)) && (newTop != 0) [2024-01-30 14:16:29,176 INFO L98 nessWitnessExtractor]: Location invariant before [L743-L743] (((((((((((((((((((((((((((((((((((((((((((4294967296LL + (long long )newTop) + (long long )oldTop >= 0LL) && ((4294967296LL + (long long )casret) + (long long )oldTop >= 0LL)) && ((4294967296LL + (long long )casret) + (long long )newTop >= 0LL)) && ((4294967295LL - (long long )newTop) + (long long )oldTop >= 0LL)) && ((4294967295LL - (long long )casret) + (long long )oldTop >= 0LL)) && ((4294967295LL - (long long )casret) + (long long )newTop >= 0LL)) && ((4294967295LL + (long long )newTop) - (long long )oldTop >= 0LL)) && ((4294967295LL + (long long )casret) - (long long )oldTop >= 0LL)) && ((4294967295LL + (long long )casret) - (long long )newTop >= 0LL)) && ((4294967294LL - (long long )newTop) - (long long )oldTop >= 0LL)) && ((4294967294LL - (long long )casret) - (long long )oldTop >= 0LL)) && ((4294967294LL - (long long )casret) - (long long )newTop >= 0LL)) && ((2LL + (long long )newTop) + (long long )oldTop >= 0LL)) && ((2147483649LL + (long long )casret) + (long long )oldTop >= 0LL)) && ((2147483649LL + (long long )casret) + (long long )newTop >= 0LL)) && ((0LL - (long long )newTop) + (long long )oldTop >= 0LL)) && ((2147483648LL - (long long )casret) + (long long )oldTop >= 0LL)) && ((2147483648LL - (long long )casret) + (long long )newTop >= 0LL)) && ((2147483647LL + (long long )casret) - (long long )oldTop >= 0LL)) && ((2147483647LL + (long long )casret) - (long long )newTop >= 0LL)) && ((-2LL - (long long )newTop) - (long long )oldTop >= 0LL)) && ((2147483646LL - (long long )casret) - (long long )oldTop >= 0LL)) && ((2147483646LL - (long long )casret) - (long long )newTop >= 0LL)) && ((long long )newTop - (long long )oldTop >= 0LL)) && (-1 == oldTop)) && (-1 == newTop)) && (oldTop == -1)) && (oldTop == newTop)) && (newTop == -1)) && ((2147483649LL + (long long )newTop) + (long long )oldTop >= 0LL)) && ((2147483649LL + (long long )casret) + (long long )oldTop >= 0LL)) && ((4294967296LL + (long long )casret) + (long long )newTop >= 0LL)) && ((2147483648LL - (long long )newTop) + (long long )oldTop >= 0LL)) && ((2147483648LL - (long long )casret) + (long long )oldTop >= 0LL)) && ((4294967295LL - (long long )casret) + (long long )newTop >= 0LL)) && ((2147483647LL + (long long )newTop) - (long long )oldTop >= 0LL)) && ((2147483647LL + (long long )casret) - (long long )oldTop >= 0LL)) && ((4294967295LL + (long long )casret) - (long long )newTop >= 0LL)) && ((2147483646LL - (long long )newTop) - (long long )oldTop >= 0LL)) && ((2147483646LL - (long long )casret) - (long long )oldTop >= 0LL)) && ((4294967294LL - (long long )casret) - (long long )newTop >= 0LL)) && (-1 == oldTop)) && (oldTop == -1) [2024-01-30 14:16:29,176 INFO L98 nessWitnessExtractor]: Location invariant before [L728-L728] (1 <= curr_alloc_idx) && (curr_alloc_idx % 2 == 1) [2024-01-30 14:16:29,176 INFO L98 nessWitnessExtractor]: Location invariant before [L707-L714] ((((((((((((((((-128 <= *r) && (-1 <= *r)) && (0 <= e)) && (0 <= m)) && (0 <= m2)) && (0 <= *v)) && (1 <= u)) && (m <= 1)) && (m2 <= 1)) && (*r <= 0)) && (*r <= 127)) && (v == & top)) && (u != 0)) && (*r != 1)) && (m == 0 || m == 1)) && (m2 == 0 || m2 == 1)) && (*r == -1 || *r == 0) [2024-01-30 14:16:29,176 INFO L98 nessWitnessExtractor]: Location invariant before [L751-L751] ((((((((0 <= m) && (0 <= m2)) && (1 <= newTop)) && (m <= 1)) && (m2 <= 1)) && (newTop != 0)) && (m == 0 || m == 1)) && (m2 == 0 || m2 == 1)) && ((0 <= oldTop && casret == 0) || (((((((((2LL + (long long )casret) + (long long )oldTop >= 0LL && (0LL - (long long )casret) + (long long )oldTop >= 0LL) && (-2LL - (long long )casret) - (long long )oldTop >= 0LL) && (long long )casret - (long long )oldTop >= 0LL) && -1 == oldTop) && -1 == casret) && oldTop == -1) && oldTop == casret) && casret == -1)) [2024-01-30 14:16:29,177 INFO L98 nessWitnessExtractor]: Location invariant before [L754-L754] (((0 <= oldTop) && (1 <= newTop)) && (newTop != 0)) && (casret == 0 || (-1 == casret && casret == -1)) [2024-01-30 14:16:29,177 INFO L98 nessWitnessExtractor]: Location invariant before [L767-L767] ((((((2147483649LL + (long long )arg) + (long long )r >= 0LL) && ((2147483648LL - (long long )arg) + (long long )r >= 0LL)) && ((2147483647LL + (long long )arg) - (long long )r >= 0LL)) && ((2147483646LL - (long long )arg) - (long long )r >= 0LL)) && (-1 == r)) && (r == -1) [2024-01-30 14:16:29,177 INFO L98 nessWitnessExtractor]: Location invariant before [L746-L746] ((((((((((((((((((1LL + (long long )newTop) + (long long )oldTop >= 0LL) && ((1LL + (long long )casret) + (long long )newTop >= 0LL)) && ((2LL + (long long )casret) + (long long )oldTop >= 0LL)) && ((-1LL - (long long )casret) + (long long )newTop >= 0LL)) && ((0LL - (long long )casret) + (long long )oldTop >= 0LL)) && ((1LL - (long long )newTop) + (long long )oldTop >= 0LL)) && ((-1LL + (long long )newTop) - (long long )oldTop >= 0LL)) && ((1LL + (long long )casret) - (long long )newTop >= 0LL)) && ((-2LL - (long long )casret) - (long long )oldTop >= 0LL)) && ((-1LL - (long long )newTop) - (long long )oldTop >= 0LL)) && ((-1LL - (long long )casret) - (long long )newTop >= 0LL)) && ((long long )casret - (long long )oldTop >= 0LL)) && (-1 == oldTop)) && (-1 == casret)) && (oldTop == -1)) && (oldTop == casret)) && (newTop == 0)) && (casret == -1) [2024-01-30 14:16:29,177 INFO L98 nessWitnessExtractor]: Location invariant before [L770-L770] ((0 <= r) && (r <= 1)) && (r == 0 || r == 1) [2024-01-30 14:16:29,177 INFO L98 nessWitnessExtractor]: Location invariant before [L783-L783] (unsigned long )arg == 0UL [2024-01-30 14:16:29,178 INFO L98 nessWitnessExtractor]: Location invariant after [L3-L5] (((((0 <= m) && (0 <= m2)) && (m <= 1)) && (m2 <= 1)) && (m == 0 || m == 1)) && (m2 == 0 || m2 == 1) [2024-01-30 14:16:29,179 INFO L98 nessWitnessExtractor]: Location invariant before [L724-L724] (-1 == curr_alloc_idx) && (curr_alloc_idx == -1) [2024-01-30 14:16:29,179 INFO L98 nessWitnessExtractor]: Location invariant before [L744-L744] (((((((((((((((((((((2LL + (long long )newTop) + (long long )oldTop >= 0LL) && ((2LL + (long long )casret) + (long long )oldTop >= 0LL)) && ((2LL + (long long )casret) + (long long )newTop >= 0LL)) && ((0LL - (long long )newTop) + (long long )oldTop >= 0LL)) && ((0LL - (long long )casret) + (long long )oldTop >= 0LL)) && ((0LL - (long long )casret) + (long long )newTop >= 0LL)) && ((-2LL - (long long )newTop) - (long long )oldTop >= 0LL)) && ((-2LL - (long long )casret) - (long long )oldTop >= 0LL)) && ((-2LL - (long long )casret) - (long long )newTop >= 0LL)) && ((long long )newTop - (long long )oldTop >= 0LL)) && ((long long )casret - (long long )oldTop >= 0LL)) && ((long long )casret - (long long )newTop >= 0LL)) && (-1 == oldTop)) && (-1 == newTop)) && (-1 == casret)) && (oldTop == -1)) && (oldTop == newTop)) && (oldTop == casret)) && (newTop == -1)) && (newTop == casret)) && (casret == -1) [2024-01-30 14:16:29,179 INFO L98 nessWitnessExtractor]: Location invariant before [L785-L785] (unsigned long )arg == 0UL [2024-01-30 14:16:29,179 INFO L98 nessWitnessExtractor]: Location invariant before [L729-L729] (1 <= curr_alloc_idx) && (curr_alloc_idx % 2 == 1) [2024-01-30 14:16:29,179 INFO L98 nessWitnessExtractor]: Location invariant before [L709-L709] ((((((((((((((((-128 <= *r) && (-1 <= *r)) && (0 <= e)) && (0 <= m)) && (0 <= m2)) && (0 <= *v)) && (1 <= u)) && (m <= 1)) && (m2 <= 1)) && (*r <= 0)) && (*r <= 127)) && (v == & top)) && (u != 0)) && (*r != 1)) && (m == 0 || m == 1)) && (m2 == 0 || m2 == 1)) && (*r == -1 || *r == 0) [2024-01-30 14:16:29,180 INFO L98 nessWitnessExtractor]: Location invariant before [L722-L722] (-1 == curr_alloc_idx) && (curr_alloc_idx == -1) [2024-01-30 14:16:29,180 INFO L98 nessWitnessExtractor]: Location invariant before [L769-L769] (((((((0 <= r && r <= 1) && (r == 0 || r == 1)) || (-1 == r && r == -1)) || ((0 <= r && r <= 1) && (r == 0 || r == 1))) || ((0 <= r && r <= 1) && (r == 0 || r == 1))) || ((0 <= r && r <= 1) && (r == 0 || r == 1))) || ((0 <= r && r <= 1) && (r == 0 || r == 1))) || ((0 <= r && r <= 1) && (r == 0 || r == 1)) [2024-01-30 14:16:29,180 INFO L98 nessWitnessExtractor]: Location invariant after [L696-L700] ((((((0 <= m) && (0 <= m2)) && (m <= 1)) && (m2 <= 1)) && (m == 0 || m == 1)) && (m2 == 0 || m2 == 1)) && ((m == & m2 && (((0 <= *m && *m <= 1) && (0 <= *m && *m <= 1)) && (*m == 0 || *m == 1))) || (m == & m && (((0 <= *m && *m <= 1) && (0 <= *m && *m <= 1)) && (*m == 0 || *m == 1)))) [2024-01-30 14:16:29,180 INFO L98 nessWitnessExtractor]: Location invariant before [L781-L781] (unsigned long )arg == 0UL [2024-01-30 14:16:29,181 INFO L98 nessWitnessExtractor]: Location invariant after [L737-L740] (((((0 <= m) && (0 <= m2)) && (m <= 1)) && (m2 <= 1)) && (m == 0 || m == 1)) && (m2 == 0 || m2 == 1) [2024-01-30 14:16:29,181 INFO L98 nessWitnessExtractor]: Location invariant before [L737-L740] (((((0 <= m) && (0 <= m2)) && (m <= 1)) && (m2 <= 1)) && (m == 0 || m == 1)) && (m2 == 0 || m2 == 1) [2024-01-30 14:16:29,181 INFO L98 nessWitnessExtractor]: Location invariant before [L782-L782] (unsigned long )arg == 0UL [2024-01-30 14:16:29,181 INFO L98 nessWitnessExtractor]: Location invariant after [L691-L695] ((((((0 <= m) && (0 <= m2)) && (m <= 1)) && (m2 <= 1)) && (m == 0 || m == 1)) && (m2 == 0 || m2 == 1)) && ((m == & m2 && (((0 <= *m && *m <= 1) && (0 <= *m && *m <= 1)) && (*m == 0 || *m == 1))) || (m == & m && (((0 <= *m && *m <= 1) && (0 <= *m && *m <= 1)) && (*m == 0 || *m == 1)))) [2024-01-30 14:16:29,181 INFO L98 nessWitnessExtractor]: Location invariant before [L752-L752] (((((((((0 <= m) && (0 <= oldTop)) && (0 <= m2)) && (1 <= newTop)) && (m <= 1)) && (m2 <= 1)) && (newTop != 0)) && (m == 0 || m == 1)) && (casret == 0 || (-1 == casret && casret == -1))) && (m2 == 0 || m2 == 1) [2024-01-30 14:16:29,232 INFO L177 MainTranslator]: Built tables and reachable declarations [2024-01-30 14:16:29,440 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-ext/26_stack_cas_longest-2.i[31306,31319] [2024-01-30 14:16:29,447 INFO L209 PostProcessor]: Analyzing one entry point: main [2024-01-30 14:16:29,455 INFO L202 MainTranslator]: Completed pre-run Start Parsing Local [2024-01-30 14:16:29,479 ERROR L324 MainTranslator]: Incorrect Syntax: Undeclared variable in ACSL expression: m [2024-01-30 14:16:29,479 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@8da3893 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.01 02:16:29, skipping insertion in model container [2024-01-30 14:16:29,480 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-01-30 14:16:29,480 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.procedureinliner [2024-01-30 14:16:29,481 INFO L158 Benchmark]: Toolchain (without parser) took 519.85ms. Allocated memory is still 130.0MB. Free memory was 68.8MB in the beginning and 49.9MB in the end (delta: 18.9MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. [2024-01-30 14:16:29,481 INFO L158 Benchmark]: Witness Parser took 0.14ms. Allocated memory is still 130.0MB. Free memory is still 102.1MB. There was no memory consumed. Max. memory is 16.1GB. [2024-01-30 14:16:29,482 INFO L158 Benchmark]: CDTParser took 0.16ms. Allocated memory is still 130.0MB. Free memory is still 86.8MB. There was no memory consumed. Max. memory is 16.1GB. [2024-01-30 14:16:29,482 INFO L158 Benchmark]: CACSL2BoogieTranslator took 514.99ms. Allocated memory is still 130.0MB. Free memory was 68.8MB in the beginning and 49.9MB in the end (delta: 18.9MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. [2024-01-30 14:16:29,483 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * Witness Parser took 0.14ms. Allocated memory is still 130.0MB. Free memory is still 102.1MB. There was no memory consumed. Max. memory is 16.1GB. * CDTParser took 0.16ms. Allocated memory is still 130.0MB. Free memory is still 86.8MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 514.99ms. Allocated memory is still 130.0MB. Free memory was 68.8MB in the beginning and 49.9MB in the end (delta: 18.9MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - SyntaxErrorResult [Line: 4]: Incorrect Syntax Undeclared variable in ACSL expression: m 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-ext/26_stack_cas_longest-2.i ./goblint.2023-12-19_14-39-08.files/SV-COMP24_unreach-call/26_stack_cas_longest-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-3d25acf-m [2024-01-30 14:16:31,576 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-01-30 14:16:31,646 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Bitvector.epf [2024-01-30 14:16:31,653 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-01-30 14:16:31,655 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-01-30 14:16:31,690 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-01-30 14:16:31,691 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-01-30 14:16:31,691 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-01-30 14:16:31,692 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-01-30 14:16:31,695 INFO L153 SettingsManager]: * Use memory slicer=true [2024-01-30 14:16:31,695 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-01-30 14:16:31,695 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-01-30 14:16:31,696 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-01-30 14:16:31,697 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-01-30 14:16:31,697 INFO L153 SettingsManager]: * Use SBE=true [2024-01-30 14:16:31,697 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-01-30 14:16:31,698 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-01-30 14:16:31,698 INFO L153 SettingsManager]: * sizeof long=4 [2024-01-30 14:16:31,698 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-01-30 14:16:31,698 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-01-30 14:16:31,699 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-01-30 14:16:31,699 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-01-30 14:16:31,699 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-01-30 14:16:31,700 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-01-30 14:16:31,700 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-01-30 14:16:31,700 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-01-30 14:16:31,700 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-01-30 14:16:31,700 INFO L153 SettingsManager]: * sizeof long double=12 [2024-01-30 14:16:31,701 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-01-30 14:16:31,701 INFO L153 SettingsManager]: * Use constant arrays=true [2024-01-30 14:16:31,702 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-01-30 14:16:31,702 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-01-30 14:16:31,702 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-01-30 14:16:31,702 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-01-30 14:16:31,703 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-01-30 14:16:31,703 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-01-30 14:16:31,703 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-01-30 14:16:31,704 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-01-30 14:16:31,704 INFO L153 SettingsManager]: * Trace refinement strategy=WOLF [2024-01-30 14:16:31,704 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-01-30 14:16:31,704 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-01-30 14:16:31,705 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-01-30 14:16:31,705 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2024-01-30 14:16:31,705 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-01-30 14:16:31,705 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-01-30 14:16:31,705 INFO L153 SettingsManager]: * Logic for external solver=AUFBV [2024-01-30 14:16:31,705 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-30 14:16:31,981 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-01-30 14:16:31,994 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-01-30 14:16:31,996 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-01-30 14:16:31,997 INFO L270 PluginConnector]: Initializing Witness Parser... [2024-01-30 14:16:31,997 INFO L274 PluginConnector]: Witness Parser initialized [2024-01-30 14:16:31,998 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/26_stack_cas_longest-2.yml/witness.yml [2024-01-30 14:16:32,205 INFO L270 PluginConnector]: Initializing CDTParser... [2024-01-30 14:16:32,205 INFO L274 PluginConnector]: CDTParser initialized [2024-01-30 14:16:32,205 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/pthread-ext/26_stack_cas_longest-2.i [2024-01-30 14:16:33,532 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-01-30 14:16:33,770 INFO L384 CDTParser]: Found 1 translation units. [2024-01-30 14:16:33,771 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/26_stack_cas_longest-2.i [2024-01-30 14:16:33,784 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/2cf152abf/af24fcc948534e4596b000f8f226abed/FLAG80c28565b [2024-01-30 14:16:33,800 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/2cf152abf/af24fcc948534e4596b000f8f226abed [2024-01-30 14:16:33,800 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-01-30 14:16:33,802 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2024-01-30 14:16:33,803 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-01-30 14:16:33,807 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-01-30 14:16:33,811 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-01-30 14:16:33,811 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 30.01 02:16:32" (1/2) ... [2024-01-30 14:16:33,812 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@2e17be32 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 30.01 02:16:33, skipping insertion in model container [2024-01-30 14:16:33,812 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 30.01 02:16:32" (1/2) ... [2024-01-30 14:16:33,813 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@4079b672 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 30.01 02:16:33, skipping insertion in model container [2024-01-30 14:16:33,814 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 30.01 02:16:33" (2/2) ... [2024-01-30 14:16:33,817 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@2e17be32 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.01 02:16:33, skipping insertion in model container [2024-01-30 14:16:33,817 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 30.01 02:16:33" (2/2) ... [2024-01-30 14:16:33,818 INFO L83 nessWitnessExtractor]: Extracting all invariants from correctness witness [2024-01-30 14:16:34,015 INFO L96 nessWitnessExtractor]: Found the following entries in the witness: [2024-01-30 14:16:34,016 INFO L98 nessWitnessExtractor]: Location invariant before [L766-L766] ((((4294967296LL + (long long )arg) + (long long )r >= 0LL) && ((4294967295LL - (long long )arg) + (long long )r >= 0LL)) && ((4294967295LL + (long long )arg) - (long long )r >= 0LL)) && ((4294967294LL - (long long )arg) - (long long )r >= 0LL) [2024-01-30 14:16:34,016 INFO L98 nessWitnessExtractor]: Location invariant before [L722-L722] (-1 == curr_alloc_idx) && (curr_alloc_idx == -1) [2024-01-30 14:16:34,017 INFO L98 nessWitnessExtractor]: Location invariant before [L707-L714] ((((((((((((((((-128 <= *r) && (-1 <= *r)) && (0 <= e)) && (0 <= m)) && (0 <= m2)) && (0 <= *v)) && (1 <= u)) && (m <= 1)) && (m2 <= 1)) && (*r <= 0)) && (*r <= 127)) && (v == & top)) && (u != 0)) && (*r != 1)) && (m == 0 || m == 1)) && (m2 == 0 || m2 == 1)) && (*r == -1 || *r == 0) [2024-01-30 14:16:34,017 INFO L98 nessWitnessExtractor]: Location invariant before [L725-L725] (-1 == curr_alloc_idx) && (curr_alloc_idx == -1) [2024-01-30 14:16:34,018 INFO L98 nessWitnessExtractor]: Location invariant before [L754-L754] (((0 <= oldTop) && (1 <= newTop)) && (newTop != 0)) && (casret == 0 || (-1 == casret && casret == -1)) [2024-01-30 14:16:34,018 INFO L98 nessWitnessExtractor]: Location invariant before [L751-L751] ((((((((0 <= m) && (0 <= m2)) && (1 <= newTop)) && (m <= 1)) && (m2 <= 1)) && (newTop != 0)) && (m == 0 || m == 1)) && (m2 == 0 || m2 == 1)) && ((0 <= oldTop && casret == 0) || (((((((((2LL + (long long )casret) + (long long )oldTop >= 0LL && (0LL - (long long )casret) + (long long )oldTop >= 0LL) && (-2LL - (long long )casret) - (long long )oldTop >= 0LL) && (long long )casret - (long long )oldTop >= 0LL) && -1 == oldTop) && -1 == casret) && oldTop == -1) && oldTop == casret) && casret == -1)) [2024-01-30 14:16:34,018 INFO L98 nessWitnessExtractor]: Location invariant before [L788-L788] (unsigned long )arg == 0UL [2024-01-30 14:16:34,018 INFO L98 nessWitnessExtractor]: Location invariant before [L763-L763] (((((((((((((0 <= m) && (0 <= m2)) && (m <= 1)) && (m2 <= 1)) && (m == 0 || m == 1)) && (r == 1 || ((0 <= r && r <= 1) && (r == 0 || r == 1)))) && (m2 == 0 || m2 == 1)) && (0 <= m)) && (0 <= m2)) && (m <= 1)) && (m2 <= 1)) && (r == 1)) && (m == 0 || m == 1)) && (m2 == 0 || m2 == 1) [2024-01-30 14:16:34,018 INFO L98 nessWitnessExtractor]: Location invariant before [L738-L738] (((((0 <= m) && (0 <= m2)) && (m <= 1)) && (m2 <= 1)) && (m == 0 || m == 1)) && (m2 == 0 || m2 == 1) [2024-01-30 14:16:34,018 INFO L98 nessWitnessExtractor]: Location invariant before [L769-L769] (((((((0 <= r && r <= 1) && (r == 0 || r == 1)) || (-1 == r && r == -1)) || ((0 <= r && r <= 1) && (r == 0 || r == 1))) || ((0 <= r && r <= 1) && (r == 0 || r == 1))) || ((0 <= r && r <= 1) && (r == 0 || r == 1))) || ((0 <= r && r <= 1) && (r == 0 || r == 1))) || ((0 <= r && r <= 1) && (r == 0 || r == 1)) [2024-01-30 14:16:34,019 INFO L98 nessWitnessExtractor]: Location invariant before [L755-L757] (((((0 <= oldTop) && (0 <= casret)) && (1 <= newTop)) && (casret <= 1)) && (newTop != 0)) && (casret == 0 || casret == 1) [2024-01-30 14:16:34,019 INFO L98 nessWitnessExtractor]: Location invariant before [L763-L763] (((((((((((((0 <= m) && (0 <= m2)) && (m <= 1)) && (m2 <= 1)) && (m == 0 || m == 1)) && (r == 1 || ((0 <= r && r <= 1) && (r == 0 || r == 1)))) && (m2 == 0 || m2 == 1)) && (0 <= m)) && (0 <= m2)) && (m <= 1)) && (m2 <= 1)) && (r == 1)) && (m == 0 || m == 1)) && (m2 == 0 || m2 == 1) [2024-01-30 14:16:34,019 INFO L98 nessWitnessExtractor]: Location invariant before [L770-L770] ((0 <= r) && (r <= 1)) && (r == 0 || r == 1) [2024-01-30 14:16:34,019 INFO L98 nessWitnessExtractor]: Location invariant before [L699-L699] ((((((0 <= m) && (0 <= m2)) && (m <= 1)) && (m2 <= 1)) && (m == 0 || m == 1)) && (m2 == 0 || m2 == 1)) && ((m == & m2 && (((0 <= *m && *m <= 1) && (0 <= *m && *m <= 1)) && (*m == 0 || *m == 1))) || (m == & m && (((0 <= *m && *m <= 1) && (0 <= *m && *m <= 1)) && (*m == 0 || *m == 1)))) [2024-01-30 14:16:34,019 INFO L98 nessWitnessExtractor]: Location invariant after [L761-L764] ((((((((0 <= m) && (0 <= r)) && (0 <= m2)) && (m <= 1)) && (r <= 1)) && (m2 <= 1)) && (m == 0 || m == 1)) && (r == 0 || r == 1)) && (m2 == 0 || m2 == 1) [2024-01-30 14:16:34,019 INFO L98 nessWitnessExtractor]: Location invariant before [L743-L743] (((((((((((((((((((((((((((((((((((((((((((4294967296LL + (long long )newTop) + (long long )oldTop >= 0LL) && ((4294967296LL + (long long )casret) + (long long )oldTop >= 0LL)) && ((4294967296LL + (long long )casret) + (long long )newTop >= 0LL)) && ((4294967295LL - (long long )newTop) + (long long )oldTop >= 0LL)) && ((4294967295LL - (long long )casret) + (long long )oldTop >= 0LL)) && ((4294967295LL - (long long )casret) + (long long )newTop >= 0LL)) && ((4294967295LL + (long long )newTop) - (long long )oldTop >= 0LL)) && ((4294967295LL + (long long )casret) - (long long )oldTop >= 0LL)) && ((4294967295LL + (long long )casret) - (long long )newTop >= 0LL)) && ((4294967294LL - (long long )newTop) - (long long )oldTop >= 0LL)) && ((4294967294LL - (long long )casret) - (long long )oldTop >= 0LL)) && ((4294967294LL - (long long )casret) - (long long )newTop >= 0LL)) && ((2LL + (long long )newTop) + (long long )oldTop >= 0LL)) && ((2147483649LL + (long long )casret) + (long long )oldTop >= 0LL)) && ((2147483649LL + (long long )casret) + (long long )newTop >= 0LL)) && ((0LL - (long long )newTop) + (long long )oldTop >= 0LL)) && ((2147483648LL - (long long )casret) + (long long )oldTop >= 0LL)) && ((2147483648LL - (long long )casret) + (long long )newTop >= 0LL)) && ((2147483647LL + (long long )casret) - (long long )oldTop >= 0LL)) && ((2147483647LL + (long long )casret) - (long long )newTop >= 0LL)) && ((-2LL - (long long )newTop) - (long long )oldTop >= 0LL)) && ((2147483646LL - (long long )casret) - (long long )oldTop >= 0LL)) && ((2147483646LL - (long long )casret) - (long long )newTop >= 0LL)) && ((long long )newTop - (long long )oldTop >= 0LL)) && (-1 == oldTop)) && (-1 == newTop)) && (oldTop == -1)) && (oldTop == newTop)) && (newTop == -1)) && ((2147483649LL + (long long )newTop) + (long long )oldTop >= 0LL)) && ((2147483649LL + (long long )casret) + (long long )oldTop >= 0LL)) && ((4294967296LL + (long long )casret) + (long long )newTop >= 0LL)) && ((2147483648LL - (long long )newTop) + (long long )oldTop >= 0LL)) && ((2147483648LL - (long long )casret) + (long long )oldTop >= 0LL)) && ((4294967295LL - (long long )casret) + (long long )newTop >= 0LL)) && ((2147483647LL + (long long )newTop) - (long long )oldTop >= 0LL)) && ((2147483647LL + (long long )casret) - (long long )oldTop >= 0LL)) && ((4294967295LL + (long long )casret) - (long long )newTop >= 0LL)) && ((2147483646LL - (long long )newTop) - (long long )oldTop >= 0LL)) && ((2147483646LL - (long long )casret) - (long long )oldTop >= 0LL)) && ((4294967294LL - (long long )casret) - (long long )newTop >= 0LL)) && (-1 == oldTop)) && (oldTop == -1) [2024-01-30 14:16:34,019 INFO L98 nessWitnessExtractor]: Location invariant after [L3-L5] (((((0 <= m) && (0 <= m2)) && (m <= 1)) && (m2 <= 1)) && (m == 0 || m == 1)) && (m2 == 0 || m2 == 1) [2024-01-30 14:16:34,019 INFO L98 nessWitnessExtractor]: Location invariant before [L713-L713] ((((((((((((((((-128 <= *r) && (-1 <= *r)) && (0 <= e)) && (0 <= m)) && (0 <= m2)) && (0 <= *v)) && (1 <= u)) && (m <= 1)) && (m2 <= 1)) && (*r <= 0)) && (*r <= 127)) && (v == & top)) && (u != 0)) && (*r != 1)) && (m == 0 || m == 1)) && (m2 == 0 || m2 == 1)) && (*r == -1 || *r == 0) [2024-01-30 14:16:34,020 INFO L98 nessWitnessExtractor]: Loop invariant at [L768-L771] ((((((0 <= r && r <= 1) && (r == 0 || r == 1)) || (-1 == r && r == -1)) || ((0 <= r && r <= 1) && (r == 0 || r == 1))) || ((0 <= r && r <= 1) && (r == 0 || r == 1))) || ((0 <= r && r <= 1) && (r == 0 || r == 1))) || ((0 <= r && r <= 1) && (r == 0 || r == 1)) [2024-01-30 14:16:34,020 INFO L98 nessWitnessExtractor]: Location invariant after [L701-L715] (((((((((((((0 <= e) && (0 <= m)) && (0 <= m2)) && (0 <= *v)) && (0 <= *r)) && (1 <= u)) && (m <= 1)) && (m2 <= 1)) && (*r <= 1)) && (v == & top)) && (u != 0)) && (m == 0 || m == 1)) && (m2 == 0 || m2 == 1)) && (*r == 0 || *r == 1) [2024-01-30 14:16:34,020 INFO L98 nessWitnessExtractor]: Location invariant before [L748-L748] ((((((((((1 <= newTop) && ((2LL + (long long )casret) + (long long )oldTop >= 0LL)) && ((0LL - (long long )casret) + (long long )oldTop >= 0LL)) && ((-2LL - (long long )casret) - (long long )oldTop >= 0LL)) && ((long long )casret - (long long )oldTop >= 0LL)) && (-1 == oldTop)) && (-1 == casret)) && (oldTop == -1)) && (oldTop == casret)) && (casret == -1)) && (newTop != 0) [2024-01-30 14:16:34,020 INFO L98 nessWitnessExtractor]: Location invariant before [L729-L729] (1 <= curr_alloc_idx) && (curr_alloc_idx % 2 == 1) [2024-01-30 14:16:34,021 INFO L98 nessWitnessExtractor]: Location invariant before [L746-L746] ((((((((((((((((((1LL + (long long )newTop) + (long long )oldTop >= 0LL) && ((1LL + (long long )casret) + (long long )newTop >= 0LL)) && ((2LL + (long long )casret) + (long long )oldTop >= 0LL)) && ((-1LL - (long long )casret) + (long long )newTop >= 0LL)) && ((0LL - (long long )casret) + (long long )oldTop >= 0LL)) && ((1LL - (long long )newTop) + (long long )oldTop >= 0LL)) && ((-1LL + (long long )newTop) - (long long )oldTop >= 0LL)) && ((1LL + (long long )casret) - (long long )newTop >= 0LL)) && ((-2LL - (long long )casret) - (long long )oldTop >= 0LL)) && ((-1LL - (long long )newTop) - (long long )oldTop >= 0LL)) && ((-1LL - (long long )casret) - (long long )newTop >= 0LL)) && ((long long )casret - (long long )oldTop >= 0LL)) && (-1 == oldTop)) && (-1 == casret)) && (oldTop == -1)) && (oldTop == casret)) && (newTop == 0)) && (casret == -1) [2024-01-30 14:16:34,021 INFO L98 nessWitnessExtractor]: Location invariant before [L781-L781] (unsigned long )arg == 0UL [2024-01-30 14:16:34,021 INFO L98 nessWitnessExtractor]: Location invariant before [L750-L750] ((1 <= newTop) && (newTop != 0)) && ((0 <= oldTop && casret == 0) || (((((((((2LL + (long long )casret) + (long long )oldTop >= 0LL && (0LL - (long long )casret) + (long long )oldTop >= 0LL) && (-2LL - (long long )casret) - (long long )oldTop >= 0LL) && (long long )casret - (long long )oldTop >= 0LL) && -1 == oldTop) && -1 == casret) && oldTop == -1) && oldTop == casret) && casret == -1)) [2024-01-30 14:16:34,021 INFO L98 nessWitnessExtractor]: Location invariant before [L723-L730] (-1 == curr_alloc_idx) && (curr_alloc_idx == -1) [2024-01-30 14:16:34,021 INFO L98 nessWitnessExtractor]: Location invariant before [L737-L740] (((((0 <= m) && (0 <= m2)) && (m <= 1)) && (m2 <= 1)) && (m == 0 || m == 1)) && (m2 == 0 || m2 == 1) [2024-01-30 14:16:34,021 INFO L98 nessWitnessExtractor]: Location invariant after [L737-L740] (((((0 <= m) && (0 <= m2)) && (m <= 1)) && (m2 <= 1)) && (m == 0 || m == 1)) && (m2 == 0 || m2 == 1) [2024-01-30 14:16:34,021 INFO L98 nessWitnessExtractor]: Location invariant before [L753-L753] (((0 <= oldTop) && (1 <= newTop)) && (newTop != 0)) && (casret == 0 || (-1 == casret && casret == -1)) [2024-01-30 14:16:34,021 INFO L98 nessWitnessExtractor]: Location invariant before [L724-L724] (-1 == curr_alloc_idx) && (curr_alloc_idx == -1) [2024-01-30 14:16:34,022 INFO L98 nessWitnessExtractor]: Location invariant before [L728-L728] (1 <= curr_alloc_idx) && (curr_alloc_idx % 2 == 1) [2024-01-30 14:16:34,022 INFO L98 nessWitnessExtractor]: Location invariant before [L698-L698] ((((((0 <= m) && (0 <= m2)) && (m <= 1)) && (m2 <= 1)) && (m == 0 || m == 1)) && (m2 == 0 || m2 == 1)) && ((m == & m2 && (((0 <= *m && *m <= 1) && (0 <= *m && *m <= 1)) && (*m == 0 || *m == 1))) || (m == & m && (((0 <= *m && *m <= 1) && (0 <= *m && *m <= 1)) && (*m == 0 || *m == 1)))) [2024-01-30 14:16:34,022 INFO L98 nessWitnessExtractor]: Location invariant before [L777-L777] (unsigned long )arg == 0UL [2024-01-30 14:16:34,022 INFO L98 nessWitnessExtractor]: Location invariant before [L731-L731] 0 <= curr_alloc_idx [2024-01-30 14:16:34,023 INFO L98 nessWitnessExtractor]: Location invariant before [L767-L767] ((((((2147483649LL + (long long )arg) + (long long )r >= 0LL) && ((2147483648LL - (long long )arg) + (long long )r >= 0LL)) && ((2147483647LL + (long long )arg) - (long long )r >= 0LL)) && ((2147483646LL - (long long )arg) - (long long )r >= 0LL)) && (-1 == r)) && (r == -1) [2024-01-30 14:16:34,023 INFO L98 nessWitnessExtractor]: Location invariant after [L696-L700] ((((((0 <= m) && (0 <= m2)) && (m <= 1)) && (m2 <= 1)) && (m == 0 || m == 1)) && (m2 == 0 || m2 == 1)) && ((m == & m2 && (((0 <= *m && *m <= 1) && (0 <= *m && *m <= 1)) && (*m == 0 || *m == 1))) || (m == & m && (((0 <= *m && *m <= 1) && (0 <= *m && *m <= 1)) && (*m == 0 || *m == 1)))) [2024-01-30 14:16:34,023 INFO L98 nessWitnessExtractor]: Location invariant before [L694-L694] ((((((0 <= m) && (0 <= m2)) && (m <= 1)) && (m2 <= 1)) && (m == 0 || m == 1)) && (m2 == 0 || m2 == 1)) && ((m == & m2 && (((0 <= *m && *m <= 1) && (0 <= *m && *m <= 1)) && (*m == 0 || *m == 1))) || (m == & m && (((0 <= *m && *m <= 1) && (0 <= *m && *m <= 1)) && (*m == 0 || *m == 1)))) [2024-01-30 14:16:34,024 INFO L98 nessWitnessExtractor]: Location invariant before [L780-L780] (unsigned long )arg == 0UL [2024-01-30 14:16:34,024 INFO L98 nessWitnessExtractor]: Location invariant before [L727-L727] (-1 == curr_alloc_idx) && (curr_alloc_idx == -1) [2024-01-30 14:16:34,024 INFO L98 nessWitnessExtractor]: Location invariant before [L745-L759] (((((((((0 <= newTop) && ((2LL + (long long )casret) + (long long )oldTop >= 0LL)) && ((0LL - (long long )casret) + (long long )oldTop >= 0LL)) && ((-2LL - (long long )casret) - (long long )oldTop >= 0LL)) && ((long long )casret - (long long )oldTop >= 0LL)) && (-1 == oldTop)) && (-1 == casret)) && (oldTop == -1)) && (oldTop == casret)) && (casret == -1) [2024-01-30 14:16:34,024 INFO L98 nessWitnessExtractor]: Location invariant before [L756-L756] (((0 <= oldTop) && (1 <= newTop)) && (casret == 1)) && (newTop != 0) [2024-01-30 14:16:34,024 INFO L98 nessWitnessExtractor]: Location invariant before [L784-L784] (unsigned long )arg == 0UL [2024-01-30 14:16:34,024 INFO L98 nessWitnessExtractor]: Loop invariant at [L749-L758] ((1 <= newTop) && (newTop != 0)) && ((0 <= oldTop && casret == 0) || (((((((((2LL + (long long )casret) + (long long )oldTop >= 0LL && (0LL - (long long )casret) + (long long )oldTop >= 0LL) && (-2LL - (long long )casret) - (long long )oldTop >= 0LL) && (long long )casret - (long long )oldTop >= 0LL) && -1 == oldTop) && -1 == casret) && oldTop == -1) && oldTop == casret) && casret == -1)) [2024-01-30 14:16:34,025 INFO L98 nessWitnessExtractor]: Location invariant before [L785-L785] (unsigned long )arg == 0UL [2024-01-30 14:16:34,025 INFO L98 nessWitnessExtractor]: Location invariant before [L693-L693] ((((((0 <= m) && (0 <= m2)) && (m <= 1)) && (m2 <= 1)) && (m == 0 || m == 1)) && (m2 == 0 || m2 == 1)) && ((m == & m2 && (((0 <= *m && *m <= 1) && (0 <= *m && *m <= 1)) && (*m == 0 || *m == 1))) || (m == & m && (((0 <= *m && *m <= 1) && (0 <= *m && *m <= 1)) && (*m == 0 || *m == 1)))) [2024-01-30 14:16:34,025 INFO L98 nessWitnessExtractor]: Location invariant after [L691-L695] ((((((0 <= m) && (0 <= m2)) && (m <= 1)) && (m2 <= 1)) && (m == 0 || m == 1)) && (m2 == 0 || m2 == 1)) && ((m == & m2 && (((0 <= *m && *m <= 1) && (0 <= *m && *m <= 1)) && (*m == 0 || *m == 1))) || (m == & m && (((0 <= *m && *m <= 1) && (0 <= *m && *m <= 1)) && (*m == 0 || *m == 1)))) [2024-01-30 14:16:34,025 INFO L98 nessWitnessExtractor]: Location invariant before [L709-L709] ((((((((((((((((-128 <= *r) && (-1 <= *r)) && (0 <= e)) && (0 <= m)) && (0 <= m2)) && (0 <= *v)) && (1 <= u)) && (m <= 1)) && (m2 <= 1)) && (*r <= 0)) && (*r <= 127)) && (v == & top)) && (u != 0)) && (*r != 1)) && (m == 0 || m == 1)) && (m2 == 0 || m2 == 1)) && (*r == -1 || *r == 0) [2024-01-30 14:16:34,025 INFO L98 nessWitnessExtractor]: Location invariant before [L744-L744] (((((((((((((((((((((2LL + (long long )newTop) + (long long )oldTop >= 0LL) && ((2LL + (long long )casret) + (long long )oldTop >= 0LL)) && ((2LL + (long long )casret) + (long long )newTop >= 0LL)) && ((0LL - (long long )newTop) + (long long )oldTop >= 0LL)) && ((0LL - (long long )casret) + (long long )oldTop >= 0LL)) && ((0LL - (long long )casret) + (long long )newTop >= 0LL)) && ((-2LL - (long long )newTop) - (long long )oldTop >= 0LL)) && ((-2LL - (long long )casret) - (long long )oldTop >= 0LL)) && ((-2LL - (long long )casret) - (long long )newTop >= 0LL)) && ((long long )newTop - (long long )oldTop >= 0LL)) && ((long long )casret - (long long )oldTop >= 0LL)) && ((long long )casret - (long long )newTop >= 0LL)) && (-1 == oldTop)) && (-1 == newTop)) && (-1 == casret)) && (oldTop == -1)) && (oldTop == newTop)) && (oldTop == casret)) && (newTop == -1)) && (newTop == casret)) && (casret == -1) [2024-01-30 14:16:34,026 INFO L98 nessWitnessExtractor]: Location invariant before [L782-L782] (unsigned long )arg == 0UL [2024-01-30 14:16:34,026 INFO L98 nessWitnessExtractor]: Location invariant before [L752-L752] (((((((((0 <= m) && (0 <= oldTop)) && (0 <= m2)) && (1 <= newTop)) && (m <= 1)) && (m2 <= 1)) && (newTop != 0)) && (m == 0 || m == 1)) && (casret == 0 || (-1 == casret && casret == -1))) && (m2 == 0 || m2 == 1) [2024-01-30 14:16:34,026 INFO L98 nessWitnessExtractor]: Location invariant before [L783-L783] (unsigned long )arg == 0UL [2024-01-30 14:16:34,026 INFO L98 nessWitnessExtractor]: Location invariant before [L4-L4] (((((((((((0 <= m) && (0 <= m2)) && (m <= 1)) && (m2 <= 1)) && (m == 0 || m == 1)) && (m2 == 0 || m2 == 1)) && (0 <= m)) && (0 <= m2)) && (m <= 1)) && (m2 <= 1)) && (m == 0 || m == 1)) && (m2 == 0 || m2 == 1) [2024-01-30 14:16:34,067 INFO L177 MainTranslator]: Built tables and reachable declarations [2024-01-30 14:16:34,380 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-ext/26_stack_cas_longest-2.i[31306,31319] [2024-01-30 14:16:34,387 INFO L209 PostProcessor]: Analyzing one entry point: main [2024-01-30 14:16:34,404 INFO L202 MainTranslator]: Completed pre-run Start Parsing Local [2024-01-30 14:16:34,440 ERROR L324 MainTranslator]: Incorrect Syntax: Undeclared variable in ACSL expression: m [2024-01-30 14:16:34,441 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@4079b672 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.01 02:16:34, skipping insertion in model container [2024-01-30 14:16:34,441 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-01-30 14:16:34,441 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.procedureinliner [2024-01-30 14:16:34,443 INFO L158 Benchmark]: Toolchain (without parser) took 640.76ms. Allocated memory is still 81.8MB. Free memory was 39.2MB in the beginning and 49.3MB in the end (delta: -10.2MB). Peak memory consumption was 10.5MB. Max. memory is 16.1GB. [2024-01-30 14:16:34,443 INFO L158 Benchmark]: Witness Parser took 0.13ms. Allocated memory is still 52.4MB. Free memory was 33.6MB in the beginning and 33.6MB in the end (delta: 47.7kB). There was no memory consumed. Max. memory is 16.1GB. [2024-01-30 14:16:34,444 INFO L158 Benchmark]: CDTParser took 0.14ms. Allocated memory is still 81.8MB. Free memory is still 65.2MB. There was no memory consumed. Max. memory is 16.1GB. [2024-01-30 14:16:34,445 INFO L158 Benchmark]: CACSL2BoogieTranslator took 638.64ms. Allocated memory is still 81.8MB. Free memory was 39.2MB in the beginning and 49.3MB in the end (delta: -10.2MB). Peak memory consumption was 10.5MB. Max. memory is 16.1GB. [2024-01-30 14:16:34,446 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * Witness Parser took 0.13ms. Allocated memory is still 52.4MB. Free memory was 33.6MB in the beginning and 33.6MB in the end (delta: 47.7kB). There was no memory consumed. Max. memory is 16.1GB. * CDTParser took 0.14ms. Allocated memory is still 81.8MB. Free memory is still 65.2MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 638.64ms. Allocated memory is still 81.8MB. Free memory was 39.2MB in the beginning and 49.3MB in the end (delta: -10.2MB). Peak memory consumption was 10.5MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - SyntaxErrorResult [Line: 4]: Incorrect Syntax Undeclared variable in ACSL expression: m 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