./Ultimate.py --spec ../../sv-benchmarks/c/properties/valid-memsafety.prp --file ../../sv-benchmarks/c/pthread/twostage_3.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version 6b4ec56b Calling Ultimate with: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9ef41997-0393-4a56-844f-3ff73822f7ff/bin/uautomizer-ug76WZFUDN/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9ef41997-0393-4a56-844f-3ff73822f7ff/bin/uautomizer-ug76WZFUDN/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9ef41997-0393-4a56-844f-3ff73822f7ff/bin/uautomizer-ug76WZFUDN/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9ef41997-0393-4a56-844f-3ff73822f7ff/bin/uautomizer-ug76WZFUDN/config/AutomizerMemDerefMemtrack.xml -i ../../sv-benchmarks/c/pthread/twostage_3.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9ef41997-0393-4a56-844f-3ff73822f7ff/bin/uautomizer-ug76WZFUDN/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9ef41997-0393-4a56-844f-3ff73822f7ff/bin/uautomizer-ug76WZFUDN --witnessprinter.witness.filename witness.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 9e65812efd79e833978ab1548160841e061a451f72b6ff490ed9b7c0a593a91c --- Real Ultimate output --- [0.001s][warning][os,container] Duplicate cpuset controllers detected. Picking /sys/fs/cgroup/cpuset, skipping /sys/fs/cgroup/cpuset. This is Ultimate 0.2.2-dev-6b4ec56 [2022-11-20 11:57:59,474 INFO L177 SettingsManager]: Resetting all preferences to default values... [2022-11-20 11:57:59,477 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2022-11-20 11:57:59,516 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2022-11-20 11:57:59,519 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2022-11-20 11:57:59,524 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2022-11-20 11:57:59,527 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2022-11-20 11:57:59,531 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2022-11-20 11:57:59,534 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2022-11-20 11:57:59,541 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2022-11-20 11:57:59,543 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2022-11-20 11:57:59,546 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2022-11-20 11:57:59,547 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2022-11-20 11:57:59,549 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2022-11-20 11:57:59,550 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2022-11-20 11:57:59,551 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2022-11-20 11:57:59,552 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2022-11-20 11:57:59,553 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2022-11-20 11:57:59,557 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2022-11-20 11:57:59,559 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2022-11-20 11:57:59,561 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2022-11-20 11:57:59,564 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2022-11-20 11:57:59,567 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2022-11-20 11:57:59,568 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2022-11-20 11:57:59,573 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2022-11-20 11:57:59,579 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2022-11-20 11:57:59,579 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2022-11-20 11:57:59,580 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2022-11-20 11:57:59,582 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2022-11-20 11:57:59,583 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2022-11-20 11:57:59,585 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2022-11-20 11:57:59,587 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2022-11-20 11:57:59,588 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2022-11-20 11:57:59,590 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2022-11-20 11:57:59,592 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2022-11-20 11:57:59,592 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2022-11-20 11:57:59,593 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2022-11-20 11:57:59,594 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2022-11-20 11:57:59,594 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2022-11-20 11:57:59,597 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2022-11-20 11:57:59,598 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2022-11-20 11:57:59,599 INFO L101 SettingsManager]: Beginning loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9ef41997-0393-4a56-844f-3ff73822f7ff/bin/uautomizer-ug76WZFUDN/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2022-11-20 11:57:59,624 INFO L113 SettingsManager]: Loading preferences was successful [2022-11-20 11:57:59,625 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2022-11-20 11:57:59,625 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2022-11-20 11:57:59,626 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2022-11-20 11:57:59,626 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2022-11-20 11:57:59,627 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2022-11-20 11:57:59,627 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2022-11-20 11:57:59,628 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2022-11-20 11:57:59,628 INFO L138 SettingsManager]: * Use SBE=true [2022-11-20 11:57:59,628 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2022-11-20 11:57:59,629 INFO L138 SettingsManager]: * sizeof long=4 [2022-11-20 11:57:59,629 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2022-11-20 11:57:59,629 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2022-11-20 11:57:59,629 INFO L138 SettingsManager]: * sizeof POINTER=4 [2022-11-20 11:57:59,629 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2022-11-20 11:57:59,630 INFO L138 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2022-11-20 11:57:59,630 INFO L138 SettingsManager]: * Bitprecise bitfields=true [2022-11-20 11:57:59,630 INFO L138 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2022-11-20 11:57:59,630 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2022-11-20 11:57:59,631 INFO L138 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2022-11-20 11:57:59,631 INFO L138 SettingsManager]: * sizeof long double=12 [2022-11-20 11:57:59,631 INFO L138 SettingsManager]: * Use constant arrays=true [2022-11-20 11:57:59,632 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2022-11-20 11:57:59,632 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2022-11-20 11:57:59,632 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2022-11-20 11:57:59,632 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2022-11-20 11:57:59,633 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2022-11-20 11:57:59,633 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2022-11-20 11:57:59,633 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2022-11-20 11:57:59,633 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2022-11-20 11:57:59,634 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9ef41997-0393-4a56-844f-3ff73822f7ff/bin/uautomizer-ug76WZFUDN/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.witnessprinter: Witness directory -> /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9ef41997-0393-4a56-844f-3ff73822f7ff/bin/uautomizer-ug76WZFUDN Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness.graphml Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 9e65812efd79e833978ab1548160841e061a451f72b6ff490ed9b7c0a593a91c [2022-11-20 11:58:00,013 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2022-11-20 11:58:00,042 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2022-11-20 11:58:00,046 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2022-11-20 11:58:00,049 INFO L271 PluginConnector]: Initializing CDTParser... [2022-11-20 11:58:00,049 INFO L275 PluginConnector]: CDTParser initialized [2022-11-20 11:58:00,051 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9ef41997-0393-4a56-844f-3ff73822f7ff/bin/uautomizer-ug76WZFUDN/../../sv-benchmarks/c/pthread/twostage_3.i [2022-11-20 11:58:03,825 INFO L500 CDTParser]: Created temporary CDT project at NULL [2022-11-20 11:58:04,310 INFO L351 CDTParser]: Found 1 translation units. [2022-11-20 11:58:04,311 INFO L172 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9ef41997-0393-4a56-844f-3ff73822f7ff/sv-benchmarks/c/pthread/twostage_3.i [2022-11-20 11:58:04,342 INFO L394 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9ef41997-0393-4a56-844f-3ff73822f7ff/bin/uautomizer-ug76WZFUDN/data/afc84e3bd/e534817292b946d5a737c6941e14fd5e/FLAGed0e20b9b [2022-11-20 11:58:04,366 INFO L402 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9ef41997-0393-4a56-844f-3ff73822f7ff/bin/uautomizer-ug76WZFUDN/data/afc84e3bd/e534817292b946d5a737c6941e14fd5e [2022-11-20 11:58:04,373 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2022-11-20 11:58:04,374 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2022-11-20 11:58:04,378 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2022-11-20 11:58:04,378 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2022-11-20 11:58:04,383 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2022-11-20 11:58:04,384 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 20.11 11:58:04" (1/1) ... [2022-11-20 11:58:04,385 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@302f5ab2 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.11 11:58:04, skipping insertion in model container [2022-11-20 11:58:04,385 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 20.11 11:58:04" (1/1) ... [2022-11-20 11:58:04,416 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2022-11-20 11:58:04,503 INFO L178 MainTranslator]: Built tables and reachable declarations [2022-11-20 11:58:05,364 WARN L237 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9ef41997-0393-4a56-844f-3ff73822f7ff/sv-benchmarks/c/pthread/twostage_3.i[58991,59004] [2022-11-20 11:58:05,420 WARN L1569 CHandler]: Possible shadowing of function lock [2022-11-20 11:58:05,425 WARN L1569 CHandler]: Possible shadowing of function lock [2022-11-20 11:58:05,427 INFO L210 PostProcessor]: Analyzing one entry point: main [2022-11-20 11:58:05,447 ERROR L326 MainTranslator]: Unsupported Syntax: Found a cast between two array/pointer types of different sizes while using memory model HoenickeLindenmann_Original (while Not using bitvector translation) [2022-11-20 11:58:05,449 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@7a6680b7 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.11 11:58:05, skipping insertion in model container [2022-11-20 11:58:05,449 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2022-11-20 11:58:05,449 INFO L184 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.procedureinliner [2022-11-20 11:58:05,453 INFO L158 Benchmark]: Toolchain (without parser) took 1076.75ms. Allocated memory was 138.4MB in the beginning and 197.1MB in the end (delta: 58.7MB). Free memory was 71.6MB in the beginning and 154.6MB in the end (delta: -83.0MB). Peak memory consumption was 10.7MB. Max. memory is 16.1GB. [2022-11-20 11:58:05,453 INFO L158 Benchmark]: CDTParser took 0.32ms. Allocated memory is still 138.4MB. Free memory is still 106.8MB. There was no memory consumed. Max. memory is 16.1GB. [2022-11-20 11:58:05,455 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1071.57ms. Allocated memory was 138.4MB in the beginning and 197.1MB in the end (delta: 58.7MB). Free memory was 71.4MB in the beginning and 154.6MB in the end (delta: -83.3MB). Peak memory consumption was 10.7MB. Max. memory is 16.1GB. [2022-11-20 11:58:05,457 INFO L339 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.32ms. Allocated memory is still 138.4MB. Free memory is still 106.8MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1071.57ms. Allocated memory was 138.4MB in the beginning and 197.1MB in the end (delta: 58.7MB). Free memory was 71.4MB in the beginning and 154.6MB in the end (delta: -83.3MB). Peak memory consumption was 10.7MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - UnsupportedSyntaxResult [Line: 1284]: Unsupported Syntax Found a cast between two array/pointer types of different sizes while using memory model HoenickeLindenmann_Original (while Not using bitvector translation) RESULT: Ultimate could not prove your program: Toolchain returned no result. 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: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9ef41997-0393-4a56-844f-3ff73822f7ff/bin/uautomizer-ug76WZFUDN/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9ef41997-0393-4a56-844f-3ff73822f7ff/bin/uautomizer-ug76WZFUDN/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9ef41997-0393-4a56-844f-3ff73822f7ff/bin/uautomizer-ug76WZFUDN/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9ef41997-0393-4a56-844f-3ff73822f7ff/bin/uautomizer-ug76WZFUDN/config/AutomizerMemDerefMemtrack.xml -i ../../sv-benchmarks/c/pthread/twostage_3.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9ef41997-0393-4a56-844f-3ff73822f7ff/bin/uautomizer-ug76WZFUDN/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9ef41997-0393-4a56-844f-3ff73822f7ff/bin/uautomizer-ug76WZFUDN --witnessprinter.witness.filename witness.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 9e65812efd79e833978ab1548160841e061a451f72b6ff490ed9b7c0a593a91c --- Real Ultimate output --- [0.001s][warning][os,container] Duplicate cpuset controllers detected. Picking /sys/fs/cgroup/cpuset, skipping /sys/fs/cgroup/cpuset. This is Ultimate 0.2.2-dev-6b4ec56 [2022-11-20 11:58:08,389 INFO L177 SettingsManager]: Resetting all preferences to default values... [2022-11-20 11:58:08,393 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2022-11-20 11:58:08,450 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2022-11-20 11:58:08,451 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2022-11-20 11:58:08,456 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2022-11-20 11:58:08,460 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2022-11-20 11:58:08,464 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2022-11-20 11:58:08,468 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2022-11-20 11:58:08,475 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2022-11-20 11:58:08,479 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2022-11-20 11:58:08,481 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2022-11-20 11:58:08,482 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2022-11-20 11:58:08,485 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2022-11-20 11:58:08,488 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2022-11-20 11:58:08,494 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2022-11-20 11:58:08,498 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2022-11-20 11:58:08,499 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2022-11-20 11:58:08,502 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2022-11-20 11:58:08,506 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2022-11-20 11:58:08,511 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2022-11-20 11:58:08,515 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2022-11-20 11:58:08,518 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2022-11-20 11:58:08,519 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2022-11-20 11:58:08,531 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2022-11-20 11:58:08,533 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2022-11-20 11:58:08,534 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2022-11-20 11:58:08,536 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2022-11-20 11:58:08,538 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2022-11-20 11:58:08,539 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2022-11-20 11:58:08,540 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2022-11-20 11:58:08,542 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2022-11-20 11:58:08,544 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2022-11-20 11:58:08,545 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2022-11-20 11:58:08,546 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2022-11-20 11:58:08,547 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2022-11-20 11:58:08,548 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2022-11-20 11:58:08,549 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2022-11-20 11:58:08,549 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2022-11-20 11:58:08,551 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2022-11-20 11:58:08,552 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2022-11-20 11:58:08,558 INFO L101 SettingsManager]: Beginning loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9ef41997-0393-4a56-844f-3ff73822f7ff/bin/uautomizer-ug76WZFUDN/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Bitvector.epf [2022-11-20 11:58:08,611 INFO L113 SettingsManager]: Loading preferences was successful [2022-11-20 11:58:08,611 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2022-11-20 11:58:08,613 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2022-11-20 11:58:08,614 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2022-11-20 11:58:08,615 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2022-11-20 11:58:08,616 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2022-11-20 11:58:08,617 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2022-11-20 11:58:08,617 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2022-11-20 11:58:08,617 INFO L138 SettingsManager]: * Use SBE=true [2022-11-20 11:58:08,618 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2022-11-20 11:58:08,619 INFO L138 SettingsManager]: * sizeof long=4 [2022-11-20 11:58:08,620 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2022-11-20 11:58:08,620 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2022-11-20 11:58:08,621 INFO L138 SettingsManager]: * sizeof POINTER=4 [2022-11-20 11:58:08,621 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2022-11-20 11:58:08,621 INFO L138 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2022-11-20 11:58:08,622 INFO L138 SettingsManager]: * Bitprecise bitfields=true [2022-11-20 11:58:08,622 INFO L138 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2022-11-20 11:58:08,622 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2022-11-20 11:58:08,623 INFO L138 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2022-11-20 11:58:08,623 INFO L138 SettingsManager]: * Use bitvectors instead of ints=true [2022-11-20 11:58:08,624 INFO L138 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2022-11-20 11:58:08,624 INFO L138 SettingsManager]: * sizeof long double=12 [2022-11-20 11:58:08,624 INFO L138 SettingsManager]: * Use constant arrays=true [2022-11-20 11:58:08,625 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2022-11-20 11:58:08,625 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2022-11-20 11:58:08,626 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2022-11-20 11:58:08,626 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2022-11-20 11:58:08,626 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2022-11-20 11:58:08,627 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2022-11-20 11:58:08,627 INFO L138 SettingsManager]: * Trace refinement strategy=WOLF [2022-11-20 11:58:08,628 INFO L138 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2022-11-20 11:58:08,628 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2022-11-20 11:58:08,629 INFO L138 SettingsManager]: * Logic for external solver=AUFBV WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9ef41997-0393-4a56-844f-3ff73822f7ff/bin/uautomizer-ug76WZFUDN/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.witnessprinter: Witness directory -> /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9ef41997-0393-4a56-844f-3ff73822f7ff/bin/uautomizer-ug76WZFUDN Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness.graphml Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 9e65812efd79e833978ab1548160841e061a451f72b6ff490ed9b7c0a593a91c [2022-11-20 11:58:09,150 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2022-11-20 11:58:09,188 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2022-11-20 11:58:09,192 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2022-11-20 11:58:09,193 INFO L271 PluginConnector]: Initializing CDTParser... [2022-11-20 11:58:09,194 INFO L275 PluginConnector]: CDTParser initialized [2022-11-20 11:58:09,196 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9ef41997-0393-4a56-844f-3ff73822f7ff/bin/uautomizer-ug76WZFUDN/../../sv-benchmarks/c/pthread/twostage_3.i [2022-11-20 11:58:13,167 INFO L500 CDTParser]: Created temporary CDT project at NULL [2022-11-20 11:58:13,702 INFO L351 CDTParser]: Found 1 translation units. [2022-11-20 11:58:13,703 INFO L172 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9ef41997-0393-4a56-844f-3ff73822f7ff/sv-benchmarks/c/pthread/twostage_3.i [2022-11-20 11:58:13,734 INFO L394 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9ef41997-0393-4a56-844f-3ff73822f7ff/bin/uautomizer-ug76WZFUDN/data/5d8cf0c68/0e10506ee0ad4e059fb6219b79aed5ce/FLAGf3e2861b0 [2022-11-20 11:58:13,760 INFO L402 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9ef41997-0393-4a56-844f-3ff73822f7ff/bin/uautomizer-ug76WZFUDN/data/5d8cf0c68/0e10506ee0ad4e059fb6219b79aed5ce [2022-11-20 11:58:13,764 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2022-11-20 11:58:13,766 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2022-11-20 11:58:13,769 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2022-11-20 11:58:13,770 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2022-11-20 11:58:13,775 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2022-11-20 11:58:13,776 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 20.11 11:58:13" (1/1) ... [2022-11-20 11:58:13,777 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@2ee473db and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.11 11:58:13, skipping insertion in model container [2022-11-20 11:58:13,778 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 20.11 11:58:13" (1/1) ... [2022-11-20 11:58:13,788 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2022-11-20 11:58:13,862 INFO L178 MainTranslator]: Built tables and reachable declarations [2022-11-20 11:58:14,802 WARN L237 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9ef41997-0393-4a56-844f-3ff73822f7ff/sv-benchmarks/c/pthread/twostage_3.i[58991,59004] [2022-11-20 11:58:14,845 WARN L1569 CHandler]: Possible shadowing of function lock [2022-11-20 11:58:14,851 WARN L1569 CHandler]: Possible shadowing of function lock [2022-11-20 11:58:14,853 INFO L210 PostProcessor]: Analyzing one entry point: main [2022-11-20 11:58:14,869 INFO L200 MainTranslator]: Restarting translation with changed settings: SettingsChange [mNewPreferredMemoryModel=HoenickeLindenmann_1ByteResolution] [2022-11-20 11:58:14,884 INFO L178 MainTranslator]: Built tables and reachable declarations [2022-11-20 11:58:14,921 WARN L237 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9ef41997-0393-4a56-844f-3ff73822f7ff/sv-benchmarks/c/pthread/twostage_3.i[58991,59004] [2022-11-20 11:58:14,933 WARN L1569 CHandler]: Possible shadowing of function lock [2022-11-20 11:58:14,934 WARN L1569 CHandler]: Possible shadowing of function lock [2022-11-20 11:58:14,936 INFO L210 PostProcessor]: Analyzing one entry point: main [2022-11-20 11:58:14,942 INFO L203 MainTranslator]: Completed pre-run [2022-11-20 11:58:14,988 WARN L237 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9ef41997-0393-4a56-844f-3ff73822f7ff/sv-benchmarks/c/pthread/twostage_3.i[58991,59004] [2022-11-20 11:58:14,993 FATAL L? ?]: The Plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator has thrown an exception: java.lang.NullPointerException at java.base/java.math.BigInteger.compareTo(BigInteger.java:3763) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.chandler.TypeSizes.extractIntegerValue(TypeSizes.java:362) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.chandler.TypeSizes.extractIntegerValue(TypeSizes.java:350) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.chandler.TypeSizeAndOffsetComputer.extractSizeTValue(TypeSizeAndOffsetComputer.java:343) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.chandler.TypeSizeAndOffsetComputer.constructSizeTValue_Array(TypeSizeAndOffsetComputer.java:234) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.chandler.TypeSizeAndOffsetComputer.computeSize(TypeSizeAndOffsetComputer.java:202) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.chandler.TypeSizeAndOffsetComputer.constructBytesizeExpression(TypeSizeAndOffsetComputer.java:122) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.chandler.MemoryHandler.calculateSizeOf(MemoryHandler.java:466) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.chandler.MemoryHandler.getUltimateMemAllocCall(MemoryHandler.java:862) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.handleIASTDeclarator(CHandler.java:2944) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:2165) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.MainDispatcher.dispatch(MainDispatcher.java:281) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:1141) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.MainDispatcher.dispatch(MainDispatcher.java:320) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:1087) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.MainDispatcher.dispatch(MainDispatcher.java:334) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.chandler.FunctionHandler.handleFunctionDefinition(FunctionHandler.java:371) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:1489) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.MainDispatcher.dispatch(MainDispatcher.java:289) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.processTUchild(CHandler.java:3314) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:2388) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:600) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.MainDispatcher.dispatch(MainDispatcher.java:270) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.MainTranslator.performMainRun(MainTranslator.java:244) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.MainTranslator.translate(MainTranslator.java:206) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.MainTranslator.run(MainTranslator.java:115) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.MainTranslator.(MainTranslator.java:93) at de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver.finish(CACSL2BoogieTranslatorObserver.java:128) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runObserver(PluginConnector.java:168) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runTool(PluginConnector.java:151) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.run(PluginConnector.java:128) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.executePluginConnector(ToolchainWalker.java:232) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.processPlugin(ToolchainWalker.java:226) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walkUnprotected(ToolchainWalker.java:142) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walk(ToolchainWalker.java:104) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainManager$Toolchain.processToolchain(ToolchainManager.java:320) at de.uni_freiburg.informatik.ultimate.core.coreplugin.toolchain.DefaultToolchainJob.run(DefaultToolchainJob.java:145) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63) [2022-11-20 11:58:14,999 INFO L158 Benchmark]: Toolchain (without parser) took 1231.48ms. Allocated memory is still 71.3MB. Free memory was 47.3MB in the beginning and 35.3MB in the end (delta: 12.0MB). Peak memory consumption was 19.6MB. Max. memory is 16.1GB. [2022-11-20 11:58:14,999 INFO L158 Benchmark]: CDTParser took 0.35ms. Allocated memory is still 54.5MB. Free memory is still 32.4MB. There was no memory consumed. Max. memory is 16.1GB. [2022-11-20 11:58:15,000 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1226.96ms. Allocated memory is still 71.3MB. Free memory was 47.1MB in the beginning and 35.3MB in the end (delta: 11.8MB). Peak memory consumption was 17.5MB. Max. memory is 16.1GB. [2022-11-20 11:58:15,002 INFO L339 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.35ms. Allocated memory is still 54.5MB. Free memory is still 32.4MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1226.96ms. Allocated memory is still 71.3MB. Free memory was 47.1MB in the beginning and 35.3MB in the end (delta: 11.8MB). Peak memory consumption was 17.5MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - ExceptionOrErrorResult: NullPointerException: null de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: NullPointerException: null: java.base/java.math.BigInteger.compareTo(BigInteger.java:3763) RESULT: Ultimate could not prove your program: Toolchain returned no result. Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: ERROR: ExceptionOrErrorResult: NullPointerException: null