./Ultimate.py --spec ../../sv-benchmarks/c/properties/unreach-call.prp --file ../../sv-benchmarks/c/loops/bubble_sort-2.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version 69874e26 Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud-vcloud-master/worker/run_dir_15563ddc-b7f5-4bbf-94db-017fc0686de3/bin/ukojak/data/config -Xmx15G -Xms4m -jar /tmp/vcloud-vcloud-master/worker/run_dir_15563ddc-b7f5-4bbf-94db-017fc0686de3/bin/ukojak/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud-vcloud-master/worker/run_dir_15563ddc-b7f5-4bbf-94db-017fc0686de3/bin/ukojak/data -tc /tmp/vcloud-vcloud-master/worker/run_dir_15563ddc-b7f5-4bbf-94db-017fc0686de3/bin/ukojak/config/KojakReach.xml -i ../../sv-benchmarks/c/loops/bubble_sort-2.i -s /tmp/vcloud-vcloud-master/worker/run_dir_15563ddc-b7f5-4bbf-94db-017fc0686de3/bin/ukojak/config/svcomp-Reach-32bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud-vcloud-master/worker/run_dir_15563ddc-b7f5-4bbf-94db-017fc0686de3/bin/ukojak --witnessprinter.witness.filename witness.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! call(reach_error())) ) --witnessprinter.graph.data.producer Kojak --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 3904eabd3ac5671d8bfd7199410990878a421a86 ........................................................................................................................................................................................................................................................................................................................................................................................................................................................... Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE --- Real Ultimate output --- This is Ultimate 0.2.0-69874e2 [2020-12-01 18:13:27,339 INFO L177 SettingsManager]: Resetting all preferences to default values... [2020-12-01 18:13:27,344 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2020-12-01 18:13:27,422 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2020-12-01 18:13:27,423 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2020-12-01 18:13:27,431 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2020-12-01 18:13:27,435 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2020-12-01 18:13:27,446 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2020-12-01 18:13:27,449 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2020-12-01 18:13:27,451 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2020-12-01 18:13:27,453 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2020-12-01 18:13:27,455 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2020-12-01 18:13:27,456 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2020-12-01 18:13:27,458 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2020-12-01 18:13:27,460 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2020-12-01 18:13:27,463 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2020-12-01 18:13:27,464 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2020-12-01 18:13:27,467 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2020-12-01 18:13:27,470 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2020-12-01 18:13:27,473 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2020-12-01 18:13:27,484 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2020-12-01 18:13:27,492 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2020-12-01 18:13:27,495 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2020-12-01 18:13:27,502 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2020-12-01 18:13:27,507 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2020-12-01 18:13:27,510 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2020-12-01 18:13:27,511 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2020-12-01 18:13:27,512 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2020-12-01 18:13:27,515 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2020-12-01 18:13:27,517 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2020-12-01 18:13:27,517 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2020-12-01 18:13:27,519 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2020-12-01 18:13:27,522 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2020-12-01 18:13:27,524 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2020-12-01 18:13:27,526 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2020-12-01 18:13:27,527 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2020-12-01 18:13:27,528 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2020-12-01 18:13:27,529 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2020-12-01 18:13:27,529 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2020-12-01 18:13:27,531 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2020-12-01 18:13:27,532 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2020-12-01 18:13:27,535 INFO L101 SettingsManager]: Beginning loading settings from /tmp/vcloud-vcloud-master/worker/run_dir_15563ddc-b7f5-4bbf-94db-017fc0686de3/bin/ukojak/config/svcomp-Reach-32bit-Kojak_Default.epf [2020-12-01 18:13:27,591 INFO L113 SettingsManager]: Loading preferences was successful [2020-12-01 18:13:27,591 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2020-12-01 18:13:27,594 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2020-12-01 18:13:27,594 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2020-12-01 18:13:27,595 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2020-12-01 18:13:27,596 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2020-12-01 18:13:27,596 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2020-12-01 18:13:27,597 INFO L138 SettingsManager]: * sizeof long=4 [2020-12-01 18:13:27,597 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2020-12-01 18:13:27,597 INFO L138 SettingsManager]: * sizeof POINTER=4 [2020-12-01 18:13:27,599 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2020-12-01 18:13:27,599 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2020-12-01 18:13:27,600 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2020-12-01 18:13:27,600 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2020-12-01 18:13:27,600 INFO L138 SettingsManager]: * sizeof long double=12 [2020-12-01 18:13:27,601 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2020-12-01 18:13:27,601 INFO L138 SettingsManager]: * Use constant arrays=true [2020-12-01 18:13:27,601 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2020-12-01 18:13:27,602 INFO L136 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2020-12-01 18:13:27,602 INFO L138 SettingsManager]: * Timeout in seconds=1000000 [2020-12-01 18:13:27,602 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2020-12-01 18:13:27,603 INFO L138 SettingsManager]: * To the following directory=./dump/ [2020-12-01 18:13:27,603 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2020-12-01 18:13:27,603 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2020-12-01 18:13:27,604 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2020-12-01 18:13:27,604 INFO L138 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2020-12-01 18:13:27,604 INFO L138 SettingsManager]: * Trace refinement strategy=PENGUIN [2020-12-01 18:13:27,605 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2020-12-01 18:13:27,605 INFO L138 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2020-12-01 18:13:27,608 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-vcloud-master/worker/run_dir_15563ddc-b7f5-4bbf-94db-017fc0686de3/bin/ukojak/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-vcloud-master/worker/run_dir_15563ddc-b7f5-4bbf-94db-017fc0686de3/bin/ukojak 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 ! call(reach_error())) ) 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 -> 3904eabd3ac5671d8bfd7199410990878a421a86 [2020-12-01 18:13:28,038 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2020-12-01 18:13:28,082 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2020-12-01 18:13:28,086 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2020-12-01 18:13:28,088 INFO L271 PluginConnector]: Initializing CDTParser... [2020-12-01 18:13:28,090 INFO L275 PluginConnector]: CDTParser initialized [2020-12-01 18:13:28,091 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud-vcloud-master/worker/run_dir_15563ddc-b7f5-4bbf-94db-017fc0686de3/bin/ukojak/../../sv-benchmarks/c/loops/bubble_sort-2.i [2020-12-01 18:13:28,173 INFO L220 CDTParser]: Created temporary CDT project at /tmp/vcloud-vcloud-master/worker/run_dir_15563ddc-b7f5-4bbf-94db-017fc0686de3/bin/ukojak/data/1e613fedd/b13b8774e65f4304aa768bec5c8169c6/FLAG6deb90e6f [2020-12-01 18:13:28,841 INFO L306 CDTParser]: Found 1 translation units. [2020-12-01 18:13:28,841 INFO L160 CDTParser]: Scanning /tmp/vcloud-vcloud-master/worker/run_dir_15563ddc-b7f5-4bbf-94db-017fc0686de3/sv-benchmarks/c/loops/bubble_sort-2.i [2020-12-01 18:13:28,858 INFO L349 CDTParser]: About to delete temporary CDT project at /tmp/vcloud-vcloud-master/worker/run_dir_15563ddc-b7f5-4bbf-94db-017fc0686de3/bin/ukojak/data/1e613fedd/b13b8774e65f4304aa768bec5c8169c6/FLAG6deb90e6f [2020-12-01 18:13:29,106 INFO L357 CDTParser]: Successfully deleted /tmp/vcloud-vcloud-master/worker/run_dir_15563ddc-b7f5-4bbf-94db-017fc0686de3/bin/ukojak/data/1e613fedd/b13b8774e65f4304aa768bec5c8169c6 [2020-12-01 18:13:29,110 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2020-12-01 18:13:29,112 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2020-12-01 18:13:29,114 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2020-12-01 18:13:29,115 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2020-12-01 18:13:29,130 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2020-12-01 18:13:29,132 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 01.12 06:13:29" (1/1) ... [2020-12-01 18:13:29,135 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@7943a16b and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 01.12 06:13:29, skipping insertion in model container [2020-12-01 18:13:29,135 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 01.12 06:13:29" (1/1) ... [2020-12-01 18:13:29,145 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2020-12-01 18:13:29,249 INFO L178 MainTranslator]: Built tables and reachable declarations [2020-12-01 18:13:29,654 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-12-01 18:13:29,668 INFO L203 MainTranslator]: Completed pre-run [2020-12-01 18:13:29,808 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-12-01 18:13:29,851 INFO L208 MainTranslator]: Completed translation [2020-12-01 18:13:29,854 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 01.12 06:13:29 WrapperNode [2020-12-01 18:13:29,854 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2020-12-01 18:13:29,856 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2020-12-01 18:13:29,856 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2020-12-01 18:13:29,856 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2020-12-01 18:13:29,867 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 01.12 06:13:29" (1/1) ... [2020-12-01 18:13:29,888 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 01.12 06:13:29" (1/1) ... [2020-12-01 18:13:29,941 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2020-12-01 18:13:29,942 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2020-12-01 18:13:29,956 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2020-12-01 18:13:29,956 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2020-12-01 18:13:29,968 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 01.12 06:13:29" (1/1) ... [2020-12-01 18:13:29,968 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 01.12 06:13:29" (1/1) ... [2020-12-01 18:13:29,995 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 01.12 06:13:29" (1/1) ... [2020-12-01 18:13:29,996 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 01.12 06:13:29" (1/1) ... [2020-12-01 18:13:30,039 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 01.12 06:13:29" (1/1) ... [2020-12-01 18:13:30,052 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 01.12 06:13:29" (1/1) ... [2020-12-01 18:13:30,058 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 01.12 06:13:29" (1/1) ... [2020-12-01 18:13:30,067 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2020-12-01 18:13:30,068 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2020-12-01 18:13:30,068 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2020-12-01 18:13:30,068 INFO L275 PluginConnector]: RCFGBuilder initialized [2020-12-01 18:13:30,070 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 01.12 06:13:29" (1/1) ... No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_15563ddc-b7f5-4bbf-94db-017fc0686de3/bin/ukojak/z3 Starting monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2020-12-01 18:13:30,189 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$ [2020-12-01 18:13:30,190 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2020-12-01 18:13:30,190 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2020-12-01 18:13:30,191 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2020-12-01 18:13:30,192 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2020-12-01 18:13:30,192 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2020-12-01 18:13:30,192 INFO L130 BoogieDeclarations]: Found specification of procedure val_from_node [2020-12-01 18:13:30,192 INFO L138 BoogieDeclarations]: Found implementation of procedure val_from_node [2020-12-01 18:13:30,192 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2020-12-01 18:13:30,194 INFO L130 BoogieDeclarations]: Found specification of procedure fail [2020-12-01 18:13:30,194 INFO L138 BoogieDeclarations]: Found implementation of procedure fail [2020-12-01 18:13:30,194 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2020-12-01 18:13:30,194 INFO L130 BoogieDeclarations]: Found specification of procedure inspect [2020-12-01 18:13:30,195 INFO L138 BoogieDeclarations]: Found implementation of procedure inspect [2020-12-01 18:13:30,195 INFO L130 BoogieDeclarations]: Found specification of procedure list_add [2020-12-01 18:13:30,195 INFO L138 BoogieDeclarations]: Found implementation of procedure list_add [2020-12-01 18:13:30,195 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2020-12-01 18:13:30,195 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2020-12-01 18:13:30,196 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2020-12-01 18:13:30,772 INFO L751 $ProcedureCfgBuilder]: dead code at ProgramPoint failFINAL: assume true; [2020-12-01 18:13:32,315 INFO L293 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2020-12-01 18:13:32,315 INFO L298 CfgBuilder]: Removed 45 assume(true) statements. [2020-12-01 18:13:32,318 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 01.12 06:13:32 BoogieIcfgContainer [2020-12-01 18:13:32,318 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2020-12-01 18:13:32,319 INFO L113 PluginConnector]: ------------------------CodeCheck---------------------------- [2020-12-01 18:13:32,320 INFO L271 PluginConnector]: Initializing CodeCheck... [2020-12-01 18:13:32,335 INFO L275 PluginConnector]: CodeCheck initialized [2020-12-01 18:13:32,335 INFO L185 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 01.12 06:13:32" (1/1) ... [2020-12-01 18:13:32,347 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-12-01 18:13:32,384 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2020-12-01 18:13:32,396 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 143 states to 95 states and 143 transitions. [2020-12-01 18:13:32,397 INFO L276 IsEmpty]: Start isEmpty. Operand 95 states and 143 transitions. [2020-12-01 18:13:32,402 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2020-12-01 18:13:32,402 INFO L428 CodeCheckObserver]: Error Path is FOUND. [2020-12-01 18:13:32,513 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-12-01 18:13:32,583 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-12-01 18:13:32,614 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2020-12-01 18:13:32,625 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 138 states to 94 states and 138 transitions. [2020-12-01 18:13:32,626 INFO L276 IsEmpty]: Start isEmpty. Operand 94 states and 138 transitions. [2020-12-01 18:13:32,627 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2020-12-01 18:13:32,628 INFO L428 CodeCheckObserver]: Error Path is FOUND. [2020-12-01 18:13:32,776 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-12-01 18:13:32,927 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-12-01 18:13:33,080 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2020-12-01 18:13:33,093 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 151 states to 97 states and 142 transitions. [2020-12-01 18:13:33,094 INFO L276 IsEmpty]: Start isEmpty. Operand 97 states and 142 transitions. [2020-12-01 18:13:33,096 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 19 [2020-12-01 18:13:33,097 INFO L428 CodeCheckObserver]: Error Path is FOUND. [2020-12-01 18:13:33,525 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-12-01 18:13:33,528 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-12-01 18:13:33,805 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-12-01 18:13:33,805 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-12-01 18:13:35,823 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-12-01 18:13:35,823 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-12-01 18:13:38,077 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-12-01 18:13:38,078 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-12-01 18:13:38,487 WARN L483 CodeCheckObserver]: This program is UNSAFE, Check terminated with 3 iterations. [2020-12-01 18:13:38,572 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 01.12 06:13:38 ImpRootNode [2020-12-01 18:13:38,572 INFO L132 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2020-12-01 18:13:38,573 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2020-12-01 18:13:38,573 INFO L271 PluginConnector]: Initializing Witness Printer... [2020-12-01 18:13:38,574 INFO L275 PluginConnector]: Witness Printer initialized [2020-12-01 18:13:38,574 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 01.12 06:13:32" (3/4) ... [2020-12-01 18:13:38,577 INFO L131 WitnessPrinter]: Generating witness for reachability counterexample [2020-12-01 18:13:38,796 INFO L141 WitnessManager]: Wrote witness to /tmp/vcloud-vcloud-master/worker/run_dir_15563ddc-b7f5-4bbf-94db-017fc0686de3/bin/ukojak/witness.graphml [2020-12-01 18:13:38,797 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2020-12-01 18:13:38,801 INFO L168 Benchmark]: Toolchain (without parser) took 9686.91 ms. Allocated memory was 113.2 MB in the beginning and 169.9 MB in the end (delta: 56.6 MB). Free memory was 85.7 MB in the beginning and 137.9 MB in the end (delta: -52.2 MB). Peak memory consumption was 69.6 MB. Max. memory is 16.1 GB. [2020-12-01 18:13:38,801 INFO L168 Benchmark]: CDTParser took 0.39 ms. Allocated memory is still 113.2 MB. Free memory was 68.4 MB in the beginning and 68.4 MB in the end (delta: 62.3 kB). There was no memory consumed. Max. memory is 16.1 GB. [2020-12-01 18:13:38,803 INFO L168 Benchmark]: CACSL2BoogieTranslator took 740.49 ms. Allocated memory is still 113.2 MB. Free memory was 85.5 MB in the beginning and 79.6 MB in the end (delta: 5.9 MB). Peak memory consumption was 8.4 MB. Max. memory is 16.1 GB. [2020-12-01 18:13:38,803 INFO L168 Benchmark]: Boogie Procedure Inliner took 85.66 ms. Allocated memory is still 113.2 MB. Free memory was 79.6 MB in the beginning and 77.0 MB in the end (delta: 2.6 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. [2020-12-01 18:13:38,804 INFO L168 Benchmark]: Boogie Preprocessor took 124.62 ms. Allocated memory is still 113.2 MB. Free memory was 77.0 MB in the beginning and 73.5 MB in the end (delta: 3.5 MB). Peak memory consumption was 4.2 MB. Max. memory is 16.1 GB. [2020-12-01 18:13:38,805 INFO L168 Benchmark]: RCFGBuilder took 2250.23 ms. Allocated memory was 113.2 MB in the beginning and 140.5 MB in the end (delta: 27.3 MB). Free memory was 73.3 MB in the beginning and 80.5 MB in the end (delta: -7.2 MB). Peak memory consumption was 37.5 MB. Max. memory is 16.1 GB. [2020-12-01 18:13:38,806 INFO L168 Benchmark]: CodeCheck took 6253.01 ms. Allocated memory is still 140.5 MB. Free memory was 80.5 MB in the beginning and 46.1 MB in the end (delta: 34.4 MB). Peak memory consumption was 36.5 MB. Max. memory is 16.1 GB. [2020-12-01 18:13:38,806 INFO L168 Benchmark]: Witness Printer took 224.55 ms. Allocated memory was 140.5 MB in the beginning and 169.9 MB in the end (delta: 29.4 MB). Free memory was 46.1 MB in the beginning and 137.9 MB in the end (delta: -91.8 MB). Peak memory consumption was 4.7 MB. Max. memory is 16.1 GB. [2020-12-01 18:13:38,810 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 5 procedures, 96 locations, 1 error locations. Started 1 CEGAR loops. VerificationResult: UNSAFE, OverallTime: 6.1s, OverallIterations: 3, TraceHistogramMax: 0, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 102 SDtfs, 20 SDslu, 24 SDs, 0 SdLazy, 36 SolverSat, 16 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.0s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 253 GetRequests, 245 SyntacticMatches, 0 SemanticMatches, 8 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.1s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, traceCheckStatistics: 0.0s SsaConstructionTime, 2.0s SatisfiabilityAnalysisTime, 0.2s InterpolantComputationTime, 45 NumberOfCodeBlocks, 45 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 25 ConstructedInterpolants, 0 QuantifiedInterpolants, 730 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 2 InterpolantComputations, 2 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 - CounterExampleResult [Line: 12]: a call of __VERIFIER_error() is reachable a call of __VERIFIER_error() is reachable We found a FailurePath: [L52] struct list_head gl_list = {& gl_list, & gl_list}; [L835] struct list_head const *__cil_tmp1 ; [L836] struct list_head const *__cil_tmp2 ; [L676] int tmp ; [L677] int tmp___0 ; VAL [gl_list={2147483648:0}] [L680] COND TRUE 1 [L683] tmp = __VERIFIER_nondet_int() [L622] struct node *node ; [L623] void *tmp ; [L624] unsigned int __cil_tmp4 ; [L625] unsigned int __cil_tmp5 ; [L626] unsigned int __cil_tmp6 ; [L627] struct list_head *__cil_tmp7 ; [L628] unsigned int __cil_tmp8 ; [L629] unsigned int __cil_tmp9 ; [L630] unsigned int __cil_tmp10 ; [L631] unsigned int __cil_tmp11 ; [L632] unsigned int __cil_tmp12 ; [L633] unsigned int __cil_tmp13 ; [L634] unsigned int __cil_tmp14 ; [L635] unsigned int __cil_tmp15 ; [L638] __cil_tmp4 = (unsigned int )20UL [L639] tmp = malloc(__cil_tmp4) [L640] node = (struct node *)tmp [L642] COND FALSE !(! node) [L649] *((int *)node) = value [L650] __cil_tmp5 = (unsigned int )node [L651] __cil_tmp6 = __cil_tmp5 + 4 [L652] __cil_tmp7 = (struct list_head *)__cil_tmp6 VAL [gl_list={2147483648:0}] [L653] CALL list_add(__cil_tmp7, & gl_list) VAL [gl_list={2147483648:0}] [L595] struct list_head *__cil_tmp3 ; [L598] EXPR \read(*head) [L598] __cil_tmp3 = *((struct list_head **)head) [L567] unsigned int __cil_tmp4 ; [L568] unsigned int __cil_tmp5 ; [L569] unsigned int __cil_tmp6 ; [L570] unsigned int __cil_tmp7 ; [L572] __cil_tmp4 = (unsigned int )next [L573] __cil_tmp5 = __cil_tmp4 + 4 [L574] *((struct list_head **)__cil_tmp5) = new [L575] *((struct list_head **)new) = next [L576] __cil_tmp6 = (unsigned int )new [L577] __cil_tmp7 = __cil_tmp6 + 4 [L578] *((struct list_head **)__cil_tmp7) = prev [L579] *((struct list_head **)prev) = new [L653] RET list_add(__cil_tmp7, & gl_list) VAL [gl_list={2147483648:0}] [L656] COND TRUE 1 [L658] __cil_tmp8 = (unsigned int )node [L659] __cil_tmp9 = __cil_tmp8 + 12 [L660] __cil_tmp10 = (unsigned int )node [L661] __cil_tmp11 = __cil_tmp10 + 12 [L662] *((struct list_head **)__cil_tmp9) = (struct list_head *)__cil_tmp11 [L663] __cil_tmp12 = (unsigned int )node [L664] __cil_tmp13 = __cil_tmp12 + 12 [L665] __cil_tmp14 = (unsigned int )node [L666] __cil_tmp15 = __cil_tmp14 + 12 [L667] *((struct list_head **)__cil_tmp13) = (struct list_head *)__cil_tmp15 [L685] tmp___0 = __VERIFIER_nondet_int() [L687] COND FALSE !(\read(tmp___0)) VAL [gl_list={2147483648:0}] [L840] __cil_tmp1 = (struct list_head const *)(& gl_list) VAL [gl_list={2147483648:0}] [L841] CALL inspect(__cil_tmp1) VAL [gl_list={2147483648:0}, head={2147483648:0}] [L55] struct node const *node ; [L56] unsigned int __cil_tmp3 ; [L57] struct list_head *__cil_tmp4 ; [L58] unsigned int __cil_tmp5 ; [L59] int __cil_tmp6 ; [L60] unsigned int __cil_tmp7 ; [L61] unsigned int __cil_tmp8 ; [L62] unsigned int __cil_tmp9 ; [L63] struct list_head *__cil_tmp10 ; [L64] unsigned int __cil_tmp11 ; [L65] int __cil_tmp12 ; [L66] unsigned int __cil_tmp13 ; [L67] unsigned int __cil_tmp14 ; [L68] struct list_head *__cil_tmp15 ; [L69] unsigned int __cil_tmp16 ; [L70] struct list_head *__cil_tmp17 ; [L71] unsigned int __cil_tmp18 ; [L72] int __cil_tmp19 ; [L73] unsigned int __cil_tmp20 ; [L74] unsigned int __cil_tmp21 ; [L75] unsigned int __cil_tmp22 ; [L76] struct list_head *__cil_tmp23 ; [L77] unsigned int __cil_tmp24 ; [L78] int __cil_tmp25 ; [L79] struct node *__cil_tmp26 ; [L80] unsigned int __cil_tmp27 ; [L81] unsigned int __cil_tmp28 ; [L82] struct list_head *__cil_tmp29 ; [L83] unsigned long __cil_tmp30 ; [L84] char *__cil_tmp31 ; [L85] char *__cil_tmp32 ; [L86] struct node *__cil_tmp33 ; [L87] unsigned int __cil_tmp34 ; [L88] unsigned int __cil_tmp35 ; [L89] struct list_head const *__cil_tmp36 ; [L90] unsigned int __cil_tmp37 ; [L91] unsigned int __cil_tmp38 ; [L92] unsigned int __cil_tmp39 ; [L93] struct list_head *__cil_tmp40 ; [L94] unsigned int __cil_tmp41 ; [L95] int __cil_tmp42 ; [L96] unsigned int __cil_tmp43 ; [L97] unsigned int __cil_tmp44 ; [L98] struct list_head const *__cil_tmp45 ; [L99] unsigned int __cil_tmp46 ; [L100] unsigned int __cil_tmp47 ; [L101] unsigned int __cil_tmp48 ; [L102] unsigned int __cil_tmp49 ; [L103] struct list_head *__cil_tmp50 ; [L104] unsigned int __cil_tmp51 ; [L105] int __cil_tmp52 ; [L106] unsigned int __cil_tmp53 ; [L107] unsigned int __cil_tmp54 ; [L108] struct list_head const *__cil_tmp55 ; [L109] unsigned int __cil_tmp56 ; [L110] unsigned int __cil_tmp57 ; [L111] unsigned int __cil_tmp58 ; [L112] struct list_head *__cil_tmp59 ; [L113] unsigned int __cil_tmp60 ; [L114] int __cil_tmp61 ; [L115] unsigned int __cil_tmp62 ; [L116] unsigned int __cil_tmp63 ; [L117] struct list_head const *__cil_tmp64 ; [L118] unsigned int __cil_tmp65 ; [L119] unsigned int __cil_tmp66 ; [L120] unsigned int __cil_tmp67 ; [L121] unsigned int __cil_tmp68 ; [L122] struct list_head *__cil_tmp69 ; [L123] unsigned int __cil_tmp70 ; [L124] int __cil_tmp71 ; [L125] struct node const *__cil_tmp72 ; [L126] unsigned int __cil_tmp73 ; [L127] unsigned int __cil_tmp74 ; [L128] int __cil_tmp75 ; [L129] unsigned int __cil_tmp76 ; [L130] unsigned int __cil_tmp77 ; [L131] struct list_head const *__cil_tmp78 ; [L132] struct node const *__cil_tmp79 ; [L133] unsigned int __cil_tmp80 ; [L134] unsigned int __cil_tmp81 ; [L135] int __cil_tmp82 ; [L136] int const *__cil_tmp83 ; [L137] struct node const *__cil_tmp84 ; [L138] unsigned int __cil_tmp85 ; [L139] unsigned int __cil_tmp86 ; [L140] int __cil_tmp87 ; [L141] unsigned int __cil_tmp88 ; [L142] unsigned int __cil_tmp89 ; [L143] struct list_head *__cil_tmp90 ; [L144] unsigned int __cil_tmp91 ; [L145] unsigned int __cil_tmp92 ; [L146] struct list_head *__cil_tmp93 ; [L147] unsigned int __cil_tmp94 ; [L148] unsigned int __cil_tmp95 ; [L149] int __cil_tmp96 ; [L150] unsigned int __cil_tmp97 ; [L151] unsigned int __cil_tmp98 ; [L152] unsigned int __cil_tmp99 ; [L153] struct list_head *__cil_tmp100 ; [L154] struct list_head *__cil_tmp101 ; [L155] unsigned int __cil_tmp102 ; [L156] unsigned int __cil_tmp103 ; [L157] int __cil_tmp104 ; [L158] struct list_head *__cil_tmp105 ; [L159] unsigned int __cil_tmp106 ; [L160] unsigned int __cil_tmp107 ; [L161] unsigned int __cil_tmp108 ; [L162] struct list_head const *__cil_tmp109 ; [L163] unsigned int __cil_tmp110 ; [L164] struct list_head *__cil_tmp111 ; [L165] unsigned int __cil_tmp112 ; [L166] struct node *__cil_tmp113 ; [L167] unsigned int __cil_tmp114 ; [L168] unsigned int __cil_tmp115 ; [L169] struct list_head *__cil_tmp116 ; [L170] unsigned long __cil_tmp117 ; [L171] char *__cil_tmp118 ; [L172] char *__cil_tmp119 ; [L173] struct node *__cil_tmp120 ; [L174] unsigned int __cil_tmp121 ; [L175] int __cil_tmp122 ; VAL [gl_list={2147483648:0}, head={2147483648:0}, head={2147483648:0}] [L179] COND TRUE 1 VAL [gl_list={2147483648:0}, head={2147483648:0}, head={2147483648:0}] [L181] COND FALSE !(! head) VAL [gl_list={2147483648:0}, head={2147483648:0}, head={2147483648:0}] [L192] COND TRUE 1 [L195] __cil_tmp3 = (unsigned int )head [L196] EXPR \read(*head) [L196] __cil_tmp4 = *((struct list_head * const *)head) [L197] __cil_tmp5 = (unsigned int )__cil_tmp4 [L198] __cil_tmp6 = __cil_tmp5 != __cil_tmp3 VAL [__cil_tmp3=2147483648, __cil_tmp4={0:-2147483648}, __cil_tmp5=2147483648, __cil_tmp6=0, gl_list={2147483648:0}, head={2147483648:0}, head={2147483648:0}] [L199] COND TRUE ! __cil_tmp6 VAL [__cil_tmp3=2147483648, __cil_tmp4={0:-2147483648}, __cil_tmp5=2147483648, __cil_tmp6=0, gl_list={2147483648:0}, head={2147483648:0}, head={2147483648:0}] [L201] CALL fail() VAL [gl_list={2147483648:0}] [L12] COND FALSE !(0) VAL [gl_list={2147483648:0}] [L12] __assert_fail ("0", "bubble_sort-2.c", 3, __extension__ __PRETTY_FUNCTION__) VAL [gl_list={2147483648:0}] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.39 ms. Allocated memory is still 113.2 MB. Free memory was 68.4 MB in the beginning and 68.4 MB in the end (delta: 62.3 kB). There was no memory consumed. Max. memory is 16.1 GB. * CACSL2BoogieTranslator took 740.49 ms. Allocated memory is still 113.2 MB. Free memory was 85.5 MB in the beginning and 79.6 MB in the end (delta: 5.9 MB). Peak memory consumption was 8.4 MB. Max. memory is 16.1 GB. * Boogie Procedure Inliner took 85.66 ms. Allocated memory is still 113.2 MB. Free memory was 79.6 MB in the beginning and 77.0 MB in the end (delta: 2.6 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. * Boogie Preprocessor took 124.62 ms. Allocated memory is still 113.2 MB. Free memory was 77.0 MB in the beginning and 73.5 MB in the end (delta: 3.5 MB). Peak memory consumption was 4.2 MB. Max. memory is 16.1 GB. * RCFGBuilder took 2250.23 ms. Allocated memory was 113.2 MB in the beginning and 140.5 MB in the end (delta: 27.3 MB). Free memory was 73.3 MB in the beginning and 80.5 MB in the end (delta: -7.2 MB). Peak memory consumption was 37.5 MB. Max. memory is 16.1 GB. * CodeCheck took 6253.01 ms. Allocated memory is still 140.5 MB. Free memory was 80.5 MB in the beginning and 46.1 MB in the end (delta: 34.4 MB). Peak memory consumption was 36.5 MB. Max. memory is 16.1 GB. * Witness Printer took 224.55 ms. Allocated memory was 140.5 MB in the beginning and 169.9 MB in the end (delta: 29.4 MB). Free memory was 46.1 MB in the beginning and 137.9 MB in the end (delta: -91.8 MB). Peak memory consumption was 4.7 MB. Max. memory is 16.1 GB. RESULT: Ultimate proved your program to be incorrect! Received shutdown request...