./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 d790fecc Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6ef0113-5bbb-4383-900e-6147923afa5c/bin/ukojak-verify-CZk0znPC7b/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6ef0113-5bbb-4383-900e-6147923afa5c/bin/ukojak-verify-CZk0znPC7b/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6ef0113-5bbb-4383-900e-6147923afa5c/bin/ukojak-verify-CZk0znPC7b/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6ef0113-5bbb-4383-900e-6147923afa5c/bin/ukojak-verify-CZk0znPC7b/config/KojakReach.xml -i ../../sv-benchmarks/c/recursive-simple/sum_10x0-2.c -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6ef0113-5bbb-4383-900e-6147923afa5c/bin/ukojak-verify-CZk0znPC7b/config/svcomp-Reach-32bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6ef0113-5bbb-4383-900e-6147923afa5c/bin/ukojak-verify-CZk0znPC7b --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-d790fec [2024-12-06 01:31:12,408 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-12-06 01:31:12,466 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6ef0113-5bbb-4383-900e-6147923afa5c/bin/ukojak-verify-CZk0znPC7b/config/svcomp-Reach-32bit-Kojak_Default.epf [2024-12-06 01:31:12,471 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-12-06 01:31:12,471 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-12-06 01:31:12,491 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-12-06 01:31:12,492 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-12-06 01:31:12,492 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-12-06 01:31:12,493 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-12-06 01:31:12,493 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-12-06 01:31:12,493 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-12-06 01:31:12,493 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-12-06 01:31:12,493 INFO L153 SettingsManager]: * sizeof long=4 [2024-12-06 01:31:12,493 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-12-06 01:31:12,493 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-12-06 01:31:12,493 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-12-06 01:31:12,494 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-12-06 01:31:12,494 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-12-06 01:31:12,494 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-12-06 01:31:12,494 INFO L153 SettingsManager]: * sizeof long double=12 [2024-12-06 01:31:12,494 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-12-06 01:31:12,494 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2024-12-06 01:31:12,494 INFO L153 SettingsManager]: * Use constant arrays=true [2024-12-06 01:31:12,494 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-12-06 01:31:12,494 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-12-06 01:31:12,494 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-12-06 01:31:12,494 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-12-06 01:31:12,495 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-12-06 01:31:12,495 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-12-06 01:31:12,495 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-12-06 01:31:12,495 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-12-06 01:31:12,495 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-12-06 01:31:12,495 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-12-06 01:31:12,495 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_f6ef0113-5bbb-4383-900e-6147923afa5c/bin/ukojak-verify-CZk0znPC7b 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-12-06 01:31:12,736 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-12-06 01:31:12,744 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-12-06 01:31:12,746 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-12-06 01:31:12,747 INFO L270 PluginConnector]: Initializing CDTParser... [2024-12-06 01:31:12,747 INFO L274 PluginConnector]: CDTParser initialized [2024-12-06 01:31:12,749 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6ef0113-5bbb-4383-900e-6147923afa5c/bin/ukojak-verify-CZk0znPC7b/../../sv-benchmarks/c/recursive-simple/sum_10x0-2.c [2024-12-06 01:31:15,487 INFO L533 CDTParser]: Created temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6ef0113-5bbb-4383-900e-6147923afa5c/bin/ukojak-verify-CZk0znPC7b/data/92e672201/4577923d5ca648868ad851f814dfaa31/FLAGf5ce29b9a [2024-12-06 01:31:15,683 INFO L384 CDTParser]: Found 1 translation units. [2024-12-06 01:31:15,683 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6ef0113-5bbb-4383-900e-6147923afa5c/sv-benchmarks/c/recursive-simple/sum_10x0-2.c [2024-12-06 01:31:15,695 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6ef0113-5bbb-4383-900e-6147923afa5c/bin/ukojak-verify-CZk0znPC7b/data/92e672201/4577923d5ca648868ad851f814dfaa31/FLAGf5ce29b9a [2024-12-06 01:31:15,710 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6ef0113-5bbb-4383-900e-6147923afa5c/bin/ukojak-verify-CZk0znPC7b/data/92e672201/4577923d5ca648868ad851f814dfaa31 [2024-12-06 01:31:15,712 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-12-06 01:31:15,714 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-12-06 01:31:15,715 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-12-06 01:31:15,715 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-12-06 01:31:15,719 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-12-06 01:31:15,720 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 06.12 01:31:15" (1/1) ... [2024-12-06 01:31:15,721 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@a9cd43f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 01:31:15, skipping insertion in model container [2024-12-06 01:31:15,721 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 06.12 01:31:15" (1/1) ... [2024-12-06 01:31:15,734 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-12-06 01:31:15,868 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_f6ef0113-5bbb-4383-900e-6147923afa5c/sv-benchmarks/c/recursive-simple/sum_10x0-2.c[481,494] [2024-12-06 01:31:15,871 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-12-06 01:31:15,881 INFO L200 MainTranslator]: Completed pre-run [2024-12-06 01:31:15,892 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_f6ef0113-5bbb-4383-900e-6147923afa5c/sv-benchmarks/c/recursive-simple/sum_10x0-2.c[481,494] [2024-12-06 01:31:15,892 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-12-06 01:31:15,906 INFO L204 MainTranslator]: Completed translation [2024-12-06 01:31:15,906 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 01:31:15 WrapperNode [2024-12-06 01:31:15,906 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-12-06 01:31:15,907 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-12-06 01:31:15,907 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-12-06 01:31:15,908 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-12-06 01:31:15,914 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 01:31:15" (1/1) ... [2024-12-06 01:31:15,919 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 01:31:15" (1/1) ... [2024-12-06 01:31:15,933 INFO L138 Inliner]: procedures = 12, calls = 9, calls flagged for inlining = 2, calls inlined = 2, statements flattened = 19 [2024-12-06 01:31:15,933 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-12-06 01:31:15,934 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-12-06 01:31:15,934 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-12-06 01:31:15,934 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-12-06 01:31:15,939 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 01:31:15" (1/1) ... [2024-12-06 01:31:15,939 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 01:31:15" (1/1) ... [2024-12-06 01:31:15,940 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 01:31:15" (1/1) ... [2024-12-06 01:31:15,940 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 01:31:15" (1/1) ... [2024-12-06 01:31:15,942 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 01:31:15" (1/1) ... [2024-12-06 01:31:15,943 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 01:31:15" (1/1) ... [2024-12-06 01:31:15,944 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 01:31:15" (1/1) ... [2024-12-06 01:31:15,944 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 01:31:15" (1/1) ... [2024-12-06 01:31:15,945 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 01:31:15" (1/1) ... [2024-12-06 01:31:15,946 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-12-06 01:31:15,946 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-12-06 01:31:15,947 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-12-06 01:31:15,947 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-12-06 01:31:15,948 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 01:31:15" (1/1) ... [2024-12-06 01:31:15,953 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-12-06 01:31:15,965 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6ef0113-5bbb-4383-900e-6147923afa5c/bin/ukojak-verify-CZk0znPC7b/z3 [2024-12-06 01:31:15,976 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6ef0113-5bbb-4383-900e-6147923afa5c/bin/ukojak-verify-CZk0znPC7b/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-12-06 01:31:15,979 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6ef0113-5bbb-4383-900e-6147923afa5c/bin/ukojak-verify-CZk0znPC7b/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-12-06 01:31:16,005 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-12-06 01:31:16,005 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-12-06 01:31:16,006 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-12-06 01:31:16,006 INFO L130 BoogieDeclarations]: Found specification of procedure sum [2024-12-06 01:31:16,006 INFO L138 BoogieDeclarations]: Found implementation of procedure sum [2024-12-06 01:31:16,006 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-12-06 01:31:16,058 INFO L234 CfgBuilder]: Building ICFG [2024-12-06 01:31:16,060 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2024-12-06 01:31:16,147 INFO L? ?]: Removed 10 outVars from TransFormulas that were not future-live. [2024-12-06 01:31:16,147 INFO L283 CfgBuilder]: Performing block encoding [2024-12-06 01:31:16,164 INFO L307 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-12-06 01:31:16,164 INFO L312 CfgBuilder]: Removed 0 assume(true) statements. [2024-12-06 01:31:16,165 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 06.12 01:31:16 BoogieIcfgContainer [2024-12-06 01:31:16,165 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-12-06 01:31:16,165 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-12-06 01:31:16,166 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-12-06 01:31:16,173 INFO L274 PluginConnector]: CodeCheck initialized [2024-12-06 01:31:16,173 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 06.12 01:31:16" (1/1) ... [2024-12-06 01:31:16,180 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-12-06 01:31:16,213 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-06 01:31:16,221 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 16 states to 14 states and 16 transitions. [2024-12-06 01:31:16,221 INFO L276 IsEmpty]: Start isEmpty. Operand 14 states and 16 transitions. [2024-12-06 01:31:16,225 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2024-12-06 01:31:16,225 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-06 01:31:16,225 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-06 01:31:16,293 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-06 01:31:16,398 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-12-06 01:31:16,490 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-06 01:31:16,490 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 20 states to 16 states and 18 transitions. [2024-12-06 01:31:16,491 INFO L276 IsEmpty]: Start isEmpty. Operand 16 states and 18 transitions. [2024-12-06 01:31:16,491 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 16 [2024-12-06 01:31:16,491 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-06 01:31:16,491 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-06 01:31:16,510 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-06 01:31:16,597 INFO L134 CoverageAnalysis]: Checked inductivity of 4 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2024-12-06 01:31:16,711 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-06 01:31:16,711 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 30 states to 19 states and 23 transitions. [2024-12-06 01:31:16,711 INFO L276 IsEmpty]: Start isEmpty. Operand 19 states and 23 transitions. [2024-12-06 01:31:16,712 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 22 [2024-12-06 01:31:16,712 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-06 01:31:16,712 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-06 01:31:16,729 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-06 01:31:16,828 INFO L134 CoverageAnalysis]: Checked inductivity of 14 backedges. 0 proven. 7 refuted. 0 times theorem prover too weak. 7 trivial. 0 not checked. [2024-12-06 01:31:16,946 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-06 01:31:16,947 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 39 states to 22 states and 29 transitions. [2024-12-06 01:31:16,947 INFO L276 IsEmpty]: Start isEmpty. Operand 22 states and 29 transitions. [2024-12-06 01:31:16,947 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 28 [2024-12-06 01:31:16,947 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-06 01:31:16,948 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-06 01:31:16,963 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-06 01:31:17,060 INFO L134 CoverageAnalysis]: Checked inductivity of 30 backedges. 0 proven. 15 refuted. 0 times theorem prover too weak. 15 trivial. 0 not checked. [2024-12-06 01:31:17,175 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-06 01:31:17,176 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 50 states to 25 states and 36 transitions. [2024-12-06 01:31:17,176 INFO L276 IsEmpty]: Start isEmpty. Operand 25 states and 36 transitions. [2024-12-06 01:31:17,177 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 34 [2024-12-06 01:31:17,177 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-06 01:31:17,177 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-06 01:31:17,191 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-06 01:31:17,300 INFO L134 CoverageAnalysis]: Checked inductivity of 52 backedges. 0 proven. 26 refuted. 0 times theorem prover too weak. 26 trivial. 0 not checked. [2024-12-06 01:31:17,411 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-06 01:31:17,411 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 63 states to 28 states and 44 transitions. [2024-12-06 01:31:17,411 INFO L276 IsEmpty]: Start isEmpty. Operand 28 states and 44 transitions. [2024-12-06 01:31:17,412 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 40 [2024-12-06 01:31:17,412 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-06 01:31:17,412 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-06 01:31:17,427 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-06 01:31:17,552 INFO L134 CoverageAnalysis]: Checked inductivity of 80 backedges. 0 proven. 40 refuted. 0 times theorem prover too weak. 40 trivial. 0 not checked. [2024-12-06 01:31:17,690 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-06 01:31:17,690 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 78 states to 31 states and 53 transitions. [2024-12-06 01:31:17,690 INFO L276 IsEmpty]: Start isEmpty. Operand 31 states and 53 transitions. [2024-12-06 01:31:17,691 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 46 [2024-12-06 01:31:17,692 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-06 01:31:17,692 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-06 01:31:17,707 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-06 01:31:17,821 INFO L134 CoverageAnalysis]: Checked inductivity of 114 backedges. 0 proven. 57 refuted. 0 times theorem prover too weak. 57 trivial. 0 not checked. [2024-12-06 01:31:17,958 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-06 01:31:17,958 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 95 states to 34 states and 63 transitions. [2024-12-06 01:31:17,958 INFO L276 IsEmpty]: Start isEmpty. Operand 34 states and 63 transitions. [2024-12-06 01:31:17,959 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 52 [2024-12-06 01:31:17,960 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-06 01:31:17,960 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-06 01:31:17,975 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-06 01:31:18,123 INFO L134 CoverageAnalysis]: Checked inductivity of 154 backedges. 0 proven. 77 refuted. 0 times theorem prover too weak. 77 trivial. 0 not checked. [2024-12-06 01:31:18,272 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-06 01:31:18,273 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 114 states to 37 states and 74 transitions. [2024-12-06 01:31:18,273 INFO L276 IsEmpty]: Start isEmpty. Operand 37 states and 74 transitions. [2024-12-06 01:31:18,274 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 58 [2024-12-06 01:31:18,274 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-06 01:31:18,275 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-06 01:31:18,291 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-06 01:31:18,430 INFO L134 CoverageAnalysis]: Checked inductivity of 200 backedges. 0 proven. 100 refuted. 0 times theorem prover too weak. 100 trivial. 0 not checked. [2024-12-06 01:31:18,596 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-06 01:31:18,597 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 135 states to 40 states and 86 transitions. [2024-12-06 01:31:18,597 INFO L276 IsEmpty]: Start isEmpty. Operand 40 states and 86 transitions. [2024-12-06 01:31:18,598 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 64 [2024-12-06 01:31:18,598 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-06 01:31:18,599 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-06 01:31:18,613 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-06 01:31:18,765 INFO L134 CoverageAnalysis]: Checked inductivity of 252 backedges. 0 proven. 126 refuted. 0 times theorem prover too weak. 126 trivial. 0 not checked. [2024-12-06 01:31:18,938 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-06 01:31:18,939 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 157 states to 43 states and 99 transitions. [2024-12-06 01:31:18,939 INFO L276 IsEmpty]: Start isEmpty. Operand 43 states and 99 transitions. [2024-12-06 01:31:18,940 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 70 [2024-12-06 01:31:18,940 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-06 01:31:18,940 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-06 01:31:18,962 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-12-06 01:31:18,962 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-12-06 01:31:18,978 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-12-06 01:31:19,042 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-12-06 01:31:19,042 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-12-06 01:31:19,068 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-12-06 01:31:19,095 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 11 iterations. [2024-12-06 01:31:19,126 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 06.12 01:31:19 ImpRootNode [2024-12-06 01:31:19,126 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-12-06 01:31:19,127 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-12-06 01:31:19,127 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-12-06 01:31:19,127 INFO L274 PluginConnector]: Witness Printer initialized [2024-12-06 01:31:19,128 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 06.12 01:31:16" (3/4) ... [2024-12-06 01:31:19,129 INFO L140 WitnessPrinter]: Generating witness for reachability counterexample [2024-12-06 01:31:19,166 INFO L129 tionWitnessGenerator]: Generated YAML witness of length 35. [2024-12-06 01:31:19,213 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6ef0113-5bbb-4383-900e-6147923afa5c/bin/ukojak-verify-CZk0znPC7b/witness.graphml [2024-12-06 01:31:19,213 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6ef0113-5bbb-4383-900e-6147923afa5c/bin/ukojak-verify-CZk0znPC7b/witness.yml [2024-12-06 01:31:19,213 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-12-06 01:31:19,214 INFO L158 Benchmark]: Toolchain (without parser) took 3500.36ms. Allocated memory is still 142.6MB. Free memory was 117.8MB in the beginning and 52.3MB in the end (delta: 65.4MB). Peak memory consumption was 54.2MB. Max. memory is 16.1GB. [2024-12-06 01:31:19,214 INFO L158 Benchmark]: CDTParser took 0.31ms. Allocated memory is still 142.6MB. Free memory is still 82.8MB. There was no memory consumed. Max. memory is 16.1GB. [2024-12-06 01:31:19,215 INFO L158 Benchmark]: CACSL2BoogieTranslator took 191.76ms. Allocated memory is still 142.6MB. Free memory was 117.5MB in the beginning and 107.1MB in the end (delta: 10.4MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-12-06 01:31:19,215 INFO L158 Benchmark]: Boogie Procedure Inliner took 26.07ms. Allocated memory is still 142.6MB. Free memory was 106.9MB in the beginning and 106.0MB in the end (delta: 853.4kB). There was no memory consumed. Max. memory is 16.1GB. [2024-12-06 01:31:19,215 INFO L158 Benchmark]: Boogie Preprocessor took 11.98ms. Allocated memory is still 142.6MB. Free memory was 106.0MB in the beginning and 105.4MB in the end (delta: 571.4kB). There was no memory consumed. Max. memory is 16.1GB. [2024-12-06 01:31:19,215 INFO L158 Benchmark]: RCFGBuilder took 218.26ms. Allocated memory is still 142.6MB. Free memory was 105.2MB in the beginning and 95.3MB in the end (delta: 9.9MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-12-06 01:31:19,216 INFO L158 Benchmark]: CodeCheck took 2960.98ms. Allocated memory is still 142.6MB. Free memory was 95.3MB in the beginning and 59.2MB in the end (delta: 36.1MB). Peak memory consumption was 37.5MB. Max. memory is 16.1GB. [2024-12-06 01:31:19,216 INFO L158 Benchmark]: Witness Printer took 86.27ms. Allocated memory is still 142.6MB. Free memory was 59.2MB in the beginning and 52.3MB in the end (delta: 6.9MB). There was no memory consumed. Max. memory is 16.1GB. [2024-12-06 01:31:19,217 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: 2.9s, 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.3s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 227 mSDsluCounter, 547 SdHoareTripleChecker+Invalid, 1.9s 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, 0.7s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 1.2s 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, ConComCheckerStatistics: 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.31ms. Allocated memory is still 142.6MB. Free memory is still 82.8MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 191.76ms. Allocated memory is still 142.6MB. Free memory was 117.5MB in the beginning and 107.1MB in the end (delta: 10.4MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 26.07ms. Allocated memory is still 142.6MB. Free memory was 106.9MB in the beginning and 106.0MB in the end (delta: 853.4kB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 11.98ms. Allocated memory is still 142.6MB. Free memory was 106.0MB in the beginning and 105.4MB in the end (delta: 571.4kB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 218.26ms. Allocated memory is still 142.6MB. Free memory was 105.2MB in the beginning and 95.3MB in the end (delta: 9.9MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * CodeCheck took 2960.98ms. Allocated memory is still 142.6MB. Free memory was 95.3MB in the beginning and 59.2MB in the end (delta: 36.1MB). Peak memory consumption was 37.5MB. Max. memory is 16.1GB. * Witness Printer took 86.27ms. Allocated memory is still 142.6MB. Free memory was 59.2MB in the beginning and 52.3MB in the end (delta: 6.9MB). There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate proved your program to be incorrect! [2024-12-06 01:31:19,231 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f6ef0113-5bbb-4383-900e-6147923afa5c/bin/ukojak-verify-CZk0znPC7b/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