./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/unreach-call.prp --file ../../../trunk/examples/svcomp/ldv-races/race-3_2-container_of-global.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/race-3_2-container_of-global.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/ldv-races/race-3_2-container_of-global.i ./goblint.2023-12-19_14-39-08.files/SV-COMP24_unreach-call/race-3_2-container_of-global.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:39:47,756 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-01-30 14:39:47,818 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Default.epf [2024-01-30 14:39:47,823 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-01-30 14:39:47,824 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-01-30 14:39:47,847 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-01-30 14:39:47,848 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-01-30 14:39:47,848 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-01-30 14:39:47,849 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-01-30 14:39:47,852 INFO L153 SettingsManager]: * Use memory slicer=true [2024-01-30 14:39:47,852 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-01-30 14:39:47,852 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-01-30 14:39:47,853 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-01-30 14:39:47,854 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-01-30 14:39:47,854 INFO L153 SettingsManager]: * Use SBE=true [2024-01-30 14:39:47,855 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-01-30 14:39:47,855 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-01-30 14:39:47,855 INFO L153 SettingsManager]: * sizeof long=4 [2024-01-30 14:39:47,855 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-01-30 14:39:47,855 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-01-30 14:39:47,856 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-01-30 14:39:47,856 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-01-30 14:39:47,856 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-01-30 14:39:47,856 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-01-30 14:39:47,857 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-01-30 14:39:47,857 INFO L153 SettingsManager]: * sizeof long double=12 [2024-01-30 14:39:47,857 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-01-30 14:39:47,857 INFO L153 SettingsManager]: * Use constant arrays=true [2024-01-30 14:39:47,857 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-01-30 14:39:47,858 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-01-30 14:39:47,858 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-01-30 14:39:47,859 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-01-30 14:39:47,859 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-01-30 14:39:47,859 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-01-30 14:39:47,859 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-01-30 14:39:47,859 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-01-30 14:39:47,859 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-01-30 14:39:47,860 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-01-30 14:39:47,860 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-01-30 14:39:47,860 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-01-30 14:39:47,860 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2024-01-30 14:39:47,860 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-01-30 14:39:47,861 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-01-30 14:39:47,861 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:39:48,095 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-01-30 14:39:48,117 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-01-30 14:39:48,140 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-01-30 14:39:48,141 INFO L270 PluginConnector]: Initializing Witness Parser... [2024-01-30 14:39:48,142 INFO L274 PluginConnector]: Witness Parser initialized [2024-01-30 14:39:48,143 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/race-3_2-container_of-global.yml/witness.yml [2024-01-30 14:39:48,238 INFO L270 PluginConnector]: Initializing CDTParser... [2024-01-30 14:39:48,240 INFO L274 PluginConnector]: CDTParser initialized [2024-01-30 14:39:48,240 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/ldv-races/race-3_2-container_of-global.i [2024-01-30 14:39:49,273 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-01-30 14:39:49,609 INFO L384 CDTParser]: Found 1 translation units. [2024-01-30 14:39:49,611 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/ldv-races/race-3_2-container_of-global.i [2024-01-30 14:39:49,645 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/6017663b4/ca633d3a5b4b43f282228e52447d652e/FLAG2bacc78c8 [2024-01-30 14:39:49,663 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/6017663b4/ca633d3a5b4b43f282228e52447d652e [2024-01-30 14:39:49,664 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-01-30 14:39:49,665 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2024-01-30 14:39:49,667 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-01-30 14:39:49,667 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-01-30 14:39:49,671 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-01-30 14:39:49,672 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 30.01 02:39:48" (1/2) ... [2024-01-30 14:39:49,673 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@38ba452c and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 30.01 02:39:49, skipping insertion in model container [2024-01-30 14:39:49,673 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 30.01 02:39:48" (1/2) ... [2024-01-30 14:39:49,674 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@3d4bf2d0 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 30.01 02:39:49, skipping insertion in model container [2024-01-30 14:39:49,674 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 30.01 02:39:49" (2/2) ... [2024-01-30 14:39:49,674 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@38ba452c and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.01 02:39:49, skipping insertion in model container [2024-01-30 14:39:49,675 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 30.01 02:39:49" (2/2) ... [2024-01-30 14:39:49,675 INFO L83 nessWitnessExtractor]: Extracting all invariants from correctness witness [2024-01-30 14:39:49,769 INFO L96 nessWitnessExtractor]: Found the following entries in the witness: [2024-01-30 14:39:49,771 INFO L98 nessWitnessExtractor]: Location invariant before [L3967-L3967] (ret == 0) && ((((((((((((1LL + (long long )probe_ret) + (long long )ret >= 0LL && (-1LL - (long long )probe_ret) + (long long )ret >= 0LL) && (1LL + (long long )probe_ret) - (long long )ret >= 0LL) && (-1LL - (long long )probe_ret) - (long long )ret >= 0LL) && -1 == data.shared.a) && -1 == data.shared.b) && my_dev == 0) && probe_ret == -1) && data.shared.a == -1) && data.shared.a == data.shared.b) && data.shared.b == -1) || (((((0LL - (long long )probe_ret) + (long long )ret >= 0LL && (long long )probe_ret + (long long )ret >= 0LL) && (0LL - (long long )probe_ret) - (long long )ret >= 0LL) && (long long )probe_ret - (long long )ret >= 0LL) && probe_ret == 0)) [2024-01-30 14:39:49,771 INFO L98 nessWitnessExtractor]: Location invariant before [L3913-L3913] (unsigned long )arg == 0UL [2024-01-30 14:39:49,771 INFO L98 nessWitnessExtractor]: Location invariant before [L3922-L3922] my_dev == 0 [2024-01-30 14:39:49,771 INFO L98 nessWitnessExtractor]: Location invariant before [L3911-L3911] (unsigned long )arg == 0UL [2024-01-30 14:39:49,771 INFO L98 nessWitnessExtractor]: Location invariant after [L3936-L3937] (((my_dev == 0) && (data->shared.a == 0)) && (data->shared.b == 0)) && (res != 0) [2024-01-30 14:39:49,772 INFO L98 nessWitnessExtractor]: Location invariant before [L3907-L3907] (unsigned long )arg == 0UL [2024-01-30 14:39:49,772 INFO L98 nessWitnessExtractor]: Location invariant before [L3947-L3947] my_dev == 0 [2024-01-30 14:39:49,772 INFO L98 nessWitnessExtractor]: Location invariant before [L3909-L3909] (unsigned long )arg == 0UL [2024-01-30 14:39:49,773 INFO L98 nessWitnessExtractor]: Location invariant before [L3926-L3926] ((my_dev == 0) && (data->shared.a == 0)) && (data->shared.b == 0) [2024-01-30 14:39:49,773 INFO L98 nessWitnessExtractor]: Location invariant after [L3940-L3945] (unsigned long )status == 0UL [2024-01-30 14:39:49,773 INFO L98 nessWitnessExtractor]: Location invariant before [L3928-L3929] ((my_dev == 0) && (data->shared.a == 0)) && (data->shared.b == 0) [2024-01-30 14:39:49,773 INFO L98 nessWitnessExtractor]: Location invariant before [L3925-L3925] (((((0 == data->shared.a) && (0 == data->shared.b)) && (my_dev == 0)) && (data->shared.a == 0)) && (data->shared.a == data->shared.b)) && (data->shared.b == 0) [2024-01-30 14:39:49,773 INFO L98 nessWitnessExtractor]: Location invariant before [L3969-L3969] (ret == 0) && ((((((((((((1LL + (long long )probe_ret) + (long long )ret >= 0LL && (-1LL - (long long )probe_ret) + (long long )ret >= 0LL) && (1LL + (long long )probe_ret) - (long long )ret >= 0LL) && (-1LL - (long long )probe_ret) - (long long )ret >= 0LL) && -1 == data.shared.a) && -1 == data.shared.b) && my_dev == 0) && probe_ret == -1) && data.shared.a == -1) && data.shared.a == data.shared.b) && data.shared.b == -1) || (((((0LL - (long long )probe_ret) + (long long )ret >= 0LL && (long long )probe_ret + (long long )ret >= 0LL) && (0LL - (long long )probe_ret) - (long long )ret >= 0LL) && (long long )probe_ret - (long long )ret >= 0LL) && probe_ret == 0)) [2024-01-30 14:39:49,773 INFO L98 nessWitnessExtractor]: Location invariant before [L3904-L3904] (unsigned long )arg == 0UL [2024-01-30 14:39:49,773 INFO L98 nessWitnessExtractor]: Location invariant before [L3960-L3960] ((((((0LL - (long long )probe_ret) + (long long )ret >= 0LL) && ((long long )probe_ret + (long long )ret >= 0LL)) && ((0LL - (long long )probe_ret) - (long long )ret >= 0LL)) && ((long long )probe_ret - (long long )ret >= 0LL)) && (ret == 0)) && (probe_ret == 0) [2024-01-30 14:39:49,773 INFO L98 nessWitnessExtractor]: Location invariant before [L3943-L3943] (unsigned long )status == 0UL [2024-01-30 14:39:49,774 INFO L98 nessWitnessExtractor]: Location invariant before [L3957-L3957] ((((((2147483648LL + (long long )probe_ret) + (long long )ret >= 0LL) && ((2147483647LL - (long long )probe_ret) + (long long )ret >= 0LL)) && ((2147483648LL + (long long )probe_ret) - (long long )ret >= 0LL)) && ((2147483647LL - (long long )probe_ret) - (long long )ret >= 0LL)) && (my_dev == 0)) && (ret == 0) [2024-01-30 14:39:49,774 INFO L98 nessWitnessExtractor]: Location invariant before [L3965-L3965] (ret == 0) && ((((((((((1LL + (long long )probe_ret) + (long long )ret >= 0LL && (-1LL - (long long )probe_ret) + (long long )ret >= 0LL) && (1LL + (long long )probe_ret) - (long long )ret >= 0LL) && (-1LL - (long long )probe_ret) - (long long )ret >= 0LL) && -1 == data.shared.a) && my_dev == 0) && probe_ret == -1) && data.shared.a == -1) && data.shared.b == 0) || (((((0LL - (long long )probe_ret) + (long long )ret >= 0LL && (long long )probe_ret + (long long )ret >= 0LL) && (0LL - (long long )probe_ret) - (long long )ret >= 0LL) && (long long )probe_ret - (long long )ret >= 0LL) && probe_ret == 0)) [2024-01-30 14:39:49,774 INFO L98 nessWitnessExtractor]: Location invariant before [L3959-L3959] ((((((0LL - (long long )probe_ret) + (long long )ret >= 0LL) && ((long long )probe_ret + (long long )ret >= 0LL)) && ((0LL - (long long )probe_ret) - (long long )ret >= 0LL)) && ((long long )probe_ret - (long long )ret >= 0LL)) && (ret == 0)) && (probe_ret == 0) [2024-01-30 14:39:49,774 INFO L98 nessWitnessExtractor]: Location invariant before [L3931-L3931] (((my_dev == 0) && (res == 0)) && (data->shared.a == 0)) && (data->shared.b == 0) [2024-01-30 14:39:49,774 INFO L98 nessWitnessExtractor]: Location invariant before [L3934-L3934] res == 0 [2024-01-30 14:39:49,774 INFO L98 nessWitnessExtractor]: Location invariant before [L3924-L3924] ((0 == data->shared.a) && (my_dev == 0)) && (data->shared.a == 0) [2024-01-30 14:39:49,775 INFO L98 nessWitnessExtractor]: Location invariant before [L3964-L3964] (ret == 0) && (((((((((1LL + (long long )probe_ret) + (long long )ret >= 0LL && (-1LL - (long long )probe_ret) + (long long )ret >= 0LL) && (1LL + (long long )probe_ret) - (long long )ret >= 0LL) && (-1LL - (long long )probe_ret) - (long long )ret >= 0LL) && my_dev == 0) && probe_ret == -1) && data.shared.a == 0) && data.shared.b == 0) || (((((0LL - (long long )probe_ret) + (long long )ret >= 0LL && (long long )probe_ret + (long long )ret >= 0LL) && (0LL - (long long )probe_ret) - (long long )ret >= 0LL) && (long long )probe_ret - (long long )ret >= 0LL) && probe_ret == 0)) [2024-01-30 14:39:49,775 INFO L98 nessWitnessExtractor]: Location invariant before [L3958-L3962] (ret == 0) && (((((((((1LL + (long long )probe_ret) + (long long )ret >= 0LL && (-1LL - (long long )probe_ret) + (long long )ret >= 0LL) && (1LL + (long long )probe_ret) - (long long )ret >= 0LL) && (-1LL - (long long )probe_ret) - (long long )ret >= 0LL) && my_dev == 0) && probe_ret == -1) && data.shared.a == 0) && data.shared.b == 0) || (((((0LL - (long long )probe_ret) + (long long )ret >= 0LL && (long long )probe_ret + (long long )ret >= 0LL) && (0LL - (long long )probe_ret) - (long long )ret >= 0LL) && (long long )probe_ret - (long long )ret >= 0LL) && probe_ret == 0)) [2024-01-30 14:39:49,775 INFO L98 nessWitnessExtractor]: Location invariant before [L3935-L3935] res == 0 [2024-01-30 14:39:49,775 INFO L98 nessWitnessExtractor]: Location invariant before [L3917-L3917] (unsigned long )arg == 0UL [2024-01-30 14:39:49,775 INFO L98 nessWitnessExtractor]: Location invariant before [L3927-L3927] ((my_dev == 0) && (data->shared.a == 0)) && (data->shared.b == 0) [2024-01-30 14:39:49,775 INFO L98 nessWitnessExtractor]: Location invariant before [L3910-L3910] (unsigned long )arg == 0UL [2024-01-30 14:39:49,775 INFO L98 nessWitnessExtractor]: Location invariant before [L3944-L3944] (unsigned long )status == 0UL [2024-01-30 14:39:49,776 INFO L98 nessWitnessExtractor]: Location invariant before [L3953-L3953] (((((4294967296LL + (long long )probe_ret) + (long long )ret >= 0LL) && ((4294967295LL - (long long )probe_ret) + (long long )ret >= 0LL)) && ((4294967295LL + (long long )probe_ret) - (long long )ret >= 0LL)) && ((4294967294LL - (long long )probe_ret) - (long long )ret >= 0LL)) && (my_dev == 0) [2024-01-30 14:39:49,776 INFO L98 nessWitnessExtractor]: Location invariant before [L3887-L3887] ((expression == 1) && ((expression == 1 && my_dev == 0) || ((0 <= expression && expression <= 1) && (expression == 0 || expression == 1)))) && (expression == 0) [2024-01-30 14:39:49,776 INFO L98 nessWitnessExtractor]: Location invariant before [L3954-L3968] ((((((2147483648LL + (long long )probe_ret) + (long long )ret >= 0LL) && ((2147483647LL - (long long )probe_ret) + (long long )ret >= 0LL)) && ((2147483648LL + (long long )probe_ret) - (long long )ret >= 0LL)) && ((2147483647LL - (long long )probe_ret) - (long long )ret >= 0LL)) && (my_dev == 0)) && (ret == 0) [2024-01-30 14:39:49,776 INFO L98 nessWitnessExtractor]: Location invariant before [L3915-L3915] (unsigned long )arg == 0UL [2024-01-30 14:39:49,776 INFO L98 nessWitnessExtractor]: Location invariant before [L3938-L3938] (((my_dev == 0) && (data->shared.a == 0)) && (data->shared.b == 0)) && (res != 0) [2024-01-30 14:39:49,776 INFO L98 nessWitnessExtractor]: Location invariant before [L3933-L3933] ((res == 0) && (data->shared.a == 0)) && (data->shared.b == 0) [2024-01-30 14:39:49,776 INFO L98 nessWitnessExtractor]: Location invariant before [L3966-L3966] (ret == 0) && ((((((((((((1LL + (long long )probe_ret) + (long long )ret >= 0LL && (-1LL - (long long )probe_ret) + (long long )ret >= 0LL) && (1LL + (long long )probe_ret) - (long long )ret >= 0LL) && (-1LL - (long long )probe_ret) - (long long )ret >= 0LL) && -1 == data.shared.a) && -1 == data.shared.b) && my_dev == 0) && probe_ret == -1) && data.shared.a == -1) && data.shared.a == data.shared.b) && data.shared.b == -1) || (((((0LL - (long long )probe_ret) + (long long )ret >= 0LL && (long long )probe_ret + (long long )ret >= 0LL) && (0LL - (long long )probe_ret) - (long long )ret >= 0LL) && (long long )probe_ret - (long long )ret >= 0LL) && probe_ret == 0)) [2024-01-30 14:39:49,777 INFO L98 nessWitnessExtractor]: Location invariant before [L3963-L3963] (ret == 0) && (((((((((1LL + (long long )probe_ret) + (long long )ret >= 0LL && (-1LL - (long long )probe_ret) + (long long )ret >= 0LL) && (1LL + (long long )probe_ret) - (long long )ret >= 0LL) && (-1LL - (long long )probe_ret) - (long long )ret >= 0LL) && my_dev == 0) && probe_ret == -1) && data.shared.a == 0) && data.shared.b == 0) || (((((0LL - (long long )probe_ret) + (long long )ret >= 0LL && (long long )probe_ret + (long long )ret >= 0LL) && (0LL - (long long )probe_ret) - (long long )ret >= 0LL) && (long long )probe_ret - (long long )ret >= 0LL) && probe_ret == 0)) [2024-01-30 14:39:49,777 INFO L98 nessWitnessExtractor]: Location invariant before [L3923-L3923] my_dev == 0 [2024-01-30 14:39:49,778 INFO L98 nessWitnessExtractor]: Location invariant before [L3961-L3961] ((((((0LL - (long long )probe_ret) + (long long )ret >= 0LL) && ((long long )probe_ret + (long long )ret >= 0LL)) && ((0LL - (long long )probe_ret) - (long long )ret >= 0LL)) && ((long long )probe_ret - (long long )ret >= 0LL)) && (ret == 0)) && (probe_ret == 0) [2024-01-30 14:39:49,778 INFO L98 nessWitnessExtractor]: Location invariant before [L3912-L3912] (unsigned long )arg == 0UL [2024-01-30 14:39:49,778 INFO L98 nessWitnessExtractor]: Location invariant before [L3908-L3908] (unsigned long )arg == 0UL [2024-01-30 14:39:49,778 INFO L98 nessWitnessExtractor]: Location invariant before [L3914-L3914] (unsigned long )arg == 0UL [2024-01-30 14:39:49,823 INFO L177 MainTranslator]: Built tables and reachable declarations [2024-01-30 14:39:50,159 WARN L239 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/ldv-races/race-3_2-container_of-global.i[186294,186307] [2024-01-30 14:39:50,195 INFO L209 PostProcessor]: Analyzing one entry point: main [2024-01-30 14:39:50,207 INFO L202 MainTranslator]: Completed pre-run [2024-01-30 14:39:50,252 WARN L239 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/ldv-races/race-3_2-container_of-global.i[186294,186307] [2024-01-30 14:39:50,252 WARN L424 MainDispatcher]: Unable to annotate void ldv_assert(int expression) { if (!expression) { ERROR: {reach_error();abort();}}; return; } with a witness entry Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local [2024-01-30 14:39:50,356 WARN L424 MainDispatcher]: Unable to annotate void my_drv_disconnect(struct my_data *data) { void *status; pthread_join(t1, &status); pthread_join(t2, &status); pthread_mutex_destroy(&data->lock); } with a witness entry Start Parsing Local Start Parsing Local [2024-01-30 14:39:50,359 ERROR L324 MainTranslator]: Incorrect Syntax: Undeclared variable in ACSL expression: probe_ret [2024-01-30 14:39:50,359 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@3d4bf2d0 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.01 02:39:50, skipping insertion in model container [2024-01-30 14:39:50,359 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-01-30 14:39:50,360 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.procedureinliner [2024-01-30 14:39:50,361 INFO L158 Benchmark]: Toolchain (without parser) took 695.79ms. Allocated memory is still 140.5MB. Free memory was 110.8MB in the beginning and 72.7MB in the end (delta: 38.1MB). Peak memory consumption was 37.7MB. Max. memory is 16.1GB. [2024-01-30 14:39:50,361 INFO L158 Benchmark]: Witness Parser took 0.14ms. Allocated memory is still 140.5MB. Free memory is still 117.5MB. There was no memory consumed. Max. memory is 16.1GB. [2024-01-30 14:39:50,362 INFO L158 Benchmark]: CDTParser took 0.14ms. Allocated memory is still 140.5MB. Free memory is still 111.2MB. There was no memory consumed. Max. memory is 16.1GB. [2024-01-30 14:39:50,362 INFO L158 Benchmark]: CACSL2BoogieTranslator took 692.53ms. Allocated memory is still 140.5MB. Free memory was 110.4MB in the beginning and 72.7MB in the end (delta: 37.8MB). Peak memory consumption was 37.7MB. Max. memory is 16.1GB. [2024-01-30 14:39:50,363 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 140.5MB. Free memory is still 117.5MB. There was no memory consumed. Max. memory is 16.1GB. * CDTParser took 0.14ms. Allocated memory is still 140.5MB. Free memory is still 111.2MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 692.53ms. Allocated memory is still 140.5MB. Free memory was 110.4MB in the beginning and 72.7MB in the end (delta: 37.8MB). Peak memory consumption was 37.7MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - SyntaxErrorResult [Line: 3953]: Incorrect Syntax Undeclared variable in ACSL expression: probe_ret 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/ldv-races/race-3_2-container_of-global.i ./goblint.2023-12-19_14-39-08.files/SV-COMP24_unreach-call/race-3_2-container_of-global.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:39:52,457 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-01-30 14:39:52,518 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Bitvector.epf [2024-01-30 14:39:52,521 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-01-30 14:39:52,522 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-01-30 14:39:52,544 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-01-30 14:39:52,545 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-01-30 14:39:52,545 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-01-30 14:39:52,546 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-01-30 14:39:52,546 INFO L153 SettingsManager]: * Use memory slicer=true [2024-01-30 14:39:52,546 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-01-30 14:39:52,547 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-01-30 14:39:52,547 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-01-30 14:39:52,547 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-01-30 14:39:52,548 INFO L153 SettingsManager]: * Use SBE=true [2024-01-30 14:39:52,548 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-01-30 14:39:52,548 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-01-30 14:39:52,549 INFO L153 SettingsManager]: * sizeof long=4 [2024-01-30 14:39:52,549 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-01-30 14:39:52,549 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-01-30 14:39:52,549 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-01-30 14:39:52,550 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-01-30 14:39:52,550 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-01-30 14:39:52,550 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-01-30 14:39:52,551 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-01-30 14:39:52,551 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-01-30 14:39:52,551 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-01-30 14:39:52,552 INFO L153 SettingsManager]: * sizeof long double=12 [2024-01-30 14:39:52,552 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-01-30 14:39:52,552 INFO L153 SettingsManager]: * Use constant arrays=true [2024-01-30 14:39:52,552 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-01-30 14:39:52,553 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-01-30 14:39:52,553 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-01-30 14:39:52,553 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-01-30 14:39:52,553 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-01-30 14:39:52,554 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-01-30 14:39:52,554 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-01-30 14:39:52,554 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-01-30 14:39:52,554 INFO L153 SettingsManager]: * Trace refinement strategy=WOLF [2024-01-30 14:39:52,555 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-01-30 14:39:52,555 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-01-30 14:39:52,555 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-01-30 14:39:52,556 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2024-01-30 14:39:52,556 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-01-30 14:39:52,556 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-01-30 14:39:52,556 INFO L153 SettingsManager]: * Logic for external solver=AUFBV [2024-01-30 14:39:52,556 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:39:52,824 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-01-30 14:39:52,842 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-01-30 14:39:52,844 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-01-30 14:39:52,845 INFO L270 PluginConnector]: Initializing Witness Parser... [2024-01-30 14:39:52,846 INFO L274 PluginConnector]: Witness Parser initialized [2024-01-30 14:39:52,847 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/race-3_2-container_of-global.yml/witness.yml [2024-01-30 14:39:53,004 INFO L270 PluginConnector]: Initializing CDTParser... [2024-01-30 14:39:53,004 INFO L274 PluginConnector]: CDTParser initialized [2024-01-30 14:39:53,005 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/ldv-races/race-3_2-container_of-global.i [2024-01-30 14:39:54,178 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-01-30 14:39:54,417 INFO L384 CDTParser]: Found 1 translation units. [2024-01-30 14:39:54,418 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/ldv-races/race-3_2-container_of-global.i [2024-01-30 14:39:54,462 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/062a7cec8/49178815b94b49fb8b5ce8ec3f7e4e53/FLAGa8004debc [2024-01-30 14:39:54,479 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/062a7cec8/49178815b94b49fb8b5ce8ec3f7e4e53 [2024-01-30 14:39:54,480 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-01-30 14:39:54,481 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2024-01-30 14:39:54,483 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-01-30 14:39:54,484 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-01-30 14:39:54,487 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-01-30 14:39:54,488 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 30.01 02:39:53" (1/2) ... [2024-01-30 14:39:54,489 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@6cd7759 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 30.01 02:39:54, skipping insertion in model container [2024-01-30 14:39:54,489 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 30.01 02:39:53" (1/2) ... [2024-01-30 14:39:54,490 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@458e5864 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 30.01 02:39:54, skipping insertion in model container [2024-01-30 14:39:54,490 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 30.01 02:39:54" (2/2) ... [2024-01-30 14:39:54,490 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@6cd7759 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.01 02:39:54, skipping insertion in model container [2024-01-30 14:39:54,491 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 30.01 02:39:54" (2/2) ... [2024-01-30 14:39:54,491 INFO L83 nessWitnessExtractor]: Extracting all invariants from correctness witness [2024-01-30 14:39:54,611 INFO L96 nessWitnessExtractor]: Found the following entries in the witness: [2024-01-30 14:39:54,612 INFO L98 nessWitnessExtractor]: Location invariant before [L3924-L3924] ((0 == data->shared.a) && (my_dev == 0)) && (data->shared.a == 0) [2024-01-30 14:39:54,612 INFO L98 nessWitnessExtractor]: Location invariant before [L3925-L3925] (((((0 == data->shared.a) && (0 == data->shared.b)) && (my_dev == 0)) && (data->shared.a == 0)) && (data->shared.a == data->shared.b)) && (data->shared.b == 0) [2024-01-30 14:39:54,612 INFO L98 nessWitnessExtractor]: Location invariant before [L3961-L3961] ((((((0LL - (long long )probe_ret) + (long long )ret >= 0LL) && ((long long )probe_ret + (long long )ret >= 0LL)) && ((0LL - (long long )probe_ret) - (long long )ret >= 0LL)) && ((long long )probe_ret - (long long )ret >= 0LL)) && (ret == 0)) && (probe_ret == 0) [2024-01-30 14:39:54,612 INFO L98 nessWitnessExtractor]: Location invariant before [L3904-L3904] (unsigned long )arg == 0UL [2024-01-30 14:39:54,612 INFO L98 nessWitnessExtractor]: Location invariant before [L3953-L3953] (((((4294967296LL + (long long )probe_ret) + (long long )ret >= 0LL) && ((4294967295LL - (long long )probe_ret) + (long long )ret >= 0LL)) && ((4294967295LL + (long long )probe_ret) - (long long )ret >= 0LL)) && ((4294967294LL - (long long )probe_ret) - (long long )ret >= 0LL)) && (my_dev == 0) [2024-01-30 14:39:54,612 INFO L98 nessWitnessExtractor]: Location invariant before [L3922-L3922] my_dev == 0 [2024-01-30 14:39:54,612 INFO L98 nessWitnessExtractor]: Location invariant before [L3958-L3962] (ret == 0) && (((((((((1LL + (long long )probe_ret) + (long long )ret >= 0LL && (-1LL - (long long )probe_ret) + (long long )ret >= 0LL) && (1LL + (long long )probe_ret) - (long long )ret >= 0LL) && (-1LL - (long long )probe_ret) - (long long )ret >= 0LL) && my_dev == 0) && probe_ret == -1) && data.shared.a == 0) && data.shared.b == 0) || (((((0LL - (long long )probe_ret) + (long long )ret >= 0LL && (long long )probe_ret + (long long )ret >= 0LL) && (0LL - (long long )probe_ret) - (long long )ret >= 0LL) && (long long )probe_ret - (long long )ret >= 0LL) && probe_ret == 0)) [2024-01-30 14:39:54,613 INFO L98 nessWitnessExtractor]: Location invariant before [L3943-L3943] (unsigned long )status == 0UL [2024-01-30 14:39:54,613 INFO L98 nessWitnessExtractor]: Location invariant before [L3944-L3944] (unsigned long )status == 0UL [2024-01-30 14:39:54,613 INFO L98 nessWitnessExtractor]: Location invariant before [L3933-L3933] ((res == 0) && (data->shared.a == 0)) && (data->shared.b == 0) [2024-01-30 14:39:54,613 INFO L98 nessWitnessExtractor]: Location invariant before [L3957-L3957] ((((((2147483648LL + (long long )probe_ret) + (long long )ret >= 0LL) && ((2147483647LL - (long long )probe_ret) + (long long )ret >= 0LL)) && ((2147483648LL + (long long )probe_ret) - (long long )ret >= 0LL)) && ((2147483647LL - (long long )probe_ret) - (long long )ret >= 0LL)) && (my_dev == 0)) && (ret == 0) [2024-01-30 14:39:54,613 INFO L98 nessWitnessExtractor]: Location invariant before [L3913-L3913] (unsigned long )arg == 0UL [2024-01-30 14:39:54,613 INFO L98 nessWitnessExtractor]: Location invariant before [L3910-L3910] (unsigned long )arg == 0UL [2024-01-30 14:39:54,613 INFO L98 nessWitnessExtractor]: Location invariant before [L3927-L3927] ((my_dev == 0) && (data->shared.a == 0)) && (data->shared.b == 0) [2024-01-30 14:39:54,613 INFO L98 nessWitnessExtractor]: Location invariant before [L3934-L3934] res == 0 [2024-01-30 14:39:54,614 INFO L98 nessWitnessExtractor]: Location invariant before [L3935-L3935] res == 0 [2024-01-30 14:39:54,614 INFO L98 nessWitnessExtractor]: Location invariant before [L3926-L3926] ((my_dev == 0) && (data->shared.a == 0)) && (data->shared.b == 0) [2024-01-30 14:39:54,614 INFO L98 nessWitnessExtractor]: Location invariant after [L3940-L3945] (unsigned long )status == 0UL [2024-01-30 14:39:54,615 INFO L98 nessWitnessExtractor]: Location invariant before [L3907-L3907] (unsigned long )arg == 0UL [2024-01-30 14:39:54,615 INFO L98 nessWitnessExtractor]: Location invariant before [L3965-L3965] (ret == 0) && ((((((((((1LL + (long long )probe_ret) + (long long )ret >= 0LL && (-1LL - (long long )probe_ret) + (long long )ret >= 0LL) && (1LL + (long long )probe_ret) - (long long )ret >= 0LL) && (-1LL - (long long )probe_ret) - (long long )ret >= 0LL) && -1 == data.shared.a) && my_dev == 0) && probe_ret == -1) && data.shared.a == -1) && data.shared.b == 0) || (((((0LL - (long long )probe_ret) + (long long )ret >= 0LL && (long long )probe_ret + (long long )ret >= 0LL) && (0LL - (long long )probe_ret) - (long long )ret >= 0LL) && (long long )probe_ret - (long long )ret >= 0LL) && probe_ret == 0)) [2024-01-30 14:39:54,615 INFO L98 nessWitnessExtractor]: Location invariant before [L3912-L3912] (unsigned long )arg == 0UL [2024-01-30 14:39:54,615 INFO L98 nessWitnessExtractor]: Location invariant before [L3909-L3909] (unsigned long )arg == 0UL [2024-01-30 14:39:54,615 INFO L98 nessWitnessExtractor]: Location invariant before [L3954-L3968] ((((((2147483648LL + (long long )probe_ret) + (long long )ret >= 0LL) && ((2147483647LL - (long long )probe_ret) + (long long )ret >= 0LL)) && ((2147483648LL + (long long )probe_ret) - (long long )ret >= 0LL)) && ((2147483647LL - (long long )probe_ret) - (long long )ret >= 0LL)) && (my_dev == 0)) && (ret == 0) [2024-01-30 14:39:54,615 INFO L98 nessWitnessExtractor]: Location invariant before [L3887-L3887] ((expression == 1) && ((expression == 1 && my_dev == 0) || ((0 <= expression && expression <= 1) && (expression == 0 || expression == 1)))) && (expression == 0) [2024-01-30 14:39:54,615 INFO L98 nessWitnessExtractor]: Location invariant before [L3959-L3959] ((((((0LL - (long long )probe_ret) + (long long )ret >= 0LL) && ((long long )probe_ret + (long long )ret >= 0LL)) && ((0LL - (long long )probe_ret) - (long long )ret >= 0LL)) && ((long long )probe_ret - (long long )ret >= 0LL)) && (ret == 0)) && (probe_ret == 0) [2024-01-30 14:39:54,616 INFO L98 nessWitnessExtractor]: Location invariant before [L3928-L3929] ((my_dev == 0) && (data->shared.a == 0)) && (data->shared.b == 0) [2024-01-30 14:39:54,616 INFO L98 nessWitnessExtractor]: Location invariant before [L3969-L3969] (ret == 0) && ((((((((((((1LL + (long long )probe_ret) + (long long )ret >= 0LL && (-1LL - (long long )probe_ret) + (long long )ret >= 0LL) && (1LL + (long long )probe_ret) - (long long )ret >= 0LL) && (-1LL - (long long )probe_ret) - (long long )ret >= 0LL) && -1 == data.shared.a) && -1 == data.shared.b) && my_dev == 0) && probe_ret == -1) && data.shared.a == -1) && data.shared.a == data.shared.b) && data.shared.b == -1) || (((((0LL - (long long )probe_ret) + (long long )ret >= 0LL && (long long )probe_ret + (long long )ret >= 0LL) && (0LL - (long long )probe_ret) - (long long )ret >= 0LL) && (long long )probe_ret - (long long )ret >= 0LL) && probe_ret == 0)) [2024-01-30 14:39:54,616 INFO L98 nessWitnessExtractor]: Location invariant before [L3917-L3917] (unsigned long )arg == 0UL [2024-01-30 14:39:54,616 INFO L98 nessWitnessExtractor]: Location invariant before [L3963-L3963] (ret == 0) && (((((((((1LL + (long long )probe_ret) + (long long )ret >= 0LL && (-1LL - (long long )probe_ret) + (long long )ret >= 0LL) && (1LL + (long long )probe_ret) - (long long )ret >= 0LL) && (-1LL - (long long )probe_ret) - (long long )ret >= 0LL) && my_dev == 0) && probe_ret == -1) && data.shared.a == 0) && data.shared.b == 0) || (((((0LL - (long long )probe_ret) + (long long )ret >= 0LL && (long long )probe_ret + (long long )ret >= 0LL) && (0LL - (long long )probe_ret) - (long long )ret >= 0LL) && (long long )probe_ret - (long long )ret >= 0LL) && probe_ret == 0)) [2024-01-30 14:39:54,616 INFO L98 nessWitnessExtractor]: Location invariant before [L3964-L3964] (ret == 0) && (((((((((1LL + (long long )probe_ret) + (long long )ret >= 0LL && (-1LL - (long long )probe_ret) + (long long )ret >= 0LL) && (1LL + (long long )probe_ret) - (long long )ret >= 0LL) && (-1LL - (long long )probe_ret) - (long long )ret >= 0LL) && my_dev == 0) && probe_ret == -1) && data.shared.a == 0) && data.shared.b == 0) || (((((0LL - (long long )probe_ret) + (long long )ret >= 0LL && (long long )probe_ret + (long long )ret >= 0LL) && (0LL - (long long )probe_ret) - (long long )ret >= 0LL) && (long long )probe_ret - (long long )ret >= 0LL) && probe_ret == 0)) [2024-01-30 14:39:54,616 INFO L98 nessWitnessExtractor]: Location invariant before [L3908-L3908] (unsigned long )arg == 0UL [2024-01-30 14:39:54,616 INFO L98 nessWitnessExtractor]: Location invariant after [L3936-L3937] (((my_dev == 0) && (data->shared.a == 0)) && (data->shared.b == 0)) && (res != 0) [2024-01-30 14:39:54,617 INFO L98 nessWitnessExtractor]: Location invariant before [L3914-L3914] (unsigned long )arg == 0UL [2024-01-30 14:39:54,617 INFO L98 nessWitnessExtractor]: Location invariant before [L3947-L3947] my_dev == 0 [2024-01-30 14:39:54,618 INFO L98 nessWitnessExtractor]: Location invariant before [L3938-L3938] (((my_dev == 0) && (data->shared.a == 0)) && (data->shared.b == 0)) && (res != 0) [2024-01-30 14:39:54,618 INFO L98 nessWitnessExtractor]: Location invariant before [L3967-L3967] (ret == 0) && ((((((((((((1LL + (long long )probe_ret) + (long long )ret >= 0LL && (-1LL - (long long )probe_ret) + (long long )ret >= 0LL) && (1LL + (long long )probe_ret) - (long long )ret >= 0LL) && (-1LL - (long long )probe_ret) - (long long )ret >= 0LL) && -1 == data.shared.a) && -1 == data.shared.b) && my_dev == 0) && probe_ret == -1) && data.shared.a == -1) && data.shared.a == data.shared.b) && data.shared.b == -1) || (((((0LL - (long long )probe_ret) + (long long )ret >= 0LL && (long long )probe_ret + (long long )ret >= 0LL) && (0LL - (long long )probe_ret) - (long long )ret >= 0LL) && (long long )probe_ret - (long long )ret >= 0LL) && probe_ret == 0)) [2024-01-30 14:39:54,619 INFO L98 nessWitnessExtractor]: Location invariant before [L3911-L3911] (unsigned long )arg == 0UL [2024-01-30 14:39:54,619 INFO L98 nessWitnessExtractor]: Location invariant before [L3931-L3931] (((my_dev == 0) && (res == 0)) && (data->shared.a == 0)) && (data->shared.b == 0) [2024-01-30 14:39:54,619 INFO L98 nessWitnessExtractor]: Location invariant before [L3923-L3923] my_dev == 0 [2024-01-30 14:39:54,619 INFO L98 nessWitnessExtractor]: Location invariant before [L3960-L3960] ((((((0LL - (long long )probe_ret) + (long long )ret >= 0LL) && ((long long )probe_ret + (long long )ret >= 0LL)) && ((0LL - (long long )probe_ret) - (long long )ret >= 0LL)) && ((long long )probe_ret - (long long )ret >= 0LL)) && (ret == 0)) && (probe_ret == 0) [2024-01-30 14:39:54,619 INFO L98 nessWitnessExtractor]: Location invariant before [L3915-L3915] (unsigned long )arg == 0UL [2024-01-30 14:39:54,619 INFO L98 nessWitnessExtractor]: Location invariant before [L3966-L3966] (ret == 0) && ((((((((((((1LL + (long long )probe_ret) + (long long )ret >= 0LL && (-1LL - (long long )probe_ret) + (long long )ret >= 0LL) && (1LL + (long long )probe_ret) - (long long )ret >= 0LL) && (-1LL - (long long )probe_ret) - (long long )ret >= 0LL) && -1 == data.shared.a) && -1 == data.shared.b) && my_dev == 0) && probe_ret == -1) && data.shared.a == -1) && data.shared.a == data.shared.b) && data.shared.b == -1) || (((((0LL - (long long )probe_ret) + (long long )ret >= 0LL && (long long )probe_ret + (long long )ret >= 0LL) && (0LL - (long long )probe_ret) - (long long )ret >= 0LL) && (long long )probe_ret - (long long )ret >= 0LL) && probe_ret == 0)) [2024-01-30 14:39:54,690 INFO L177 MainTranslator]: Built tables and reachable declarations [2024-01-30 14:39:54,990 WARN L239 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/ldv-races/race-3_2-container_of-global.i[186294,186307] [2024-01-30 14:39:55,026 INFO L209 PostProcessor]: Analyzing one entry point: main [2024-01-30 14:39:55,035 INFO L199 MainTranslator]: Restarting translation with changed settings: SettingsChange [mNewPreferredMemoryModel=HoenickeLindenmann_1ByteResolution] [2024-01-30 14:39:55,055 INFO L177 MainTranslator]: Built tables and reachable declarations [2024-01-30 14:39:55,071 WARN L239 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/ldv-races/race-3_2-container_of-global.i[186294,186307] [2024-01-30 14:39:55,078 INFO L209 PostProcessor]: Analyzing one entry point: main [2024-01-30 14:39:55,081 INFO L202 MainTranslator]: Completed pre-run [2024-01-30 14:39:55,115 WARN L239 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/ldv-races/race-3_2-container_of-global.i[186294,186307] [2024-01-30 14:39:55,116 WARN L424 MainDispatcher]: Unable to annotate void ldv_assert(int expression) { if (!expression) { ERROR: {reach_error();abort();}}; return; } with a witness entry Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local [2024-01-30 14:39:55,252 WARN L424 MainDispatcher]: Unable to annotate void my_drv_disconnect(struct my_data *data) { void *status; pthread_join(t1, &status); pthread_join(t2, &status); pthread_mutex_destroy(&data->lock); } with a witness entry Start Parsing Local Start Parsing Local [2024-01-30 14:39:55,255 ERROR L324 MainTranslator]: Incorrect Syntax: Undeclared variable in ACSL expression: probe_ret [2024-01-30 14:39:55,255 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@458e5864 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.01 02:39:55, skipping insertion in model container [2024-01-30 14:39:55,255 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-01-30 14:39:55,256 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.procedureinliner [2024-01-30 14:39:55,257 INFO L158 Benchmark]: Toolchain (without parser) took 775.12ms. Allocated memory was 60.8MB in the beginning and 73.4MB in the end (delta: 12.6MB). Free memory was 34.6MB in the beginning and 36.5MB in the end (delta: -1.8MB). Peak memory consumption was 16.3MB. Max. memory is 16.1GB. [2024-01-30 14:39:55,257 INFO L158 Benchmark]: Witness Parser took 0.18ms. Allocated memory is still 50.3MB. Free memory was 26.9MB in the beginning and 26.8MB in the end (delta: 38.0kB). There was no memory consumed. Max. memory is 16.1GB. [2024-01-30 14:39:55,258 INFO L158 Benchmark]: CDTParser took 0.12ms. Allocated memory is still 50.3MB. Free memory is still 34.5MB. There was no memory consumed. Max. memory is 16.1GB. [2024-01-30 14:39:55,258 INFO L158 Benchmark]: CACSL2BoogieTranslator took 772.05ms. Allocated memory was 60.8MB in the beginning and 73.4MB in the end (delta: 12.6MB). Free memory was 34.4MB in the beginning and 36.5MB in the end (delta: -2.0MB). Peak memory consumption was 16.3MB. Max. memory is 16.1GB. [2024-01-30 14:39:55,259 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.18ms. Allocated memory is still 50.3MB. Free memory was 26.9MB in the beginning and 26.8MB in the end (delta: 38.0kB). There was no memory consumed. Max. memory is 16.1GB. * CDTParser took 0.12ms. Allocated memory is still 50.3MB. Free memory is still 34.5MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 772.05ms. Allocated memory was 60.8MB in the beginning and 73.4MB in the end (delta: 12.6MB). Free memory was 34.4MB in the beginning and 36.5MB in the end (delta: -2.0MB). Peak memory consumption was 16.3MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - SyntaxErrorResult [Line: 3953]: Incorrect Syntax Undeclared variable in ACSL expression: probe_ret 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