./Ultimate.py --spec ../../sv-benchmarks/c/properties/unreach-call.prp --file ../../sv-benchmarks/c/recursive-simple/sum_10x0-2.c --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version 826ab2ba Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_16f52c8b-41ed-4310-b9b4-c5107807ac9c/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_16f52c8b-41ed-4310-b9b4-c5107807ac9c/bin/ukojak-verify-EEHR8qb7sm/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_16f52c8b-41ed-4310-b9b4-c5107807ac9c/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_16f52c8b-41ed-4310-b9b4-c5107807ac9c/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/recursive-simple/sum_10x0-2.c -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_16f52c8b-41ed-4310-b9b4-c5107807ac9c/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Reach-32bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_16f52c8b-41ed-4310-b9b4-c5107807ac9c/bin/ukojak-verify-EEHR8qb7sm --witnessprinter.witness.filename witness --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 2b1e7360b510ceea1b4f190c67c2656c6deb0030b7718750b71696817135287b --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 21:51:30,620 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 21:51:30,687 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_16f52c8b-41ed-4310-b9b4-c5107807ac9c/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Reach-32bit-Kojak_Default.epf [2024-11-13 21:51:30,691 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-13 21:51:30,692 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-13 21:51:30,711 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 21:51:30,712 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 21:51:30,712 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 21:51:30,712 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 21:51:30,712 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 21:51:30,713 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 21:51:30,713 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 21:51:30,713 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-13 21:51:30,713 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-13 21:51:30,713 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-13 21:51:30,713 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 21:51:30,713 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 21:51:30,713 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 21:51:30,713 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 21:51:30,714 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 21:51:30,714 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-13 21:51:30,714 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 21:51:30,714 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 21:51:30,714 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 21:51:30,714 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 21:51:30,714 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 21:51:30,714 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 21:51:30,714 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 21:51:30,715 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 21:51:30,715 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 21:51:30,715 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 21:51:30,715 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-13 21:51:30,715 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-13 21:51:30,715 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode 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_16f52c8b-41ed-4310-b9b4-c5107807ac9c/bin/ukojak-verify-EEHR8qb7sm Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness 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 -> 2b1e7360b510ceea1b4f190c67c2656c6deb0030b7718750b71696817135287b [2024-11-13 21:51:31,024 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 21:51:31,031 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 21:51:31,034 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 21:51:31,035 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 21:51:31,036 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 21:51:31,037 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_16f52c8b-41ed-4310-b9b4-c5107807ac9c/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/recursive-simple/sum_10x0-2.c Unable to find full path for "g++" [2024-11-13 21:51:32,865 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 21:51:33,137 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 21:51:33,138 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_16f52c8b-41ed-4310-b9b4-c5107807ac9c/sv-benchmarks/c/recursive-simple/sum_10x0-2.c [2024-11-13 21:51:33,145 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_16f52c8b-41ed-4310-b9b4-c5107807ac9c/bin/ukojak-verify-EEHR8qb7sm/data/8f6f36412/12326dd72b6a419a8d58a21c4154caf9/FLAG8449708e1 [2024-11-13 21:51:33,169 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_16f52c8b-41ed-4310-b9b4-c5107807ac9c/bin/ukojak-verify-EEHR8qb7sm/data/8f6f36412/12326dd72b6a419a8d58a21c4154caf9 [2024-11-13 21:51:33,171 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 21:51:33,173 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 21:51:33,176 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 21:51:33,176 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 21:51:33,181 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 21:51:33,181 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 09:51:33" (1/1) ... [2024-11-13 21:51:33,182 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@6525d846 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:51:33, skipping insertion in model container [2024-11-13 21:51:33,182 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 09:51:33" (1/1) ... [2024-11-13 21:51:33,200 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 21:51:33,362 WARN L250 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_16f52c8b-41ed-4310-b9b4-c5107807ac9c/sv-benchmarks/c/recursive-simple/sum_10x0-2.c[481,494] [2024-11-13 21:51:33,365 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 21:51:33,379 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 21:51:33,390 WARN L250 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_16f52c8b-41ed-4310-b9b4-c5107807ac9c/sv-benchmarks/c/recursive-simple/sum_10x0-2.c[481,494] [2024-11-13 21:51:33,391 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 21:51:33,404 INFO L204 MainTranslator]: Completed translation [2024-11-13 21:51:33,405 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:51:33 WrapperNode [2024-11-13 21:51:33,405 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 21:51:33,406 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 21:51:33,406 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 21:51:33,407 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 21:51:33,413 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:51:33" (1/1) ... [2024-11-13 21:51:33,422 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:51:33" (1/1) ... [2024-11-13 21:51:33,437 INFO L138 Inliner]: procedures = 12, calls = 9, calls flagged for inlining = 2, calls inlined = 2, statements flattened = 19 [2024-11-13 21:51:33,438 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 21:51:33,439 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 21:51:33,440 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 21:51:33,440 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 21:51:33,446 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:51:33" (1/1) ... [2024-11-13 21:51:33,447 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:51:33" (1/1) ... [2024-11-13 21:51:33,448 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:51:33" (1/1) ... [2024-11-13 21:51:33,448 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:51:33" (1/1) ... [2024-11-13 21:51:33,451 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:51:33" (1/1) ... [2024-11-13 21:51:33,453 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:51:33" (1/1) ... [2024-11-13 21:51:33,455 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:51:33" (1/1) ... [2024-11-13 21:51:33,459 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:51:33" (1/1) ... [2024-11-13 21:51:33,460 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 21:51:33,461 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 21:51:33,461 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 21:51:33,461 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 21:51:33,462 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 09:51:33" (1/1) ... [2024-11-13 21:51:33,470 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 21:51:33,484 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_16f52c8b-41ed-4310-b9b4-c5107807ac9c/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 21:51:33,499 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_16f52c8b-41ed-4310-b9b4-c5107807ac9c/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 21:51:33,502 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_16f52c8b-41ed-4310-b9b4-c5107807ac9c/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 21:51:33,533 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 21:51:33,533 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 21:51:33,533 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 21:51:33,533 INFO L130 BoogieDeclarations]: Found specification of procedure sum [2024-11-13 21:51:33,533 INFO L138 BoogieDeclarations]: Found implementation of procedure sum [2024-11-13 21:51:33,533 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-11-13 21:51:33,603 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 21:51:33,604 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 21:51:33,688 INFO L? ?]: Removed 10 outVars from TransFormulas that were not future-live. [2024-11-13 21:51:33,688 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 21:51:33,707 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 21:51:33,708 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-13 21:51:33,708 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:51:33 BoogieIcfgContainer [2024-11-13 21:51:33,708 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 21:51:33,709 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 21:51:33,709 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 21:51:33,719 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 21:51:33,720 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:51:33" (1/1) ... [2024-11-13 21:51:33,728 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 21:51:33,768 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:51:33,777 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 16 states to 14 states and 16 transitions. [2024-11-13 21:51:33,777 INFO L276 IsEmpty]: Start isEmpty. Operand 14 states and 16 transitions. [2024-11-13 21:51:33,781 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2024-11-13 21:51:33,781 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:51:33,782 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:51:33,872 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:51:34,019 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 21:51:34,120 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:51:34,120 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 20 states to 16 states and 18 transitions. [2024-11-13 21:51:34,120 INFO L276 IsEmpty]: Start isEmpty. Operand 16 states and 18 transitions. [2024-11-13 21:51:34,121 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 16 [2024-11-13 21:51:34,121 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:51:34,121 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:51:34,141 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:51:34,280 INFO L134 CoverageAnalysis]: Checked inductivity of 4 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2024-11-13 21:51:34,413 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:51:34,413 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 30 states to 19 states and 23 transitions. [2024-11-13 21:51:34,413 INFO L276 IsEmpty]: Start isEmpty. Operand 19 states and 23 transitions. [2024-11-13 21:51:34,414 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 22 [2024-11-13 21:51:34,414 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:51:34,414 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:51:34,432 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:51:34,587 INFO L134 CoverageAnalysis]: Checked inductivity of 14 backedges. 0 proven. 7 refuted. 0 times theorem prover too weak. 7 trivial. 0 not checked. [2024-11-13 21:51:34,738 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:51:34,739 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 39 states to 22 states and 29 transitions. [2024-11-13 21:51:34,739 INFO L276 IsEmpty]: Start isEmpty. Operand 22 states and 29 transitions. [2024-11-13 21:51:34,742 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 28 [2024-11-13 21:51:34,742 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:51:34,742 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:51:34,770 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:51:34,911 INFO L134 CoverageAnalysis]: Checked inductivity of 30 backedges. 0 proven. 15 refuted. 0 times theorem prover too weak. 15 trivial. 0 not checked. [2024-11-13 21:51:35,058 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:51:35,059 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 50 states to 25 states and 36 transitions. [2024-11-13 21:51:35,059 INFO L276 IsEmpty]: Start isEmpty. Operand 25 states and 36 transitions. [2024-11-13 21:51:35,060 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 34 [2024-11-13 21:51:35,060 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:51:35,060 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:51:35,093 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:51:35,278 INFO L134 CoverageAnalysis]: Checked inductivity of 52 backedges. 0 proven. 26 refuted. 0 times theorem prover too weak. 26 trivial. 0 not checked. [2024-11-13 21:51:35,442 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:51:35,442 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 63 states to 28 states and 44 transitions. [2024-11-13 21:51:35,442 INFO L276 IsEmpty]: Start isEmpty. Operand 28 states and 44 transitions. [2024-11-13 21:51:35,443 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 40 [2024-11-13 21:51:35,444 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:51:35,445 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:51:35,466 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:51:35,693 INFO L134 CoverageAnalysis]: Checked inductivity of 80 backedges. 0 proven. 40 refuted. 0 times theorem prover too weak. 40 trivial. 0 not checked. [2024-11-13 21:51:35,872 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:51:35,875 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 78 states to 31 states and 53 transitions. [2024-11-13 21:51:35,875 INFO L276 IsEmpty]: Start isEmpty. Operand 31 states and 53 transitions. [2024-11-13 21:51:35,876 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 46 [2024-11-13 21:51:35,876 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:51:35,876 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:51:35,900 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:51:36,131 INFO L134 CoverageAnalysis]: Checked inductivity of 114 backedges. 0 proven. 57 refuted. 0 times theorem prover too weak. 57 trivial. 0 not checked. [2024-11-13 21:51:36,309 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:51:36,311 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 95 states to 34 states and 63 transitions. [2024-11-13 21:51:36,311 INFO L276 IsEmpty]: Start isEmpty. Operand 34 states and 63 transitions. [2024-11-13 21:51:36,313 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 52 [2024-11-13 21:51:36,313 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:51:36,313 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:51:36,336 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:51:36,561 INFO L134 CoverageAnalysis]: Checked inductivity of 154 backedges. 0 proven. 77 refuted. 0 times theorem prover too weak. 77 trivial. 0 not checked. [2024-11-13 21:51:36,757 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:51:36,760 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 114 states to 37 states and 74 transitions. [2024-11-13 21:51:36,760 INFO L276 IsEmpty]: Start isEmpty. Operand 37 states and 74 transitions. [2024-11-13 21:51:36,761 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 58 [2024-11-13 21:51:36,763 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:51:36,763 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:51:36,790 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:51:37,054 INFO L134 CoverageAnalysis]: Checked inductivity of 200 backedges. 0 proven. 100 refuted. 0 times theorem prover too weak. 100 trivial. 0 not checked. [2024-11-13 21:51:37,279 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:51:37,280 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 135 states to 40 states and 86 transitions. [2024-11-13 21:51:37,280 INFO L276 IsEmpty]: Start isEmpty. Operand 40 states and 86 transitions. [2024-11-13 21:51:37,281 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 64 [2024-11-13 21:51:37,281 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:51:37,281 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:51:37,312 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 21:51:37,532 INFO L134 CoverageAnalysis]: Checked inductivity of 252 backedges. 0 proven. 126 refuted. 0 times theorem prover too weak. 126 trivial. 0 not checked. [2024-11-13 21:51:37,738 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 21:51:37,738 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 157 states to 43 states and 99 transitions. [2024-11-13 21:51:37,739 INFO L276 IsEmpty]: Start isEmpty. Operand 43 states and 99 transitions. [2024-11-13 21:51:37,740 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 70 [2024-11-13 21:51:37,740 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 21:51:37,740 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 21:51:37,763 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:51:37,763 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 21:51:37,786 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:51:37,876 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:51:37,877 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 21:51:37,910 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 21:51:37,947 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 11 iterations. [2024-11-13 21:51:38,001 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 09:51:38 ImpRootNode [2024-11-13 21:51:38,001 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 21:51:38,002 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 21:51:38,002 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 21:51:38,002 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 21:51:38,005 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 09:51:33" (3/4) ... [2024-11-13 21:51:38,006 INFO L136 WitnessPrinter]: Generating witness for reachability counterexample [2024-11-13 21:51:38,057 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_16f52c8b-41ed-4310-b9b4-c5107807ac9c/bin/ukojak-verify-EEHR8qb7sm/witness.graphml [2024-11-13 21:51:38,057 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 21:51:38,058 INFO L158 Benchmark]: Toolchain (without parser) took 4884.77ms. Allocated memory was 117.4MB in the beginning and 142.6MB in the end (delta: 25.2MB). Free memory was 92.9MB in the beginning and 67.8MB in the end (delta: 25.1MB). Peak memory consumption was 46.7MB. Max. memory is 16.1GB. [2024-11-13 21:51:38,058 INFO L158 Benchmark]: CDTParser took 0.36ms. Allocated memory is still 117.4MB. Free memory is still 73.8MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:51:38,058 INFO L158 Benchmark]: CACSL2BoogieTranslator took 230.21ms. Allocated memory is still 117.4MB. Free memory was 92.7MB in the beginning and 82.1MB in the end (delta: 10.6MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-13 21:51:38,058 INFO L158 Benchmark]: Boogie Procedure Inliner took 32.44ms. Allocated memory is still 117.4MB. Free memory was 82.1MB in the beginning and 81.0MB in the end (delta: 1.1MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:51:38,059 INFO L158 Benchmark]: Boogie Preprocessor took 20.79ms. Allocated memory is still 117.4MB. Free memory was 81.0MB in the beginning and 80.6MB in the end (delta: 466.0kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:51:38,059 INFO L158 Benchmark]: RCFGBuilder took 247.37ms. Allocated memory is still 117.4MB. Free memory was 80.6MB in the beginning and 71.1MB in the end (delta: 9.5MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-13 21:51:38,059 INFO L158 Benchmark]: CodeCheck took 4292.35ms. Allocated memory was 117.4MB in the beginning and 142.6MB in the end (delta: 25.2MB). Free memory was 71.1MB in the beginning and 70.7MB in the end (delta: 395.8kB). Peak memory consumption was 21.6MB. Max. memory is 16.1GB. [2024-11-13 21:51:38,062 INFO L158 Benchmark]: Witness Printer took 55.10ms. Allocated memory is still 142.6MB. Free memory was 70.7MB in the beginning and 67.8MB in the end (delta: 2.8MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 21:51:38,063 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck: - StatisticsResult: Ultimate CodeCheck benchmark data CFG has 2 procedures, 14 locations, 1 error locations. Started 1 CEGAR loops. OverallTime: 4.2s, OverallIterations: 11, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 514 SdHoareTripleChecker+Valid, 2.8s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 227 mSDsluCounter, 547 SdHoareTripleChecker+Invalid, 2.4s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 409 mSDsCounter, 212 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 1402 IncrementalHoareTripleChecker+Invalid, 1614 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 212 mSolverCounterUnsat, 138 mSDtfsCounter, 1402 mSolverCounterSat, 0.1s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 3873 GetRequests, 3598 SyntacticMatches, 233 SemanticMatches, 42 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 503 ImplicationChecksByTransitivity, 1.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.2s SatisfiabilityAnalysisTime, 1.9s InterpolantComputationTime, 429 NumberOfCodeBlocks, 429 NumberOfCodeBlocksAsserted, 11 NumberOfCheckSat, 350 ConstructedInterpolants, 0 QuantifiedInterpolants, 880 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 10 InterpolantComputations, 1 PerfectInterpolantSequences, 450/900 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: 18]: a call to reach_error is reachable a call to reach_error is reachable We found a FailurePath: [L14] int a = 10; [L15] int b = 0; VAL [a=10, b=0] [L16] CALL, EXPR sum(a, b) VAL [\old(m)=0, \old(n)=10] [L6] COND FALSE !(n <= 0) VAL [\old(m)=0, \old(n)=10, m=0, n=10] [L9] CALL, EXPR sum(n - 1, m + 1) VAL [\old(m)=1, \old(n)=9] [L6] COND FALSE !(n <= 0) VAL [\old(m)=1, \old(n)=9, m=1, n=9] [L9] CALL, EXPR sum(n - 1, m + 1) VAL [\old(m)=2, \old(n)=8] [L6] COND FALSE !(n <= 0) VAL [\old(m)=2, \old(n)=8, m=2, n=8] [L9] CALL, EXPR sum(n - 1, m + 1) VAL [\old(m)=3, \old(n)=7] [L6] COND FALSE !(n <= 0) VAL [\old(m)=3, \old(n)=7, m=3, n=7] [L9] CALL, EXPR sum(n - 1, m + 1) VAL [\old(m)=4, \old(n)=6] [L6] COND FALSE !(n <= 0) VAL [\old(m)=4, \old(n)=6, m=4, n=6] [L9] CALL, EXPR sum(n - 1, m + 1) VAL [\old(m)=5, \old(n)=5] [L6] COND FALSE !(n <= 0) VAL [\old(m)=5, \old(n)=5, m=5, n=5] [L9] CALL, EXPR sum(n - 1, m + 1) VAL [\old(m)=6, \old(n)=4] [L6] COND FALSE !(n <= 0) VAL [\old(m)=6, \old(n)=4, m=6, n=4] [L9] CALL, EXPR sum(n - 1, m + 1) VAL [\old(m)=7, \old(n)=3] [L6] COND FALSE !(n <= 0) VAL [\old(m)=7, \old(n)=3, m=7, n=3] [L9] CALL, EXPR sum(n - 1, m + 1) VAL [\old(m)=8, \old(n)=2] [L6] COND FALSE !(n <= 0) VAL [\old(m)=8, \old(n)=2, m=8, n=2] [L9] CALL, EXPR sum(n - 1, m + 1) VAL [\old(m)=9, \old(n)=1] [L6] COND FALSE !(n <= 0) VAL [\old(m)=9, \old(n)=1, m=9, n=1] [L9] CALL, EXPR sum(n - 1, m + 1) VAL [\old(m)=10, \old(n)=0] [L6] COND TRUE n <= 0 [L7] return m + n; VAL [\old(m)=10, \old(n)=0, \result=10] [L9] RET, EXPR sum(n - 1, m + 1) VAL [\old(m)=9, \old(n)=1, m=9, n=1] [L9] return sum(n - 1, m + 1); [L9] RET, EXPR sum(n - 1, m + 1) VAL [\old(m)=8, \old(n)=2, m=8, n=2] [L9] return sum(n - 1, m + 1); [L9] RET, EXPR sum(n - 1, m + 1) VAL [\old(m)=7, \old(n)=3, m=7, n=3] [L9] return sum(n - 1, m + 1); [L9] RET, EXPR sum(n - 1, m + 1) VAL [\old(m)=6, \old(n)=4, m=6, n=4] [L9] return sum(n - 1, m + 1); [L9] RET, EXPR sum(n - 1, m + 1) VAL [\old(m)=5, \old(n)=5, m=5, n=5] [L9] return sum(n - 1, m + 1); [L9] RET, EXPR sum(n - 1, m + 1) VAL [\old(m)=4, \old(n)=6, m=4, n=6] [L9] return sum(n - 1, m + 1); [L9] RET, EXPR sum(n - 1, m + 1) VAL [\old(m)=3, \old(n)=7, m=3, n=7] [L9] return sum(n - 1, m + 1); [L9] RET, EXPR sum(n - 1, m + 1) VAL [\old(m)=2, \old(n)=8, m=2, n=8] [L9] return sum(n - 1, m + 1); [L9] RET, EXPR sum(n - 1, m + 1) VAL [\old(m)=1, \old(n)=9, m=1, n=9] [L9] return sum(n - 1, m + 1); [L9] RET, EXPR sum(n - 1, m + 1) VAL [\old(m)=0, \old(n)=10, m=0, n=10] [L9] return sum(n - 1, m + 1); [L16] RET, EXPR sum(a, b) VAL [a=10, b=0] [L16] int result = sum(a, b); [L17] COND TRUE result == a + b [L18] reach_error() * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.36ms. Allocated memory is still 117.4MB. Free memory is still 73.8MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 230.21ms. Allocated memory is still 117.4MB. Free memory was 92.7MB in the beginning and 82.1MB in the end (delta: 10.6MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 32.44ms. Allocated memory is still 117.4MB. Free memory was 82.1MB in the beginning and 81.0MB in the end (delta: 1.1MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 20.79ms. Allocated memory is still 117.4MB. Free memory was 81.0MB in the beginning and 80.6MB in the end (delta: 466.0kB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 247.37ms. Allocated memory is still 117.4MB. Free memory was 80.6MB in the beginning and 71.1MB in the end (delta: 9.5MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 4292.35ms. Allocated memory was 117.4MB in the beginning and 142.6MB in the end (delta: 25.2MB). Free memory was 71.1MB in the beginning and 70.7MB in the end (delta: 395.8kB). Peak memory consumption was 21.6MB. Max. memory is 16.1GB. * Witness Printer took 55.10ms. Allocated memory is still 142.6MB. Free memory was 70.7MB in the beginning and 67.8MB in the end (delta: 2.8MB). There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate proved your program to be incorrect! [2024-11-13 21:51:38,096 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_16f52c8b-41ed-4310-b9b4-c5107807ac9c/bin/ukojak-verify-EEHR8qb7sm/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 Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE