./Ultimate.py --spec ../../sv-benchmarks/c/properties/valid-memsafety.prp --file ../../sv-benchmarks/c/array-memsafety/reverse_array_unsafe.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version 63182f13 Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_906a9f21-5ccd-403b-83ce-3920da95a06e/bin/ukojak-2xVlg8857e/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_906a9f21-5ccd-403b-83ce-3920da95a06e/bin/ukojak-2xVlg8857e/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_906a9f21-5ccd-403b-83ce-3920da95a06e/bin/ukojak-2xVlg8857e/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_906a9f21-5ccd-403b-83ce-3920da95a06e/bin/ukojak-2xVlg8857e/config/KojakMemDerefMemtrack.xml -i ../../sv-benchmarks/c/array-memsafety/reverse_array_unsafe.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_906a9f21-5ccd-403b-83ce-3920da95a06e/bin/ukojak-2xVlg8857e/config/svcomp-DerefFreeMemtrack-32bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_906a9f21-5ccd-403b-83ce-3920da95a06e/bin/ukojak-2xVlg8857e --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 Kojak --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash bb17be6c5036a92a96f9e04e4f3a4e1575c4abfe5b11b351c9bb22d6c30d006f --- Real Ultimate output --- This is Ultimate 0.2.1-dev-63182f1 [2021-11-13 23:21:27,558 INFO L177 SettingsManager]: Resetting all preferences to default values... [2021-11-13 23:21:27,561 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2021-11-13 23:21:27,608 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2021-11-13 23:21:27,608 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2021-11-13 23:21:27,612 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2021-11-13 23:21:27,616 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2021-11-13 23:21:27,620 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2021-11-13 23:21:27,623 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2021-11-13 23:21:27,629 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2021-11-13 23:21:27,631 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2021-11-13 23:21:27,633 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2021-11-13 23:21:27,634 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2021-11-13 23:21:27,637 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2021-11-13 23:21:27,640 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2021-11-13 23:21:27,643 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2021-11-13 23:21:27,648 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2021-11-13 23:21:27,649 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2021-11-13 23:21:27,654 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2021-11-13 23:21:27,664 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2021-11-13 23:21:27,666 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2021-11-13 23:21:27,667 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2021-11-13 23:21:27,670 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2021-11-13 23:21:27,672 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2021-11-13 23:21:27,681 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2021-11-13 23:21:27,681 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2021-11-13 23:21:27,682 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2021-11-13 23:21:27,684 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2021-11-13 23:21:27,685 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2021-11-13 23:21:27,687 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2021-11-13 23:21:27,688 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2021-11-13 23:21:27,689 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2021-11-13 23:21:27,691 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2021-11-13 23:21:27,692 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2021-11-13 23:21:27,694 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2021-11-13 23:21:27,695 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2021-11-13 23:21:27,695 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2021-11-13 23:21:27,696 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2021-11-13 23:21:27,696 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2021-11-13 23:21:27,697 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2021-11-13 23:21:27,697 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2021-11-13 23:21:27,699 INFO L101 SettingsManager]: Beginning loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_906a9f21-5ccd-403b-83ce-3920da95a06e/bin/ukojak-2xVlg8857e/config/svcomp-DerefFreeMemtrack-32bit-Kojak_Default.epf [2021-11-13 23:21:27,739 INFO L113 SettingsManager]: Loading preferences was successful [2021-11-13 23:21:27,739 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2021-11-13 23:21:27,741 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2021-11-13 23:21:27,741 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2021-11-13 23:21:27,741 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2021-11-13 23:21:27,741 INFO L138 SettingsManager]: * sizeof long=4 [2021-11-13 23:21:27,742 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2021-11-13 23:21:27,742 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2021-11-13 23:21:27,742 INFO L138 SettingsManager]: * sizeof POINTER=4 [2021-11-13 23:21:27,742 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2021-11-13 23:21:27,748 INFO L138 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2021-11-13 23:21:27,749 INFO L138 SettingsManager]: * Bitprecise bitfields=true [2021-11-13 23:21:27,749 INFO L138 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2021-11-13 23:21:27,749 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2021-11-13 23:21:27,749 INFO L138 SettingsManager]: * sizeof long double=12 [2021-11-13 23:21:27,750 INFO L138 SettingsManager]: * Use constant arrays=true [2021-11-13 23:21:27,750 INFO L136 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2021-11-13 23:21:27,750 INFO L138 SettingsManager]: * Timeout in seconds=1000000 [2021-11-13 23:21:27,750 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2021-11-13 23:21:27,750 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2021-11-13 23:21:27,751 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2021-11-13 23:21:27,751 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2021-11-13 23:21:27,751 INFO L138 SettingsManager]: * Trace refinement strategy=PENGUIN [2021-11-13 23:21:27,751 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2021-11-13 23:21:27,752 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_906a9f21-5ccd-403b-83ce-3920da95a06e/bin/ukojak-2xVlg8857e/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_906a9f21-5ccd-403b-83ce-3920da95a06e/bin/ukojak-2xVlg8857e 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 -> Kojak 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 -> bb17be6c5036a92a96f9e04e4f3a4e1575c4abfe5b11b351c9bb22d6c30d006f [2021-11-13 23:21:28,134 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2021-11-13 23:21:28,164 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2021-11-13 23:21:28,167 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2021-11-13 23:21:28,168 INFO L271 PluginConnector]: Initializing CDTParser... [2021-11-13 23:21:28,169 INFO L275 PluginConnector]: CDTParser initialized [2021-11-13 23:21:28,170 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_906a9f21-5ccd-403b-83ce-3920da95a06e/bin/ukojak-2xVlg8857e/../../sv-benchmarks/c/array-memsafety/reverse_array_unsafe.i [2021-11-13 23:21:28,265 INFO L220 CDTParser]: Created temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_906a9f21-5ccd-403b-83ce-3920da95a06e/bin/ukojak-2xVlg8857e/data/48566b0cb/a94204e0ff4246d5aa0c879c061b4fab/FLAG0854903a1 [2021-11-13 23:21:28,892 INFO L306 CDTParser]: Found 1 translation units. [2021-11-13 23:21:28,893 INFO L160 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_906a9f21-5ccd-403b-83ce-3920da95a06e/sv-benchmarks/c/array-memsafety/reverse_array_unsafe.i [2021-11-13 23:21:28,905 INFO L349 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_906a9f21-5ccd-403b-83ce-3920da95a06e/bin/ukojak-2xVlg8857e/data/48566b0cb/a94204e0ff4246d5aa0c879c061b4fab/FLAG0854903a1 [2021-11-13 23:21:29,191 INFO L357 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_906a9f21-5ccd-403b-83ce-3920da95a06e/bin/ukojak-2xVlg8857e/data/48566b0cb/a94204e0ff4246d5aa0c879c061b4fab [2021-11-13 23:21:29,194 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2021-11-13 23:21:29,197 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2021-11-13 23:21:29,204 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2021-11-13 23:21:29,204 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2021-11-13 23:21:29,208 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2021-11-13 23:21:29,209 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 11:21:29" (1/1) ... [2021-11-13 23:21:29,211 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@42910751 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:21:29, skipping insertion in model container [2021-11-13 23:21:29,215 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 11:21:29" (1/1) ... [2021-11-13 23:21:29,225 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2021-11-13 23:21:29,274 INFO L178 MainTranslator]: Built tables and reachable declarations [2021-11-13 23:21:29,553 INFO L206 PostProcessor]: Analyzing one entry point: main [2021-11-13 23:21:29,561 INFO L203 MainTranslator]: Completed pre-run [2021-11-13 23:21:29,609 INFO L206 PostProcessor]: Analyzing one entry point: main [2021-11-13 23:21:29,656 INFO L208 MainTranslator]: Completed translation [2021-11-13 23:21:29,657 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:21:29 WrapperNode [2021-11-13 23:21:29,657 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2021-11-13 23:21:29,659 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2021-11-13 23:21:29,659 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2021-11-13 23:21:29,659 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2021-11-13 23:21:29,668 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:21:29" (1/1) ... [2021-11-13 23:21:29,707 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:21:29" (1/1) ... [2021-11-13 23:21:29,752 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2021-11-13 23:21:29,753 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2021-11-13 23:21:29,753 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2021-11-13 23:21:29,754 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2021-11-13 23:21:29,763 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:21:29" (1/1) ... [2021-11-13 23:21:29,764 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:21:29" (1/1) ... [2021-11-13 23:21:29,770 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:21:29" (1/1) ... [2021-11-13 23:21:29,771 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:21:29" (1/1) ... [2021-11-13 23:21:29,777 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:21:29" (1/1) ... [2021-11-13 23:21:29,782 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:21:29" (1/1) ... [2021-11-13 23:21:29,784 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:21:29" (1/1) ... [2021-11-13 23:21:29,791 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2021-11-13 23:21:29,793 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2021-11-13 23:21:29,794 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2021-11-13 23:21:29,794 INFO L275 PluginConnector]: RCFGBuilder initialized [2021-11-13 23:21:29,796 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:21:29" (1/1) ... [2021-11-13 23:21:29,806 INFO L168 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2021-11-13 23:21:29,821 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_906a9f21-5ccd-403b-83ce-3920da95a06e/bin/ukojak-2xVlg8857e/z3 [2021-11-13 23:21:29,838 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_906a9f21-5ccd-403b-83ce-3920da95a06e/bin/ukojak-2xVlg8857e/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2021-11-13 23:21:29,841 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_906a9f21-5ccd-403b-83ce-3920da95a06e/bin/ukojak-2xVlg8857e/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2021-11-13 23:21:29,880 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2021-11-13 23:21:29,881 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2021-11-13 23:21:29,881 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2021-11-13 23:21:29,881 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2021-11-13 23:21:29,882 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2021-11-13 23:21:29,882 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2021-11-13 23:21:30,393 INFO L294 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2021-11-13 23:21:30,393 INFO L299 CfgBuilder]: Removed 3 assume(true) statements. [2021-11-13 23:21:30,396 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 11:21:30 BoogieIcfgContainer [2021-11-13 23:21:30,396 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2021-11-13 23:21:30,397 INFO L113 PluginConnector]: ------------------------CodeCheck---------------------------- [2021-11-13 23:21:30,397 INFO L271 PluginConnector]: Initializing CodeCheck... [2021-11-13 23:21:30,413 INFO L275 PluginConnector]: CodeCheck initialized [2021-11-13 23:21:30,414 INFO L185 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 11:21:30" (1/1) ... [2021-11-13 23:21:30,424 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-11-13 23:21:30,486 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2021-11-13 23:21:30,494 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 49 states to 44 states and 49 transitions. [2021-11-13 23:21:30,494 INFO L276 IsEmpty]: Start isEmpty. Operand 44 states and 49 transitions. [2021-11-13 23:21:30,496 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 4 [2021-11-13 23:21:30,496 INFO L422 CodeCheckObserver]: Error Path is FOUND. [2021-11-13 23:21:30,497 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-11-13 23:21:30,598 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-11-13 23:21:30,704 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-11-13 23:21:30,779 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2021-11-13 23:21:30,783 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 48 states to 43 states and 48 transitions. [2021-11-13 23:21:30,784 INFO L276 IsEmpty]: Start isEmpty. Operand 43 states and 48 transitions. [2021-11-13 23:21:30,784 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 4 [2021-11-13 23:21:30,784 INFO L422 CodeCheckObserver]: Error Path is FOUND. [2021-11-13 23:21:30,785 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-11-13 23:21:30,825 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-11-13 23:21:30,825 INFO L355 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-11-13 23:21:30,847 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-11-13 23:21:30,882 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-11-13 23:21:30,882 INFO L355 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-11-13 23:21:30,891 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-11-13 23:21:30,906 WARN L475 CodeCheckObserver]: This program is UNSAFE, Check terminated with 2 iterations. [2021-11-13 23:21:30,929 FATAL L? ?]: The Plugin de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck has thrown an exception: java.lang.NullPointerException at de.uni_freiburg.informatik.ultimate.boogie.procedureinliner.backtranslation.InlinerBacktranslator.computeCurrectProc(InlinerBacktranslator.java:230) at de.uni_freiburg.informatik.ultimate.boogie.procedureinliner.backtranslation.InlinerBacktranslator.translateProgramExecution(InlinerBacktranslator.java:203) at de.uni_freiburg.informatik.ultimate.core.coreplugin.services.ModelTranslationContainer.translateProgramExecution(ModelTranslationContainer.java:216) at de.uni_freiburg.informatik.ultimate.core.coreplugin.services.ModelTranslationContainer.translateProgramExecution(ModelTranslationContainer.java:225) at de.uni_freiburg.informatik.ultimate.core.coreplugin.services.ModelTranslationContainer.translateProgramExecution(ModelTranslationContainer.java:225) at de.uni_freiburg.informatik.ultimate.core.coreplugin.services.ModelTranslationContainer.translateProgramExecution(ModelTranslationContainer.java:206) at de.uni_freiburg.informatik.ultimate.core.lib.results.CounterExampleResult.getProgramExecutionAsString(CounterExampleResult.java:155) at de.uni_freiburg.informatik.ultimate.core.lib.results.CounterExampleResult.getLongDescription(CounterExampleResult.java:134) at de.uni_freiburg.informatik.ultimate.core.coreplugin.services.ResultService.reportResult(ResultService.java:86) at de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.CodeCheckObserver.reportResult(CodeCheckObserver.java:793) at de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.CodeCheckObserver.reportCounterexampleResult(CodeCheckObserver.java:763) at de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.CodeCheckObserver.process(CodeCheckObserver.java:524) at de.uni_freiburg.informatik.ultimate.core.coreplugin.modelwalker.CFGWalker.runObserver(CFGWalker.java:57) at de.uni_freiburg.informatik.ultimate.core.coreplugin.modelwalker.BaseWalker.runObserver(BaseWalker.java:93) at de.uni_freiburg.informatik.ultimate.core.coreplugin.modelwalker.BaseWalker.run(BaseWalker.java:86) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runObserver(PluginConnector.java:167) 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) [2021-11-13 23:21:30,933 INFO L158 Benchmark]: Toolchain (without parser) took 1734.52ms. Allocated memory was 109.1MB in the beginning and 132.1MB in the end (delta: 23.1MB). Free memory was 78.7MB in the beginning and 63.5MB in the end (delta: 15.2MB). Peak memory consumption was 34.4MB. Max. memory is 16.1GB. [2021-11-13 23:21:30,933 INFO L158 Benchmark]: CDTParser took 0.56ms. Allocated memory is still 109.1MB. Free memory was 68.1MB in the beginning and 68.1MB in the end (delta: 83.9kB). There was no memory consumed. Max. memory is 16.1GB. [2021-11-13 23:21:30,934 INFO L158 Benchmark]: CACSL2BoogieTranslator took 454.05ms. Allocated memory was 109.1MB in the beginning and 132.1MB in the end (delta: 23.1MB). Free memory was 78.7MB in the beginning and 100.2MB in the end (delta: -21.5MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2021-11-13 23:21:30,935 INFO L158 Benchmark]: Boogie Procedure Inliner took 93.58ms. Allocated memory is still 132.1MB. Free memory was 100.2MB in the beginning and 98.1MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2021-11-13 23:21:30,936 INFO L158 Benchmark]: Boogie Preprocessor took 38.59ms. Allocated memory is still 132.1MB. Free memory was 98.1MB in the beginning and 97.1MB in the end (delta: 939.4kB). There was no memory consumed. Max. memory is 16.1GB. [2021-11-13 23:21:30,937 INFO L158 Benchmark]: RCFGBuilder took 603.71ms. Allocated memory is still 132.1MB. Free memory was 97.0MB in the beginning and 80.5MB in the end (delta: 16.6MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2021-11-13 23:21:30,942 INFO L158 Benchmark]: CodeCheck took 533.61ms. Allocated memory is still 132.1MB. Free memory was 80.5MB in the beginning and 63.5MB in the end (delta: 17.0MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2021-11-13 23:21:30,950 INFO L339 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck: - StatisticsResult: Ultimate CodeCheck benchmark data CFG has 1 procedures, 44 locations, 23 error locations. Started 1 CEGAR loops. OverallTime: 0.5s, OverallIterations: 2, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, PartialOrderReductionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 3 SdHoareTripleChecker+Valid, 36.76ms IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 3 mSDsluCounter, 4 SdHoareTripleChecker+Invalid, 33.40ms Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 2 mSDsCounter, 3 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 8 IncrementalHoareTripleChecker+Invalid, 11 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 3 mSolverCounterUnsat, 2 mSDtfsCounter, 8 mSolverCounterSat, 0.66ms SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 21 GetRequests, 19 SyntacticMatches, 0 SemanticMatches, 2 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.1s InterpolantComputationTime, 6 NumberOfCodeBlocks, 6 NumberOfCodeBlocksAsserted, 2 NumberOfCheckSat, 2 ConstructedInterpolants, 0 QuantifiedInterpolants, 10 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 1 InterpolantComputations, 1 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: No data available, ReuseStatistics: No data available - ExceptionOrErrorResult: NullPointerException: null de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck: NullPointerException: null: de.uni_freiburg.informatik.ultimate.boogie.procedureinliner.backtranslation.InlinerBacktranslator.computeCurrectProc(InlinerBacktranslator.java:230) * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.56ms. Allocated memory is still 109.1MB. Free memory was 68.1MB in the beginning and 68.1MB in the end (delta: 83.9kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 454.05ms. Allocated memory was 109.1MB in the beginning and 132.1MB in the end (delta: 23.1MB). Free memory was 78.7MB in the beginning and 100.2MB in the end (delta: -21.5MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 93.58ms. Allocated memory is still 132.1MB. Free memory was 100.2MB in the beginning and 98.1MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 38.59ms. Allocated memory is still 132.1MB. Free memory was 98.1MB in the beginning and 97.1MB in the end (delta: 939.4kB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 603.71ms. Allocated memory is still 132.1MB. Free memory was 97.0MB in the beginning and 80.5MB in the end (delta: 16.6MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 533.61ms. Allocated memory is still 132.1MB. Free memory was 80.5MB in the beginning and 63.5MB in the end (delta: 17.0MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: Toolchain returned no result. [2021-11-13 23:21:31,004 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_906a9f21-5ccd-403b-83ce-3920da95a06e/bin/ukojak-2xVlg8857e/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Ended with exit code 0 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/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_906a9f21-5ccd-403b-83ce-3920da95a06e/bin/ukojak-2xVlg8857e/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_906a9f21-5ccd-403b-83ce-3920da95a06e/bin/ukojak-2xVlg8857e/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_906a9f21-5ccd-403b-83ce-3920da95a06e/bin/ukojak-2xVlg8857e/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_906a9f21-5ccd-403b-83ce-3920da95a06e/bin/ukojak-2xVlg8857e/config/KojakMemDerefMemtrack.xml -i ../../sv-benchmarks/c/array-memsafety/reverse_array_unsafe.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_906a9f21-5ccd-403b-83ce-3920da95a06e/bin/ukojak-2xVlg8857e/config/svcomp-DerefFreeMemtrack-32bit-Kojak_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_906a9f21-5ccd-403b-83ce-3920da95a06e/bin/ukojak-2xVlg8857e --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 Kojak --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash bb17be6c5036a92a96f9e04e4f3a4e1575c4abfe5b11b351c9bb22d6c30d006f --- Real Ultimate output --- This is Ultimate 0.2.1-dev-63182f1 [2021-11-13 23:21:33,731 INFO L177 SettingsManager]: Resetting all preferences to default values... [2021-11-13 23:21:33,735 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2021-11-13 23:21:33,791 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2021-11-13 23:21:33,792 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2021-11-13 23:21:33,797 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2021-11-13 23:21:33,800 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2021-11-13 23:21:33,805 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2021-11-13 23:21:33,809 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2021-11-13 23:21:33,815 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2021-11-13 23:21:33,819 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2021-11-13 23:21:33,822 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2021-11-13 23:21:33,822 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2021-11-13 23:21:33,825 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2021-11-13 23:21:33,828 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2021-11-13 23:21:33,835 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2021-11-13 23:21:33,837 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2021-11-13 23:21:33,838 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2021-11-13 23:21:33,841 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2021-11-13 23:21:33,852 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2021-11-13 23:21:33,855 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2021-11-13 23:21:33,857 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2021-11-13 23:21:33,860 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2021-11-13 23:21:33,862 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2021-11-13 23:21:33,867 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2021-11-13 23:21:33,867 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2021-11-13 23:21:33,868 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2021-11-13 23:21:33,870 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2021-11-13 23:21:33,871 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2021-11-13 23:21:33,873 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2021-11-13 23:21:33,873 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2021-11-13 23:21:33,874 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2021-11-13 23:21:33,876 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2021-11-13 23:21:33,878 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2021-11-13 23:21:33,879 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2021-11-13 23:21:33,880 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2021-11-13 23:21:33,881 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2021-11-13 23:21:33,881 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2021-11-13 23:21:33,882 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2021-11-13 23:21:33,884 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2021-11-13 23:21:33,885 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2021-11-13 23:21:33,886 INFO L101 SettingsManager]: Beginning loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_906a9f21-5ccd-403b-83ce-3920da95a06e/bin/ukojak-2xVlg8857e/config/svcomp-DerefFreeMemtrack-32bit-Kojak_Bitvector.epf [2021-11-13 23:21:33,955 INFO L113 SettingsManager]: Loading preferences was successful [2021-11-13 23:21:33,955 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2021-11-13 23:21:33,958 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2021-11-13 23:21:33,958 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2021-11-13 23:21:33,958 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2021-11-13 23:21:33,959 INFO L138 SettingsManager]: * sizeof long=4 [2021-11-13 23:21:33,959 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2021-11-13 23:21:33,959 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2021-11-13 23:21:33,959 INFO L138 SettingsManager]: * sizeof POINTER=4 [2021-11-13 23:21:33,959 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2021-11-13 23:21:33,961 INFO L138 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2021-11-13 23:21:33,961 INFO L138 SettingsManager]: * Bitprecise bitfields=true [2021-11-13 23:21:33,961 INFO L138 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2021-11-13 23:21:33,961 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2021-11-13 23:21:33,961 INFO L138 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2021-11-13 23:21:33,962 INFO L138 SettingsManager]: * Use bitvectors instead of ints=true [2021-11-13 23:21:33,962 INFO L138 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2021-11-13 23:21:33,962 INFO L138 SettingsManager]: * sizeof long double=12 [2021-11-13 23:21:33,962 INFO L138 SettingsManager]: * Use constant arrays=true [2021-11-13 23:21:33,962 INFO L136 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2021-11-13 23:21:33,963 INFO L138 SettingsManager]: * Timeout in seconds=1000000 [2021-11-13 23:21:33,963 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2021-11-13 23:21:33,963 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2021-11-13 23:21:33,963 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2021-11-13 23:21:33,964 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2021-11-13 23:21:33,964 INFO L138 SettingsManager]: * Trace refinement strategy=WALRUS [2021-11-13 23:21:33,964 INFO L138 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2021-11-13 23:21:33,964 INFO L138 SettingsManager]: * Use separate solver for trace checks=false [2021-11-13 23:21:33,964 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2021-11-13 23:21:33,964 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_906a9f21-5ccd-403b-83ce-3920da95a06e/bin/ukojak-2xVlg8857e/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_906a9f21-5ccd-403b-83ce-3920da95a06e/bin/ukojak-2xVlg8857e 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 -> Kojak 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 -> bb17be6c5036a92a96f9e04e4f3a4e1575c4abfe5b11b351c9bb22d6c30d006f [2021-11-13 23:21:34,409 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2021-11-13 23:21:34,437 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2021-11-13 23:21:34,440 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2021-11-13 23:21:34,442 INFO L271 PluginConnector]: Initializing CDTParser... [2021-11-13 23:21:34,443 INFO L275 PluginConnector]: CDTParser initialized [2021-11-13 23:21:34,445 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_906a9f21-5ccd-403b-83ce-3920da95a06e/bin/ukojak-2xVlg8857e/../../sv-benchmarks/c/array-memsafety/reverse_array_unsafe.i [2021-11-13 23:21:34,524 INFO L220 CDTParser]: Created temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_906a9f21-5ccd-403b-83ce-3920da95a06e/bin/ukojak-2xVlg8857e/data/6cc6413cd/5681c7fc3a0b4ab58f54192d47e50c64/FLAG885942f07 [2021-11-13 23:21:35,266 INFO L306 CDTParser]: Found 1 translation units. [2021-11-13 23:21:35,268 INFO L160 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_906a9f21-5ccd-403b-83ce-3920da95a06e/sv-benchmarks/c/array-memsafety/reverse_array_unsafe.i [2021-11-13 23:21:35,293 INFO L349 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_906a9f21-5ccd-403b-83ce-3920da95a06e/bin/ukojak-2xVlg8857e/data/6cc6413cd/5681c7fc3a0b4ab58f54192d47e50c64/FLAG885942f07 [2021-11-13 23:21:35,503 INFO L357 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_906a9f21-5ccd-403b-83ce-3920da95a06e/bin/ukojak-2xVlg8857e/data/6cc6413cd/5681c7fc3a0b4ab58f54192d47e50c64 [2021-11-13 23:21:35,507 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2021-11-13 23:21:35,510 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2021-11-13 23:21:35,516 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2021-11-13 23:21:35,516 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2021-11-13 23:21:35,520 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2021-11-13 23:21:35,522 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 11:21:35" (1/1) ... [2021-11-13 23:21:35,525 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@1919e9fb and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:21:35, skipping insertion in model container [2021-11-13 23:21:35,525 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 11:21:35" (1/1) ... [2021-11-13 23:21:35,535 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2021-11-13 23:21:35,606 INFO L178 MainTranslator]: Built tables and reachable declarations [2021-11-13 23:21:36,051 INFO L206 PostProcessor]: Analyzing one entry point: main [2021-11-13 23:21:36,065 INFO L203 MainTranslator]: Completed pre-run [2021-11-13 23:21:36,140 INFO L206 PostProcessor]: Analyzing one entry point: main [2021-11-13 23:21:36,172 INFO L208 MainTranslator]: Completed translation [2021-11-13 23:21:36,173 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:21:36 WrapperNode [2021-11-13 23:21:36,173 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2021-11-13 23:21:36,174 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2021-11-13 23:21:36,174 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2021-11-13 23:21:36,174 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2021-11-13 23:21:36,182 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:21:36" (1/1) ... [2021-11-13 23:21:36,222 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:21:36" (1/1) ... [2021-11-13 23:21:36,260 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2021-11-13 23:21:36,261 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2021-11-13 23:21:36,261 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2021-11-13 23:21:36,261 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2021-11-13 23:21:36,270 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:21:36" (1/1) ... [2021-11-13 23:21:36,270 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:21:36" (1/1) ... [2021-11-13 23:21:36,274 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:21:36" (1/1) ... [2021-11-13 23:21:36,274 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:21:36" (1/1) ... [2021-11-13 23:21:36,283 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:21:36" (1/1) ... [2021-11-13 23:21:36,287 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:21:36" (1/1) ... [2021-11-13 23:21:36,289 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:21:36" (1/1) ... [2021-11-13 23:21:36,292 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2021-11-13 23:21:36,293 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2021-11-13 23:21:36,293 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2021-11-13 23:21:36,293 INFO L275 PluginConnector]: RCFGBuilder initialized [2021-11-13 23:21:36,294 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 11:21:36" (1/1) ... [2021-11-13 23:21:36,302 INFO L168 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2021-11-13 23:21:36,317 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_906a9f21-5ccd-403b-83ce-3920da95a06e/bin/ukojak-2xVlg8857e/z3 [2021-11-13 23:21:36,340 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_906a9f21-5ccd-403b-83ce-3920da95a06e/bin/ukojak-2xVlg8857e/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2021-11-13 23:21:36,348 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_906a9f21-5ccd-403b-83ce-3920da95a06e/bin/ukojak-2xVlg8857e/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2021-11-13 23:21:36,391 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4 [2021-11-13 23:21:36,391 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2021-11-13 23:21:36,391 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2021-11-13 23:21:36,392 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4 [2021-11-13 23:21:36,392 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2021-11-13 23:21:36,392 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2021-11-13 23:21:37,115 INFO L294 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2021-11-13 23:21:37,116 INFO L299 CfgBuilder]: Removed 3 assume(true) statements. [2021-11-13 23:21:37,119 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 11:21:37 BoogieIcfgContainer [2021-11-13 23:21:37,120 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2021-11-13 23:21:37,122 INFO L113 PluginConnector]: ------------------------CodeCheck---------------------------- [2021-11-13 23:21:37,122 INFO L271 PluginConnector]: Initializing CodeCheck... [2021-11-13 23:21:37,134 INFO L275 PluginConnector]: CodeCheck initialized [2021-11-13 23:21:37,135 INFO L185 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 11:21:37" (1/1) ... [2021-11-13 23:21:37,151 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-11-13 23:21:37,243 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2021-11-13 23:21:37,251 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 49 states to 44 states and 49 transitions. [2021-11-13 23:21:37,252 INFO L276 IsEmpty]: Start isEmpty. Operand 44 states and 49 transitions. [2021-11-13 23:21:37,254 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 4 [2021-11-13 23:21:37,254 INFO L422 CodeCheckObserver]: Error Path is FOUND. [2021-11-13 23:21:37,255 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-11-13 23:21:37,308 FATAL L? ?]: An unrecoverable error occured during an interaction with an SMT solver: de.uni_freiburg.informatik.ultimate.logic.SMTLIBException: Sort BitVec not declared at de.uni_freiburg.informatik.ultimate.logic.NoopScript.sort(NoopScript.java:419) at de.uni_freiburg.informatik.ultimate.logic.WrapperScript.sort(WrapperScript.java:228) at de.uni_freiburg.informatik.ultimate.logic.WrapperScript.sort(WrapperScript.java:228) at de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.smt.scripttransfer.NonDeclaringTermTransferrer.transferSort(NonDeclaringTermTransferrer.java:111) at de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.smt.scripttransfer.DeclarableSortSymbol.defineOrDeclare(DeclarableSortSymbol.java:79) at de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.smt.scripttransfer.HistoryRecordingScript.transferHistoryFromRecord(HistoryRecordingScript.java:171) at de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.smt.scripttransfer.HistoryRecordingScript.transferHistoryFromRecord(HistoryRecordingScript.java:196) at de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.cfg.SmtFunctionsAndAxioms.transferAllSymbols(SmtFunctionsAndAxioms.java:145) at de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.cfg.CfgSmtToolkit.createFreshManagedScript(CfgSmtToolkit.java:106) at de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.CodeCheckObserver.process(CodeCheckObserver.java:439) at de.uni_freiburg.informatik.ultimate.core.coreplugin.modelwalker.CFGWalker.runObserver(CFGWalker.java:57) at de.uni_freiburg.informatik.ultimate.core.coreplugin.modelwalker.BaseWalker.runObserver(BaseWalker.java:93) at de.uni_freiburg.informatik.ultimate.core.coreplugin.modelwalker.BaseWalker.run(BaseWalker.java:86) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runObserver(PluginConnector.java:167) 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) [2021-11-13 23:21:37,315 INFO L158 Benchmark]: Toolchain (without parser) took 1803.67ms. Allocated memory is still 83.9MB. Free memory was 47.6MB in the beginning and 33.2MB in the end (delta: 14.4MB). Peak memory consumption was 11.4MB. Max. memory is 16.1GB. [2021-11-13 23:21:37,317 INFO L158 Benchmark]: CDTParser took 1.05ms. Allocated memory is still 83.9MB. Free memory was 65.2MB in the beginning and 65.1MB in the end (delta: 70.4kB). There was no memory consumed. Max. memory is 16.1GB. [2021-11-13 23:21:37,319 INFO L158 Benchmark]: CACSL2BoogieTranslator took 657.49ms. Allocated memory is still 83.9MB. Free memory was 47.4MB in the beginning and 60.8MB in the end (delta: -13.4MB). Peak memory consumption was 4.4MB. Max. memory is 16.1GB. [2021-11-13 23:21:37,321 INFO L158 Benchmark]: Boogie Procedure Inliner took 86.43ms. Allocated memory is still 83.9MB. Free memory was 60.8MB in the beginning and 58.6MB in the end (delta: 2.2MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2021-11-13 23:21:37,322 INFO L158 Benchmark]: Boogie Preprocessor took 31.43ms. Allocated memory is still 83.9MB. Free memory was 58.6MB in the beginning and 57.3MB in the end (delta: 1.3MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2021-11-13 23:21:37,323 INFO L158 Benchmark]: RCFGBuilder took 826.86ms. Allocated memory is still 83.9MB. Free memory was 57.3MB in the beginning and 39.1MB in the end (delta: 18.2MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. [2021-11-13 23:21:37,355 INFO L158 Benchmark]: CodeCheck took 191.36ms. Allocated memory is still 83.9MB. Free memory was 39.1MB in the beginning and 33.2MB in the end (delta: 5.9MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2021-11-13 23:21:37,367 INFO L339 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck: - ExceptionOrErrorResult: SMTLIBException: Sort BitVec not declared de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck: SMTLIBException: Sort BitVec not declared: de.uni_freiburg.informatik.ultimate.logic.NoopScript.sort(NoopScript.java:419) * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 1.05ms. Allocated memory is still 83.9MB. Free memory was 65.2MB in the beginning and 65.1MB in the end (delta: 70.4kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 657.49ms. Allocated memory is still 83.9MB. Free memory was 47.4MB in the beginning and 60.8MB in the end (delta: -13.4MB). Peak memory consumption was 4.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 86.43ms. Allocated memory is still 83.9MB. Free memory was 60.8MB in the beginning and 58.6MB in the end (delta: 2.2MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 31.43ms. Allocated memory is still 83.9MB. Free memory was 58.6MB in the beginning and 57.3MB in the end (delta: 1.3MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 826.86ms. Allocated memory is still 83.9MB. Free memory was 57.3MB in the beginning and 39.1MB in the end (delta: 18.2MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. * CodeCheck took 191.36ms. Allocated memory is still 83.9MB. Free memory was 39.1MB in the beginning and 33.2MB in the end (delta: 5.9MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: Toolchain returned no result. [2021-11-13 23:21:37,440 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_906a9f21-5ccd-403b-83ce-3920da95a06e/bin/ukojak-2xVlg8857e/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: ERROR: ExceptionOrErrorResult: SMTLIBException: Sort BitVec not declared