./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/unreach-call.prp --file ../../../trunk/examples/svcomp/pthread/triangular-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/triangular-2.yml/witness.yml --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version 59af5db6 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/triangular-2.i ./goblint.2023-12-19_14-39-08.files/SV-COMP24_unreach-call/triangular-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-59af5db-m [2024-02-02 09:23:02,955 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-02-02 09:23:03,022 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Default.epf [2024-02-02 09:23:03,027 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-02-02 09:23:03,028 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-02-02 09:23:03,051 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-02-02 09:23:03,052 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-02-02 09:23:03,052 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-02-02 09:23:03,053 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-02-02 09:23:03,056 INFO L153 SettingsManager]: * Use memory slicer=true [2024-02-02 09:23:03,056 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-02-02 09:23:03,057 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-02-02 09:23:03,058 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-02-02 09:23:03,059 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-02-02 09:23:03,059 INFO L153 SettingsManager]: * Use SBE=true [2024-02-02 09:23:03,059 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-02-02 09:23:03,059 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-02-02 09:23:03,060 INFO L153 SettingsManager]: * sizeof long=4 [2024-02-02 09:23:03,060 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-02-02 09:23:03,060 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-02-02 09:23:03,060 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-02-02 09:23:03,061 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-02-02 09:23:03,061 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-02-02 09:23:03,061 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-02-02 09:23:03,061 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-02-02 09:23:03,062 INFO L153 SettingsManager]: * sizeof long double=12 [2024-02-02 09:23:03,062 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-02-02 09:23:03,062 INFO L153 SettingsManager]: * Use constant arrays=true [2024-02-02 09:23:03,063 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-02-02 09:23:03,063 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-02-02 09:23:03,064 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-02-02 09:23:03,064 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-02-02 09:23:03,064 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-02-02 09:23:03,064 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-02-02 09:23:03,065 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-02-02 09:23:03,065 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-02-02 09:23:03,065 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-02-02 09:23:03,065 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-02-02 09:23:03,065 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-02-02 09:23:03,066 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-02-02 09:23:03,066 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2024-02-02 09:23:03,066 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-02-02 09:23:03,066 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-02-02 09:23:03,066 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-02-02 09:23:03,284 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-02-02 09:23:03,305 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-02-02 09:23:03,307 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-02-02 09:23:03,308 INFO L270 PluginConnector]: Initializing Witness Parser... [2024-02-02 09:23:03,308 INFO L274 PluginConnector]: Witness Parser initialized [2024-02-02 09:23:03,309 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/triangular-2.yml/witness.yml [2024-02-02 09:23:03,516 INFO L270 PluginConnector]: Initializing CDTParser... [2024-02-02 09:23:03,521 INFO L274 PluginConnector]: CDTParser initialized [2024-02-02 09:23:03,521 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/pthread/triangular-2.i [2024-02-02 09:23:04,556 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-02-02 09:23:04,789 INFO L384 CDTParser]: Found 1 translation units. [2024-02-02 09:23:04,790 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread/triangular-2.i [2024-02-02 09:23:04,805 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/6ff182c68/af6b4a407cb143bb81f2901e2b1d231a/FLAGbbb8bf368 [2024-02-02 09:23:04,815 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/6ff182c68/af6b4a407cb143bb81f2901e2b1d231a [2024-02-02 09:23:04,815 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-02-02 09:23:04,816 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2024-02-02 09:23:04,819 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-02-02 09:23:04,819 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-02-02 09:23:04,823 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-02-02 09:23:04,823 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 02.02 09:23:03" (1/2) ... [2024-02-02 09:23:04,824 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@264947e5 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 02.02 09:23:04, skipping insertion in model container [2024-02-02 09:23:04,824 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 02.02 09:23:03" (1/2) ... [2024-02-02 09:23:04,826 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@27bb7fae and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 02.02 09:23:04, skipping insertion in model container [2024-02-02 09:23:04,826 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 02.02 09:23:04" (2/2) ... [2024-02-02 09:23:04,826 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@264947e5 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.02 09:23:04, skipping insertion in model container [2024-02-02 09:23:04,827 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 02.02 09:23:04" (2/2) ... [2024-02-02 09:23:04,827 INFO L86 nessWitnessExtractor]: Extracting all invariants from correctness witness [2024-02-02 09:23:04,897 INFO L99 nessWitnessExtractor]: Found the following entries in the witness: [2024-02-02 09:23:04,898 INFO L101 nessWitnessExtractor]: Location invariant before [L714-L714] ((((4294967296LL + (long long )condI) + (long long )condJ >= 0LL) && ((4294967295LL - (long long )condI) + (long long )condJ >= 0LL)) && ((4294967295LL + (long long )condI) - (long long )condJ >= 0LL)) && ((4294967294LL - (long long )condI) - (long long )condJ >= 0LL) [2024-02-02 09:23:04,898 INFO L101 nessWitnessExtractor]: Location invariant before [L699-L699] (((((4 <= j) && (5 <= i)) && (i % 2 == 1)) && (j % 2 == 0)) && ((unsigned long )arg == 0UL)) && ((((k == 4 || k == 3) || k == 2) || k == 1) || (0 == k && k == 0)) [2024-02-02 09:23:04,898 INFO L101 nessWitnessExtractor]: Location invariant before [L715-L715] ((((4294967296LL + (long long )condI) + (long long )condJ >= 0LL) && ((4294967295LL - (long long )condI) + (long long )condJ >= 0LL)) && ((4294967295LL + (long long )condI) - (long long )condJ >= 0LL)) && ((4294967294LL - (long long )condI) - (long long )condJ >= 0LL) [2024-02-02 09:23:04,899 INFO L101 nessWitnessExtractor]: Location invariant before [L713-L713] ((((((4294967296LL + (long long )condI) + (long long )condJ >= 0LL) && ((4294967295LL - (long long )condI) + (long long )condJ >= 0LL)) && ((4294967295LL + (long long )condI) - (long long )condJ >= 0LL)) && ((4294967294LL - (long long )condI) - (long long )condJ >= 0LL)) && (i == 3)) && (j == 6) [2024-02-02 09:23:04,899 INFO L101 nessWitnessExtractor]: Location invariant before [L724-L724] ((((((0LL - (long long )condI) + (long long )condJ >= 0LL) && ((long long )condI + (long long )condJ >= 0LL)) && ((0LL - (long long )condI) - (long long )condJ >= 0LL)) && ((long long )condI - (long long )condJ >= 0LL)) && (condI == 0)) && (condJ == 0) [2024-02-02 09:23:04,899 INFO L101 nessWitnessExtractor]: Location invariant before [L706-L706] (((((3 <= i) && (4 <= j)) && (i % 2 == 1)) && (j % 2 == 0)) && ((unsigned long )arg == 0UL)) && ((((k == 4 || k == 3) || k == 2) || k == 1) || (0 == k && k == 0)) [2024-02-02 09:23:04,900 INFO L101 nessWitnessExtractor]: Location invariant before [L705-L705] ((unsigned long )arg == 0UL) && ((((k == 4 || k == 3) || k == 2) || k == 1) || (0 == k && k == 0)) [2024-02-02 09:23:04,900 INFO L101 nessWitnessExtractor]: Location invariant before [L722-L722] (((((0 <= condI) && (0 <= condJ)) && (condI <= 1)) && (condJ <= 1)) && (condI == 0 || condI == 1)) && (condJ == 0 || condJ == 1) [2024-02-02 09:23:04,900 INFO L101 nessWitnessExtractor]: Loop invariant at [L696-L700] ((unsigned long )arg == 0UL) && (((((k == 5 || k == 4) || k == 3) || k == 2) || k == 1) || (0 == k && k == 0)) [2024-02-02 09:23:04,900 INFO L101 nessWitnessExtractor]: Location invariant before [L707-L707] (((((3 <= i) && (4 <= j)) && (i % 2 == 1)) && (j % 2 == 0)) && ((unsigned long )arg == 0UL)) && ((((k == 4 || k == 3) || k == 2) || k == 1) || (0 == k && k == 0)) [2024-02-02 09:23:04,900 INFO L101 nessWitnessExtractor]: Location invariant before [L701-L701] (k == 5) && ((unsigned long )arg == 0UL) [2024-02-02 09:23:04,900 INFO L101 nessWitnessExtractor]: Location invariant before [L709-L709] (k == 5) && ((unsigned long )arg == 0UL) [2024-02-02 09:23:04,900 INFO L101 nessWitnessExtractor]: Location invariant before [L718-L718] ((0 <= condI) && (condI <= 1)) && (condI == 0 || condI == 1) [2024-02-02 09:23:04,900 INFO L101 nessWitnessExtractor]: Location invariant before [L698-L698] (((((3 <= i) && (4 <= j)) && (i % 2 == 1)) && (j % 2 == 0)) && ((unsigned long )arg == 0UL)) && ((((k == 4 || k == 3) || k == 2) || k == 1) || (0 == k && k == 0)) [2024-02-02 09:23:04,901 INFO L101 nessWitnessExtractor]: Location invariant before [L720-L720] (((((((((0 <= condI) && (0 <= condJ)) && (3 <= i)) && (4 <= j)) && (condI <= 1)) && (condJ <= 1)) && (i % 2 == 1)) && (j % 2 == 0)) && (condI == 0 || condI == 1)) && (condJ == 0 || condJ == 1) [2024-02-02 09:23:04,901 INFO L101 nessWitnessExtractor]: Loop invariant at [L704-L708] ((unsigned long )arg == 0UL) && (((((k == 5 || k == 4) || k == 3) || k == 2) || k == 1) || (0 == k && k == 0)) [2024-02-02 09:23:04,901 INFO L101 nessWitnessExtractor]: Location invariant before [L717-L717] ((((((0 <= condI) && (3 <= i)) && (4 <= j)) && (condI <= 1)) && (i % 2 == 1)) && (j % 2 == 0)) && (condI == 0 || condI == 1) [2024-02-02 09:23:04,901 INFO L101 nessWitnessExtractor]: Location invariant before [L697-L697] ((unsigned long )arg == 0UL) && ((((k == 4 || k == 3) || k == 2) || k == 1) || (0 == k && k == 0)) [2024-02-02 09:23:04,901 INFO L101 nessWitnessExtractor]: Location invariant before [L721-L723] (((0 <= condJ) && (condJ <= 1)) && (condI == 0 || ((0 <= condI && condI <= 1) && (condI == 0 || condI == 1)))) && (condJ == 0 || condJ == 1) [2024-02-02 09:23:04,901 INFO L101 nessWitnessExtractor]: Location invariant before [L719-L719] ((((((0 <= condI) && (3 <= i)) && (4 <= j)) && (condI <= 1)) && (i % 2 == 1)) && (j % 2 == 0)) && (condI == 0 || condI == 1) [2024-02-02 09:23:04,901 INFO L101 nessWitnessExtractor]: Location invariant before [L716-L716] (((((((3 <= i) && (4 <= j)) && ((4294967296LL + (long long )condI) + (long long )condJ >= 0LL)) && ((4294967295LL - (long long )condI) + (long long )condJ >= 0LL)) && ((4294967295LL + (long long )condI) - (long long )condJ >= 0LL)) && ((4294967294LL - (long long )condI) - (long long )condJ >= 0LL)) && (i % 2 == 1)) && (j % 2 == 0) [2024-02-02 09:23:04,938 INFO L177 MainTranslator]: Built tables and reachable declarations [2024-02-02 09:23:05,244 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/triangular-2.i[30952,30965] [2024-02-02 09:23:05,248 INFO L209 PostProcessor]: Analyzing one entry point: main [2024-02-02 09:23:05,253 INFO L202 MainTranslator]: Completed pre-run Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local [2024-02-02 09:23:05,320 ERROR L324 MainTranslator]: Incorrect Syntax: Undeclared variable in ACSL expression: k [2024-02-02 09:23:05,321 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@27bb7fae and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.02 09:23:05, skipping insertion in model container [2024-02-02 09:23:05,321 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-02-02 09:23:05,321 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.procedureinliner [2024-02-02 09:23:05,322 INFO L158 Benchmark]: Toolchain (without parser) took 505.29ms. Allocated memory is still 182.5MB. Free memory was 105.9MB in the beginning and 148.5MB in the end (delta: -42.7MB). Peak memory consumption was 17.4MB. Max. memory is 16.1GB. [2024-02-02 09:23:05,323 INFO L158 Benchmark]: Witness Parser took 0.16ms. Allocated memory is still 182.5MB. Free memory is still 140.7MB. There was no memory consumed. Max. memory is 16.1GB. [2024-02-02 09:23:05,323 INFO L158 Benchmark]: CDTParser took 0.14ms. Allocated memory is still 182.5MB. Free memory is still 152.9MB. There was no memory consumed. Max. memory is 16.1GB. [2024-02-02 09:23:05,324 INFO L158 Benchmark]: CACSL2BoogieTranslator took 501.93ms. Allocated memory is still 182.5MB. Free memory was 105.7MB in the beginning and 148.5MB in the end (delta: -42.9MB). Peak memory consumption was 17.4MB. Max. memory is 16.1GB. [2024-02-02 09:23:05,325 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.16ms. Allocated memory is still 182.5MB. Free memory is still 140.7MB. There was no memory consumed. Max. memory is 16.1GB. * CDTParser took 0.14ms. Allocated memory is still 182.5MB. Free memory is still 152.9MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 501.93ms. Allocated memory is still 182.5MB. Free memory was 105.7MB in the beginning and 148.5MB in the end (delta: -42.9MB). Peak memory consumption was 17.4MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - SyntaxErrorResult [Line: 701]: Incorrect Syntax Undeclared variable in ACSL expression: k 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/triangular-2.i ./goblint.2023-12-19_14-39-08.files/SV-COMP24_unreach-call/triangular-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-59af5db-m [2024-02-02 09:23:07,229 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-02-02 09:23:07,302 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Bitvector.epf [2024-02-02 09:23:07,307 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-02-02 09:23:07,307 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-02-02 09:23:07,340 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-02-02 09:23:07,341 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-02-02 09:23:07,341 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-02-02 09:23:07,342 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-02-02 09:23:07,345 INFO L153 SettingsManager]: * Use memory slicer=true [2024-02-02 09:23:07,345 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-02-02 09:23:07,345 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-02-02 09:23:07,346 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-02-02 09:23:07,347 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-02-02 09:23:07,347 INFO L153 SettingsManager]: * Use SBE=true [2024-02-02 09:23:07,348 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-02-02 09:23:07,348 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-02-02 09:23:07,348 INFO L153 SettingsManager]: * sizeof long=4 [2024-02-02 09:23:07,348 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-02-02 09:23:07,349 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-02-02 09:23:07,349 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-02-02 09:23:07,349 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-02-02 09:23:07,350 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-02-02 09:23:07,350 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-02-02 09:23:07,350 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-02-02 09:23:07,350 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-02-02 09:23:07,350 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-02-02 09:23:07,351 INFO L153 SettingsManager]: * sizeof long double=12 [2024-02-02 09:23:07,351 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-02-02 09:23:07,351 INFO L153 SettingsManager]: * Use constant arrays=true [2024-02-02 09:23:07,352 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-02-02 09:23:07,352 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-02-02 09:23:07,352 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-02-02 09:23:07,353 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-02-02 09:23:07,353 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-02-02 09:23:07,353 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-02-02 09:23:07,354 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-02-02 09:23:07,354 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-02-02 09:23:07,354 INFO L153 SettingsManager]: * Trace refinement strategy=WOLF [2024-02-02 09:23:07,354 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-02-02 09:23:07,354 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-02-02 09:23:07,354 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-02-02 09:23:07,355 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2024-02-02 09:23:07,355 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-02-02 09:23:07,355 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-02-02 09:23:07,355 INFO L153 SettingsManager]: * Logic for external solver=AUFBV [2024-02-02 09:23:07,355 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-02-02 09:23:07,636 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-02-02 09:23:07,657 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-02-02 09:23:07,660 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-02-02 09:23:07,661 INFO L270 PluginConnector]: Initializing Witness Parser... [2024-02-02 09:23:07,661 INFO L274 PluginConnector]: Witness Parser initialized [2024-02-02 09:23:07,663 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/triangular-2.yml/witness.yml [2024-02-02 09:23:07,805 INFO L270 PluginConnector]: Initializing CDTParser... [2024-02-02 09:23:07,805 INFO L274 PluginConnector]: CDTParser initialized [2024-02-02 09:23:07,806 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/pthread/triangular-2.i [2024-02-02 09:23:09,014 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-02-02 09:23:09,262 INFO L384 CDTParser]: Found 1 translation units. [2024-02-02 09:23:09,265 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread/triangular-2.i [2024-02-02 09:23:09,281 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/b8309956b/374cda647e4844798929907e2e2d3956/FLAGcfa4ba6d0 [2024-02-02 09:23:09,296 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/b8309956b/374cda647e4844798929907e2e2d3956 [2024-02-02 09:23:09,297 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-02-02 09:23:09,298 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2024-02-02 09:23:09,299 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-02-02 09:23:09,300 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-02-02 09:23:09,303 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-02-02 09:23:09,304 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 02.02 09:23:07" (1/2) ... [2024-02-02 09:23:09,305 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@6adb932d and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 02.02 09:23:09, skipping insertion in model container [2024-02-02 09:23:09,305 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 02.02 09:23:07" (1/2) ... [2024-02-02 09:23:09,306 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@40b05a02 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 02.02 09:23:09, skipping insertion in model container [2024-02-02 09:23:09,306 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 02.02 09:23:09" (2/2) ... [2024-02-02 09:23:09,306 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@6adb932d and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.02 09:23:09, skipping insertion in model container [2024-02-02 09:23:09,306 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 02.02 09:23:09" (2/2) ... [2024-02-02 09:23:09,307 INFO L86 nessWitnessExtractor]: Extracting all invariants from correctness witness [2024-02-02 09:23:09,387 INFO L99 nessWitnessExtractor]: Found the following entries in the witness: [2024-02-02 09:23:09,388 INFO L101 nessWitnessExtractor]: Loop invariant at [L696-L700] ((unsigned long )arg == 0UL) && (((((k == 5 || k == 4) || k == 3) || k == 2) || k == 1) || (0 == k && k == 0)) [2024-02-02 09:23:09,388 INFO L101 nessWitnessExtractor]: Location invariant before [L724-L724] ((((((0LL - (long long )condI) + (long long )condJ >= 0LL) && ((long long )condI + (long long )condJ >= 0LL)) && ((0LL - (long long )condI) - (long long )condJ >= 0LL)) && ((long long )condI - (long long )condJ >= 0LL)) && (condI == 0)) && (condJ == 0) [2024-02-02 09:23:09,388 INFO L101 nessWitnessExtractor]: Location invariant before [L720-L720] (((((((((0 <= condI) && (0 <= condJ)) && (3 <= i)) && (4 <= j)) && (condI <= 1)) && (condJ <= 1)) && (i % 2 == 1)) && (j % 2 == 0)) && (condI == 0 || condI == 1)) && (condJ == 0 || condJ == 1) [2024-02-02 09:23:09,388 INFO L101 nessWitnessExtractor]: Location invariant before [L714-L714] ((((4294967296LL + (long long )condI) + (long long )condJ >= 0LL) && ((4294967295LL - (long long )condI) + (long long )condJ >= 0LL)) && ((4294967295LL + (long long )condI) - (long long )condJ >= 0LL)) && ((4294967294LL - (long long )condI) - (long long )condJ >= 0LL) [2024-02-02 09:23:09,388 INFO L101 nessWitnessExtractor]: Location invariant before [L706-L706] (((((3 <= i) && (4 <= j)) && (i % 2 == 1)) && (j % 2 == 0)) && ((unsigned long )arg == 0UL)) && ((((k == 4 || k == 3) || k == 2) || k == 1) || (0 == k && k == 0)) [2024-02-02 09:23:09,388 INFO L101 nessWitnessExtractor]: Location invariant before [L722-L722] (((((0 <= condI) && (0 <= condJ)) && (condI <= 1)) && (condJ <= 1)) && (condI == 0 || condI == 1)) && (condJ == 0 || condJ == 1) [2024-02-02 09:23:09,388 INFO L101 nessWitnessExtractor]: Location invariant before [L719-L719] ((((((0 <= condI) && (3 <= i)) && (4 <= j)) && (condI <= 1)) && (i % 2 == 1)) && (j % 2 == 0)) && (condI == 0 || condI == 1) [2024-02-02 09:23:09,389 INFO L101 nessWitnessExtractor]: Loop invariant at [L704-L708] ((unsigned long )arg == 0UL) && (((((k == 5 || k == 4) || k == 3) || k == 2) || k == 1) || (0 == k && k == 0)) [2024-02-02 09:23:09,389 INFO L101 nessWitnessExtractor]: Location invariant before [L699-L699] (((((4 <= j) && (5 <= i)) && (i % 2 == 1)) && (j % 2 == 0)) && ((unsigned long )arg == 0UL)) && ((((k == 4 || k == 3) || k == 2) || k == 1) || (0 == k && k == 0)) [2024-02-02 09:23:09,389 INFO L101 nessWitnessExtractor]: Location invariant before [L713-L713] ((((((4294967296LL + (long long )condI) + (long long )condJ >= 0LL) && ((4294967295LL - (long long )condI) + (long long )condJ >= 0LL)) && ((4294967295LL + (long long )condI) - (long long )condJ >= 0LL)) && ((4294967294LL - (long long )condI) - (long long )condJ >= 0LL)) && (i == 3)) && (j == 6) [2024-02-02 09:23:09,389 INFO L101 nessWitnessExtractor]: Location invariant before [L698-L698] (((((3 <= i) && (4 <= j)) && (i % 2 == 1)) && (j % 2 == 0)) && ((unsigned long )arg == 0UL)) && ((((k == 4 || k == 3) || k == 2) || k == 1) || (0 == k && k == 0)) [2024-02-02 09:23:09,389 INFO L101 nessWitnessExtractor]: Location invariant before [L707-L707] (((((3 <= i) && (4 <= j)) && (i % 2 == 1)) && (j % 2 == 0)) && ((unsigned long )arg == 0UL)) && ((((k == 4 || k == 3) || k == 2) || k == 1) || (0 == k && k == 0)) [2024-02-02 09:23:09,389 INFO L101 nessWitnessExtractor]: Location invariant before [L717-L717] ((((((0 <= condI) && (3 <= i)) && (4 <= j)) && (condI <= 1)) && (i % 2 == 1)) && (j % 2 == 0)) && (condI == 0 || condI == 1) [2024-02-02 09:23:09,389 INFO L101 nessWitnessExtractor]: Location invariant before [L709-L709] (k == 5) && ((unsigned long )arg == 0UL) [2024-02-02 09:23:09,390 INFO L101 nessWitnessExtractor]: Location invariant before [L701-L701] (k == 5) && ((unsigned long )arg == 0UL) [2024-02-02 09:23:09,390 INFO L101 nessWitnessExtractor]: Location invariant before [L721-L723] (((0 <= condJ) && (condJ <= 1)) && (condI == 0 || ((0 <= condI && condI <= 1) && (condI == 0 || condI == 1)))) && (condJ == 0 || condJ == 1) [2024-02-02 09:23:09,390 INFO L101 nessWitnessExtractor]: Location invariant before [L697-L697] ((unsigned long )arg == 0UL) && ((((k == 4 || k == 3) || k == 2) || k == 1) || (0 == k && k == 0)) [2024-02-02 09:23:09,390 INFO L101 nessWitnessExtractor]: Location invariant before [L715-L715] ((((4294967296LL + (long long )condI) + (long long )condJ >= 0LL) && ((4294967295LL - (long long )condI) + (long long )condJ >= 0LL)) && ((4294967295LL + (long long )condI) - (long long )condJ >= 0LL)) && ((4294967294LL - (long long )condI) - (long long )condJ >= 0LL) [2024-02-02 09:23:09,390 INFO L101 nessWitnessExtractor]: Location invariant before [L718-L718] ((0 <= condI) && (condI <= 1)) && (condI == 0 || condI == 1) [2024-02-02 09:23:09,391 INFO L101 nessWitnessExtractor]: Location invariant before [L716-L716] (((((((3 <= i) && (4 <= j)) && ((4294967296LL + (long long )condI) + (long long )condJ >= 0LL)) && ((4294967295LL - (long long )condI) + (long long )condJ >= 0LL)) && ((4294967295LL + (long long )condI) - (long long )condJ >= 0LL)) && ((4294967294LL - (long long )condI) - (long long )condJ >= 0LL)) && (i % 2 == 1)) && (j % 2 == 0) [2024-02-02 09:23:09,391 INFO L101 nessWitnessExtractor]: Location invariant before [L705-L705] ((unsigned long )arg == 0UL) && ((((k == 4 || k == 3) || k == 2) || k == 1) || (0 == k && k == 0)) [2024-02-02 09:23:09,428 INFO L177 MainTranslator]: Built tables and reachable declarations [2024-02-02 09:23:09,705 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/triangular-2.i[30952,30965] [2024-02-02 09:23:09,711 INFO L209 PostProcessor]: Analyzing one entry point: main [2024-02-02 09:23:09,720 INFO L202 MainTranslator]: Completed pre-run Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local Start Parsing Local [2024-02-02 09:23:09,775 ERROR L324 MainTranslator]: Incorrect Syntax: Undeclared variable in ACSL expression: k [2024-02-02 09:23:09,776 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@40b05a02 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.02 09:23:09, skipping insertion in model container [2024-02-02 09:23:09,776 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-02-02 09:23:09,777 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.procedureinliner [2024-02-02 09:23:09,778 INFO L158 Benchmark]: Toolchain (without parser) took 479.96ms. Allocated memory was 60.8MB in the beginning and 73.4MB in the end (delta: 12.6MB). Free memory was 32.8MB in the beginning and 43.6MB in the end (delta: -10.8MB). Peak memory consumption was 11.5MB. Max. memory is 16.1GB. [2024-02-02 09:23:09,779 INFO L158 Benchmark]: Witness Parser took 0.16ms. Allocated memory is still 60.8MB. Free memory was 37.8MB in the beginning and 37.7MB in the end (delta: 52.7kB). There was no memory consumed. Max. memory is 16.1GB. [2024-02-02 09:23:09,779 INFO L158 Benchmark]: CDTParser took 0.40ms. Allocated memory is still 60.8MB. Free memory is still 45.3MB. There was no memory consumed. Max. memory is 16.1GB. [2024-02-02 09:23:09,780 INFO L158 Benchmark]: CACSL2BoogieTranslator took 477.17ms. Allocated memory was 60.8MB in the beginning and 73.4MB in the end (delta: 12.6MB). Free memory was 32.4MB in the beginning and 43.6MB in the end (delta: -11.1MB). Peak memory consumption was 11.5MB. Max. memory is 16.1GB. [2024-02-02 09:23:09,781 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.16ms. Allocated memory is still 60.8MB. Free memory was 37.8MB in the beginning and 37.7MB in the end (delta: 52.7kB). There was no memory consumed. Max. memory is 16.1GB. * CDTParser took 0.40ms. Allocated memory is still 60.8MB. Free memory is still 45.3MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 477.17ms. Allocated memory was 60.8MB in the beginning and 73.4MB in the end (delta: 12.6MB). Free memory was 32.4MB in the beginning and 43.6MB in the end (delta: -11.1MB). Peak memory consumption was 11.5MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - SyntaxErrorResult [Line: 701]: Incorrect Syntax Undeclared variable in ACSL expression: k 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