./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/unreach-call.prp --file ../../../trunk/examples/svcomp/weaver/popl20-more-sorted.wvr.c --full-output --witness-type correctness_witness --witnessparser.only.consider.loop.invariants false --validate ./goblint.2024-02-07_10-47-16.files/SV-COMP24_unreach-call/popl20-more-sorted.wvr.yml/witness.yml --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version 958ec4d9 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/weaver/popl20-more-sorted.wvr.c ./goblint.2024-02-07_10-47-16.files/SV-COMP24_unreach-call/popl20-more-sorted.wvr.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-958ec4d-m [2024-02-07 14:40:24,366 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-02-07 14:40:24,442 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Default.epf [2024-02-07 14:40:24,449 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-02-07 14:40:24,449 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-02-07 14:40:24,495 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-02-07 14:40:24,507 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-02-07 14:40:24,507 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-02-07 14:40:24,508 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-02-07 14:40:24,511 INFO L153 SettingsManager]: * Use memory slicer=true [2024-02-07 14:40:24,512 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-02-07 14:40:24,512 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-02-07 14:40:24,513 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-02-07 14:40:24,514 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-02-07 14:40:24,514 INFO L153 SettingsManager]: * Use SBE=true [2024-02-07 14:40:24,515 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-02-07 14:40:24,515 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-02-07 14:40:24,515 INFO L153 SettingsManager]: * sizeof long=4 [2024-02-07 14:40:24,515 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-02-07 14:40:24,516 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-02-07 14:40:24,516 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-02-07 14:40:24,516 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-02-07 14:40:24,517 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-02-07 14:40:24,517 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-02-07 14:40:24,517 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-02-07 14:40:24,517 INFO L153 SettingsManager]: * sizeof long double=12 [2024-02-07 14:40:24,518 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-02-07 14:40:24,518 INFO L153 SettingsManager]: * Use constant arrays=true [2024-02-07 14:40:24,518 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-02-07 14:40:24,519 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-02-07 14:40:24,520 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-02-07 14:40:24,520 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-02-07 14:40:24,520 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-02-07 14:40:24,520 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-02-07 14:40:24,520 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-02-07 14:40:24,521 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-02-07 14:40:24,521 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-02-07 14:40:24,521 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-02-07 14:40:24,521 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-02-07 14:40:24,521 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-02-07 14:40:24,522 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2024-02-07 14:40:24,522 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-02-07 14:40:24,522 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-02-07 14:40:24,522 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-07 14:40:24,752 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-02-07 14:40:24,777 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-02-07 14:40:24,781 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-02-07 14:40:24,782 INFO L270 PluginConnector]: Initializing CDTParser... [2024-02-07 14:40:24,782 INFO L274 PluginConnector]: CDTParser initialized [2024-02-07 14:40:24,783 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/weaver/popl20-more-sorted.wvr.c [2024-02-07 14:40:25,924 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-02-07 14:40:26,126 INFO L384 CDTParser]: Found 1 translation units. [2024-02-07 14:40:26,127 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/weaver/popl20-more-sorted.wvr.c [2024-02-07 14:40:26,134 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/eaf894022/d78ff76d5c6b467fa7de637349c3c572/FLAG2971e3b5b [2024-02-07 14:40:26,147 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/eaf894022/d78ff76d5c6b467fa7de637349c3c572 [2024-02-07 14:40:26,149 INFO L270 PluginConnector]: Initializing Witness Parser... [2024-02-07 14:40:26,150 INFO L274 PluginConnector]: Witness Parser initialized [2024-02-07 14:40:26,151 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/./goblint.2024-02-07_10-47-16.files/SV-COMP24_unreach-call/popl20-more-sorted.wvr.yml/witness.yml [2024-02-07 14:40:26,255 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-02-07 14:40:26,257 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2024-02-07 14:40:26,260 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-02-07 14:40:26,260 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-02-07 14:40:26,265 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-02-07 14:40:26,265 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 07.02 02:40:26" (1/2) ... [2024-02-07 14:40:26,266 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4813ee16 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.02 02:40:26, skipping insertion in model container [2024-02-07 14:40:26,266 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 07.02 02:40:26" (1/2) ... [2024-02-07 14:40:26,268 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@7b908c53 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.02 02:40:26, skipping insertion in model container [2024-02-07 14:40:26,268 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 07.02 02:40:26" (2/2) ... [2024-02-07 14:40:26,268 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4813ee16 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 07.02 02:40:26, skipping insertion in model container [2024-02-07 14:40:26,269 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 07.02 02:40:26" (2/2) ... [2024-02-07 14:40:26,269 INFO L83 nessWitnessExtractor]: Extracting all invariants from correctness witness [2024-02-07 14:40:26,299 INFO L74 edCorrectnessWitness]: Found the following entries in the witness: [2024-02-07 14:40:26,303 INFO L76 edCorrectnessWitness]: Location invariant before [L105-L105] (long long )i - (long long )size >= 0LL [2024-02-07 14:40:26,303 INFO L76 edCorrectnessWitness]: Location invariant before [L48-L48] (sorted1 == (_Bool)0 || sorted1 == (_Bool)1) && ((((((((((6 <= i && i <= 2147483645) && i != 0) && i != 1) && i != 2) || i == 5) || i == 4) || i == 3) || i == 2) || i == 1) || (0 == i && i == 0)) [2024-02-07 14:40:26,304 INFO L76 edCorrectnessWitness]: Location invariant before [L103-L103] ((-1LL - (long long )i) + (long long )size >= 0LL) && ((((((((((((8 <= i && i <= 2147483646) && (-17LL + (long long )i) + (long long )size >= 0LL) && i != 0) && i != 1) || ((-15LL + (long long )i) + (long long )size >= 0LL && i == 7)) || ((-13LL + (long long )i) + (long long )size >= 0LL && i == 6)) || ((-11LL + (long long )i) + (long long )size >= 0LL && i == 5)) || ((-9LL + (long long )i) + (long long )size >= 0LL && i == 4)) || ((-7LL + (long long )i) + (long long )size >= 0LL && i == 3)) || ((-5LL + (long long )i) + (long long )size >= 0LL && i == 2)) || ((-3LL + (long long )i) + (long long )size >= 0LL && i == 1)) || (((-1LL + (long long )i) + (long long )size >= 0LL && 0 == i) && i == 0)) [2024-02-07 14:40:26,304 INFO L76 edCorrectnessWitness]: Location invariant before [L81-L81] 0 <= M [2024-02-07 14:40:26,304 INFO L76 edCorrectnessWitness]: Location invariant before [L91-L91] (sorted2 == (_Bool)0 || sorted2 == (_Bool)1) && (sorted3 == (_Bool)0 || sorted3 == (_Bool)1) [2024-02-07 14:40:26,305 INFO L76 edCorrectnessWitness]: Location invariant before [L56-L56] (sorted2 == (_Bool)0 || sorted2 == (_Bool)1) && (((((((0 == i && i == 0) || ((((6 <= i && i <= 2147483646) && i != 0) && i != 1) && i != 2)) || i == 5) || i == 4) || i == 3) || i == 2) || i == 1) [2024-02-07 14:40:26,305 INFO L76 edCorrectnessWitness]: Location invariant before [L74-L74] ((((0LL - (long long )M) + (long long )N >= 0LL) && ((long long )M + (long long )N >= 0LL)) && ((0LL - (long long )M) - (long long )N >= 0LL)) && ((long long )M - (long long )N >= 0LL) [2024-02-07 14:40:26,305 INFO L76 edCorrectnessWitness]: Location invariant before [L64-L64] (i <= 2147483645) && (sorted3 == (_Bool)0 || sorted3 == (_Bool)1) [2024-02-07 14:40:26,305 INFO L76 edCorrectnessWitness]: Location invariant before [L79-L79] sorted2 == (_Bool)1 [2024-02-07 14:40:26,305 INFO L76 edCorrectnessWitness]: Location invariant before [L78-L78] sorted1 == (_Bool)1 [2024-02-07 14:40:26,335 INFO L178 MainTranslator]: Built tables and reachable declarations [2024-02-07 14:40:26,472 WARN L239 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/weaver/popl20-more-sorted.wvr.c[2473,2486] [2024-02-07 14:40:26,479 INFO L209 PostProcessor]: Analyzing one entry point: main [2024-02-07 14:40:26,487 INFO L203 MainTranslator]: Completed pre-run 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-02-07 14:40:26,570 WARN L239 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/weaver/popl20-more-sorted.wvr.c[2473,2486] Start Parsing Local Start Parsing Local [2024-02-07 14:40:26,593 ERROR L325 MainTranslator]: Incorrect Syntax: Undeclared variable in ACSL expression: i [2024-02-07 14:40:26,594 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@7b908c53 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 07.02 02:40:26, skipping insertion in model container [2024-02-07 14:40:26,594 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-02-07 14:40:26,595 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.procedureinliner [2024-02-07 14:40:26,596 INFO L158 Benchmark]: Toolchain (without parser) took 338.26ms. Allocated memory is still 192.9MB. Free memory was 163.0MB in the beginning and 150.9MB in the end (delta: 12.1MB). Peak memory consumption was 14.9MB. Max. memory is 16.1GB. [2024-02-07 14:40:26,597 INFO L158 Benchmark]: CDTParser took 0.17ms. Allocated memory is still 136.3MB. Free memory was 100.8MB in the beginning and 100.7MB in the end (delta: 139.8kB). There was no memory consumed. Max. memory is 16.1GB. [2024-02-07 14:40:26,597 INFO L158 Benchmark]: Witness Parser took 0.18ms. Allocated memory is still 136.3MB. Free memory is still 68.4MB. There was no memory consumed. Max. memory is 16.1GB. [2024-02-07 14:40:26,598 INFO L158 Benchmark]: CACSL2BoogieTranslator took 334.29ms. Allocated memory is still 192.9MB. Free memory was 162.8MB in the beginning and 150.9MB in the end (delta: 11.9MB). Peak memory consumption was 14.9MB. Max. memory is 16.1GB. [2024-02-07 14:40:26,599 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.17ms. Allocated memory is still 136.3MB. Free memory was 100.8MB in the beginning and 100.7MB in the end (delta: 139.8kB). There was no memory consumed. Max. memory is 16.1GB. * Witness Parser took 0.18ms. Allocated memory is still 136.3MB. Free memory is still 68.4MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 334.29ms. Allocated memory is still 192.9MB. Free memory was 162.8MB in the beginning and 150.9MB in the end (delta: 11.9MB). Peak memory consumption was 14.9MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - SyntaxErrorResult [Line: 105]: Incorrect Syntax Undeclared variable in ACSL expression: i 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/weaver/popl20-more-sorted.wvr.c ./goblint.2024-02-07_10-47-16.files/SV-COMP24_unreach-call/popl20-more-sorted.wvr.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-958ec4d-m [2024-02-07 14:40:28,548 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-02-07 14:40:28,641 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Bitvector.epf [2024-02-07 14:40:28,646 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-02-07 14:40:28,647 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-02-07 14:40:28,691 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-02-07 14:40:28,692 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-02-07 14:40:28,692 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-02-07 14:40:28,693 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-02-07 14:40:28,697 INFO L153 SettingsManager]: * Use memory slicer=true [2024-02-07 14:40:28,697 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-02-07 14:40:28,697 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-02-07 14:40:28,698 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-02-07 14:40:28,699 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-02-07 14:40:28,699 INFO L153 SettingsManager]: * Use SBE=true [2024-02-07 14:40:28,700 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-02-07 14:40:28,700 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-02-07 14:40:28,701 INFO L153 SettingsManager]: * sizeof long=4 [2024-02-07 14:40:28,701 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-02-07 14:40:28,701 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-02-07 14:40:28,701 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-02-07 14:40:28,702 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-02-07 14:40:28,702 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-02-07 14:40:28,703 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-02-07 14:40:28,703 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-02-07 14:40:28,703 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-02-07 14:40:28,703 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-02-07 14:40:28,704 INFO L153 SettingsManager]: * sizeof long double=12 [2024-02-07 14:40:28,704 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-02-07 14:40:28,704 INFO L153 SettingsManager]: * Use constant arrays=true [2024-02-07 14:40:28,705 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-02-07 14:40:28,706 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-02-07 14:40:28,706 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-02-07 14:40:28,706 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-02-07 14:40:28,706 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-02-07 14:40:28,706 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-02-07 14:40:28,707 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-02-07 14:40:28,707 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-02-07 14:40:28,708 INFO L153 SettingsManager]: * Trace refinement strategy=WOLF [2024-02-07 14:40:28,708 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-02-07 14:40:28,708 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-02-07 14:40:28,708 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-02-07 14:40:28,708 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2024-02-07 14:40:28,709 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-02-07 14:40:28,709 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-02-07 14:40:28,709 INFO L153 SettingsManager]: * Logic for external solver=AUFBV [2024-02-07 14:40:28,709 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-07 14:40:29,014 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-02-07 14:40:29,042 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-02-07 14:40:29,045 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-02-07 14:40:29,046 INFO L270 PluginConnector]: Initializing CDTParser... [2024-02-07 14:40:29,047 INFO L274 PluginConnector]: CDTParser initialized [2024-02-07 14:40:29,049 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/weaver/popl20-more-sorted.wvr.c [2024-02-07 14:40:30,321 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-02-07 14:40:30,528 INFO L384 CDTParser]: Found 1 translation units. [2024-02-07 14:40:30,528 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/weaver/popl20-more-sorted.wvr.c [2024-02-07 14:40:30,535 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/8ac5c69d4/0eaaada94ce646d6bce4d9a3864b0711/FLAG028cfc8d0 [2024-02-07 14:40:30,546 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/8ac5c69d4/0eaaada94ce646d6bce4d9a3864b0711 [2024-02-07 14:40:30,548 INFO L270 PluginConnector]: Initializing Witness Parser... [2024-02-07 14:40:30,548 INFO L274 PluginConnector]: Witness Parser initialized [2024-02-07 14:40:30,549 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/./goblint.2024-02-07_10-47-16.files/SV-COMP24_unreach-call/popl20-more-sorted.wvr.yml/witness.yml [2024-02-07 14:40:30,619 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-02-07 14:40:30,620 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2024-02-07 14:40:30,621 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-02-07 14:40:30,621 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-02-07 14:40:30,625 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-02-07 14:40:30,626 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 07.02 02:40:30" (1/2) ... [2024-02-07 14:40:30,627 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@54a1d042 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.02 02:40:30, skipping insertion in model container [2024-02-07 14:40:30,627 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 07.02 02:40:30" (1/2) ... [2024-02-07 14:40:30,628 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@114e64c4 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.02 02:40:30, skipping insertion in model container [2024-02-07 14:40:30,629 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 07.02 02:40:30" (2/2) ... [2024-02-07 14:40:30,629 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@54a1d042 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 07.02 02:40:30, skipping insertion in model container [2024-02-07 14:40:30,629 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 07.02 02:40:30" (2/2) ... [2024-02-07 14:40:30,629 INFO L83 nessWitnessExtractor]: Extracting all invariants from correctness witness [2024-02-07 14:40:30,648 INFO L74 edCorrectnessWitness]: Found the following entries in the witness: [2024-02-07 14:40:30,649 INFO L76 edCorrectnessWitness]: Location invariant before [L79-L79] sorted2 == (_Bool)1 [2024-02-07 14:40:30,649 INFO L76 edCorrectnessWitness]: Location invariant before [L74-L74] ((((0LL - (long long )M) + (long long )N >= 0LL) && ((long long )M + (long long )N >= 0LL)) && ((0LL - (long long )M) - (long long )N >= 0LL)) && ((long long )M - (long long )N >= 0LL) [2024-02-07 14:40:30,650 INFO L76 edCorrectnessWitness]: Location invariant before [L103-L103] ((-1LL - (long long )i) + (long long )size >= 0LL) && ((((((((((((8 <= i && i <= 2147483646) && (-17LL + (long long )i) + (long long )size >= 0LL) && i != 0) && i != 1) || ((-15LL + (long long )i) + (long long )size >= 0LL && i == 7)) || ((-13LL + (long long )i) + (long long )size >= 0LL && i == 6)) || ((-11LL + (long long )i) + (long long )size >= 0LL && i == 5)) || ((-9LL + (long long )i) + (long long )size >= 0LL && i == 4)) || ((-7LL + (long long )i) + (long long )size >= 0LL && i == 3)) || ((-5LL + (long long )i) + (long long )size >= 0LL && i == 2)) || ((-3LL + (long long )i) + (long long )size >= 0LL && i == 1)) || (((-1LL + (long long )i) + (long long )size >= 0LL && 0 == i) && i == 0)) [2024-02-07 14:40:30,650 INFO L76 edCorrectnessWitness]: Location invariant before [L64-L64] (i <= 2147483645) && (sorted3 == (_Bool)0 || sorted3 == (_Bool)1) [2024-02-07 14:40:30,650 INFO L76 edCorrectnessWitness]: Location invariant before [L105-L105] (long long )i - (long long )size >= 0LL [2024-02-07 14:40:30,650 INFO L76 edCorrectnessWitness]: Location invariant before [L56-L56] (sorted2 == (_Bool)0 || sorted2 == (_Bool)1) && (((((((0 == i && i == 0) || ((((6 <= i && i <= 2147483646) && i != 0) && i != 1) && i != 2)) || i == 5) || i == 4) || i == 3) || i == 2) || i == 1) [2024-02-07 14:40:30,650 INFO L76 edCorrectnessWitness]: Location invariant before [L81-L81] 0 <= M [2024-02-07 14:40:30,650 INFO L76 edCorrectnessWitness]: Location invariant before [L78-L78] sorted1 == (_Bool)1 [2024-02-07 14:40:30,651 INFO L76 edCorrectnessWitness]: Location invariant before [L91-L91] (sorted2 == (_Bool)0 || sorted2 == (_Bool)1) && (sorted3 == (_Bool)0 || sorted3 == (_Bool)1) [2024-02-07 14:40:30,651 INFO L76 edCorrectnessWitness]: Location invariant before [L48-L48] (sorted1 == (_Bool)0 || sorted1 == (_Bool)1) && ((((((((((6 <= i && i <= 2147483645) && i != 0) && i != 1) && i != 2) || i == 5) || i == 4) || i == 3) || i == 2) || i == 1) || (0 == i && i == 0)) [2024-02-07 14:40:30,671 INFO L178 MainTranslator]: Built tables and reachable declarations [2024-02-07 14:40:30,846 WARN L239 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/weaver/popl20-more-sorted.wvr.c[2473,2486] [2024-02-07 14:40:30,854 INFO L209 PostProcessor]: Analyzing one entry point: main [2024-02-07 14:40:30,865 INFO L200 MainTranslator]: Restarting translation with changed settings: SettingsChange [mNewPreferredMemoryModel=HoenickeLindenmann_1ByteResolution] [2024-02-07 14:40:30,869 INFO L178 MainTranslator]: Built tables and reachable declarations [2024-02-07 14:40:30,883 WARN L239 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/weaver/popl20-more-sorted.wvr.c[2473,2486] [2024-02-07 14:40:30,886 INFO L209 PostProcessor]: Analyzing one entry point: main [2024-02-07 14:40:30,901 INFO L203 MainTranslator]: Completed pre-run 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-02-07 14:40:30,981 WARN L239 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/weaver/popl20-more-sorted.wvr.c[2473,2486] Start Parsing Local Start Parsing Local [2024-02-07 14:40:31,004 ERROR L325 MainTranslator]: Incorrect Syntax: Undeclared variable in ACSL expression: i [2024-02-07 14:40:31,004 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@114e64c4 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 07.02 02:40:31, skipping insertion in model container [2024-02-07 14:40:31,004 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-02-07 14:40:31,005 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.procedureinliner [2024-02-07 14:40:31,006 INFO L158 Benchmark]: Toolchain (without parser) took 385.36ms. Allocated memory was 62.9MB in the beginning and 83.9MB in the end (delta: 21.0MB). Free memory was 37.1MB in the beginning and 58.2MB in the end (delta: -21.2MB). Peak memory consumption was 11.7MB. Max. memory is 16.1GB. [2024-02-07 14:40:31,007 INFO L158 Benchmark]: CDTParser took 0.23ms. Allocated memory is still 62.9MB. Free memory was 39.6MB in the beginning and 39.5MB in the end (delta: 83.9kB). There was no memory consumed. Max. memory is 16.1GB. [2024-02-07 14:40:31,007 INFO L158 Benchmark]: Witness Parser took 0.16ms. Allocated memory is still 62.9MB. Free memory is still 40.1MB. There was no memory consumed. Max. memory is 16.1GB. [2024-02-07 14:40:31,014 INFO L158 Benchmark]: CACSL2BoogieTranslator took 383.44ms. Allocated memory was 62.9MB in the beginning and 83.9MB in the end (delta: 21.0MB). Free memory was 36.9MB in the beginning and 58.2MB in the end (delta: -21.3MB). Peak memory consumption was 11.7MB. Max. memory is 16.1GB. [2024-02-07 14:40:31,016 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.23ms. Allocated memory is still 62.9MB. Free memory was 39.6MB in the beginning and 39.5MB in the end (delta: 83.9kB). There was no memory consumed. Max. memory is 16.1GB. * Witness Parser took 0.16ms. Allocated memory is still 62.9MB. Free memory is still 40.1MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 383.44ms. Allocated memory was 62.9MB in the beginning and 83.9MB in the end (delta: 21.0MB). Free memory was 36.9MB in the beginning and 58.2MB in the end (delta: -21.3MB). Peak memory consumption was 11.7MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - SyntaxErrorResult [Line: 105]: Incorrect Syntax Undeclared variable in ACSL expression: i 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