./Ultimate.py --spec ../../sv-benchmarks/c/properties/unreach-call.prp --file ../../sv-benchmarks/c/loops/invert_string-1.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_54ae3bb3-608c-41c2-80f6-69a56e65d890/bin/ukojak-verify-CZk0znPC7b/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_54ae3bb3-608c-41c2-80f6-69a56e65d890/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_54ae3bb3-608c-41c2-80f6-69a56e65d890/bin/ukojak-verify-CZk0znPC7b/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_54ae3bb3-608c-41c2-80f6-69a56e65d890/bin/ukojak-verify-CZk0znPC7b/config/KojakReach.xml -i ../../sv-benchmarks/c/loops/invert_string-1.c -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_54ae3bb3-608c-41c2-80f6-69a56e65d890/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_54ae3bb3-608c-41c2-80f6-69a56e65d890/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 b3da85103e65fd13a584e838d8b961878044a0a70e09ad1788e3ca53a404f357 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-d790fec [2024-12-05 21:56:42,545 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-12-05 21:56:42,600 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_54ae3bb3-608c-41c2-80f6-69a56e65d890/bin/ukojak-verify-CZk0znPC7b/config/svcomp-Reach-32bit-Kojak_Default.epf [2024-12-05 21:56:42,605 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-12-05 21:56:42,605 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-12-05 21:56:42,624 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-12-05 21:56:42,625 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-12-05 21:56:42,625 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-12-05 21:56:42,625 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-12-05 21:56:42,625 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-12-05 21:56:42,625 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-12-05 21:56:42,626 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-12-05 21:56:42,626 INFO L153 SettingsManager]: * sizeof long=4 [2024-12-05 21:56:42,626 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-12-05 21:56:42,626 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-12-05 21:56:42,626 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-12-05 21:56:42,626 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-12-05 21:56:42,626 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-12-05 21:56:42,626 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-12-05 21:56:42,626 INFO L153 SettingsManager]: * sizeof long double=12 [2024-12-05 21:56:42,626 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-12-05 21:56:42,626 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2024-12-05 21:56:42,626 INFO L153 SettingsManager]: * Use constant arrays=true [2024-12-05 21:56:42,627 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-12-05 21:56:42,627 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-12-05 21:56:42,627 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-12-05 21:56:42,627 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-12-05 21:56:42,627 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-12-05 21:56:42,627 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-12-05 21:56:42,627 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-12-05 21:56:42,627 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-12-05 21:56:42,627 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-12-05 21:56:42,627 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-12-05 21:56:42,627 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_54ae3bb3-608c-41c2-80f6-69a56e65d890/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 -> b3da85103e65fd13a584e838d8b961878044a0a70e09ad1788e3ca53a404f357 [2024-12-05 21:56:42,860 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-12-05 21:56:42,868 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-12-05 21:56:42,870 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-12-05 21:56:42,871 INFO L270 PluginConnector]: Initializing CDTParser... [2024-12-05 21:56:42,871 INFO L274 PluginConnector]: CDTParser initialized [2024-12-05 21:56:42,872 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_54ae3bb3-608c-41c2-80f6-69a56e65d890/bin/ukojak-verify-CZk0znPC7b/../../sv-benchmarks/c/loops/invert_string-1.c [2024-12-05 21:56:45,493 INFO L533 CDTParser]: Created temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_54ae3bb3-608c-41c2-80f6-69a56e65d890/bin/ukojak-verify-CZk0znPC7b/data/2418e13e9/be38f0d043a44f349befd1b89de0cd1d/FLAG2974c5911 [2024-12-05 21:56:45,673 INFO L384 CDTParser]: Found 1 translation units. [2024-12-05 21:56:45,674 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_54ae3bb3-608c-41c2-80f6-69a56e65d890/sv-benchmarks/c/loops/invert_string-1.c [2024-12-05 21:56:45,679 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_54ae3bb3-608c-41c2-80f6-69a56e65d890/bin/ukojak-verify-CZk0znPC7b/data/2418e13e9/be38f0d043a44f349befd1b89de0cd1d/FLAG2974c5911 [2024-12-05 21:56:46,055 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_54ae3bb3-608c-41c2-80f6-69a56e65d890/bin/ukojak-verify-CZk0znPC7b/data/2418e13e9/be38f0d043a44f349befd1b89de0cd1d [2024-12-05 21:56:46,056 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-12-05 21:56:46,057 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-12-05 21:56:46,058 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-12-05 21:56:46,058 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-12-05 21:56:46,061 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-12-05 21:56:46,062 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 05.12 09:56:46" (1/1) ... [2024-12-05 21:56:46,062 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@31fe0394 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.12 09:56:46, skipping insertion in model container [2024-12-05 21:56:46,063 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 05.12 09:56:46" (1/1) ... [2024-12-05 21:56:46,074 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-12-05 21:56:46,186 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_54ae3bb3-608c-41c2-80f6-69a56e65d890/sv-benchmarks/c/loops/invert_string-1.c[352,365] [2024-12-05 21:56:46,201 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-12-05 21:56:46,207 INFO L200 MainTranslator]: Completed pre-run [2024-12-05 21:56:46,214 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_54ae3bb3-608c-41c2-80f6-69a56e65d890/sv-benchmarks/c/loops/invert_string-1.c[352,365] [2024-12-05 21:56:46,221 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-12-05 21:56:46,232 INFO L204 MainTranslator]: Completed translation [2024-12-05 21:56:46,232 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.12 09:56:46 WrapperNode [2024-12-05 21:56:46,232 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-12-05 21:56:46,233 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-12-05 21:56:46,233 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-12-05 21:56:46,233 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-12-05 21:56:46,239 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.12 09:56:46" (1/1) ... [2024-12-05 21:56:46,244 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.12 09:56:46" (1/1) ... [2024-12-05 21:56:46,256 INFO L138 Inliner]: procedures = 15, calls = 18, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 72 [2024-12-05 21:56:46,257 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-12-05 21:56:46,257 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-12-05 21:56:46,257 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-12-05 21:56:46,257 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-12-05 21:56:46,262 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.12 09:56:46" (1/1) ... [2024-12-05 21:56:46,262 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.12 09:56:46" (1/1) ... [2024-12-05 21:56:46,264 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.12 09:56:46" (1/1) ... [2024-12-05 21:56:46,264 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.12 09:56:46" (1/1) ... [2024-12-05 21:56:46,268 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.12 09:56:46" (1/1) ... [2024-12-05 21:56:46,269 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.12 09:56:46" (1/1) ... [2024-12-05 21:56:46,272 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.12 09:56:46" (1/1) ... [2024-12-05 21:56:46,274 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.12 09:56:46" (1/1) ... [2024-12-05 21:56:46,274 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.12 09:56:46" (1/1) ... [2024-12-05 21:56:46,276 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-12-05 21:56:46,276 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-12-05 21:56:46,277 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-12-05 21:56:46,277 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-12-05 21:56:46,278 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.12 09:56:46" (1/1) ... [2024-12-05 21:56:46,283 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-12-05 21:56:46,292 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_54ae3bb3-608c-41c2-80f6-69a56e65d890/bin/ukojak-verify-CZk0znPC7b/z3 [2024-12-05 21:56:46,302 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_54ae3bb3-608c-41c2-80f6-69a56e65d890/bin/ukojak-verify-CZk0znPC7b/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-12-05 21:56:46,305 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_54ae3bb3-608c-41c2-80f6-69a56e65d890/bin/ukojak-verify-CZk0znPC7b/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-12-05 21:56:46,328 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-12-05 21:56:46,328 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-12-05 21:56:46,328 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-12-05 21:56:46,328 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2024-12-05 21:56:46,328 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-12-05 21:56:46,328 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-12-05 21:56:46,328 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2024-12-05 21:56:46,328 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-12-05 21:56:46,403 INFO L234 CfgBuilder]: Building ICFG [2024-12-05 21:56:46,404 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2024-12-05 21:56:46,519 INFO L? ?]: Removed 12 outVars from TransFormulas that were not future-live. [2024-12-05 21:56:46,519 INFO L283 CfgBuilder]: Performing block encoding [2024-12-05 21:56:46,565 INFO L307 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-12-05 21:56:46,566 INFO L312 CfgBuilder]: Removed 3 assume(true) statements. [2024-12-05 21:56:46,566 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 05.12 09:56:46 BoogieIcfgContainer [2024-12-05 21:56:46,566 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-12-05 21:56:46,567 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-12-05 21:56:46,567 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-12-05 21:56:46,575 INFO L274 PluginConnector]: CodeCheck initialized [2024-12-05 21:56:46,575 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 05.12 09:56:46" (1/1) ... [2024-12-05 21:56:46,581 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-12-05 21:56:46,618 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-05 21:56:46,624 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 9 states and 12 transitions. [2024-12-05 21:56:46,624 INFO L276 IsEmpty]: Start isEmpty. Operand 9 states and 12 transitions. [2024-12-05 21:56:46,626 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 7 [2024-12-05 21:56:46,626 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-05 21:56:46,627 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-05 21:56:46,711 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-05 21:56:46,812 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-05 21:56:46,859 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-05 21:56:46,860 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 10 states and 12 transitions. [2024-12-05 21:56:46,860 INFO L276 IsEmpty]: Start isEmpty. Operand 10 states and 12 transitions. [2024-12-05 21:56:46,860 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 8 [2024-12-05 21:56:46,860 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-05 21:56:46,860 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-05 21:56:46,884 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-05 21:56:46,954 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2024-12-05 21:56:47,125 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-05 21:56:47,125 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 13 states to 11 states and 13 transitions. [2024-12-05 21:56:47,126 INFO L276 IsEmpty]: Start isEmpty. Operand 11 states and 13 transitions. [2024-12-05 21:56:47,126 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2024-12-05 21:56:47,126 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-05 21:56:47,126 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-05 21:56:47,160 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-05 21:56:47,654 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-12-05 21:56:48,287 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-05 21:56:48,287 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 27 states to 17 states and 27 transitions. [2024-12-05 21:56:48,288 INFO L276 IsEmpty]: Start isEmpty. Operand 17 states and 27 transitions. [2024-12-05 21:56:48,290 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2024-12-05 21:56:48,290 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-05 21:56:48,290 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-05 21:56:48,307 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-05 21:56:48,418 INFO L134 CoverageAnalysis]: Checked inductivity of 4 backedges. 1 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-12-05 21:56:49,115 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-05 21:56:49,115 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 27 states to 18 states and 27 transitions. [2024-12-05 21:56:49,115 INFO L276 IsEmpty]: Start isEmpty. Operand 18 states and 27 transitions. [2024-12-05 21:56:49,116 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2024-12-05 21:56:49,116 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-05 21:56:49,116 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-05 21:56:49,133 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-05 21:56:49,281 INFO L134 CoverageAnalysis]: Checked inductivity of 4 backedges. 3 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-12-05 21:56:49,506 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-05 21:56:49,506 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 28 states to 19 states and 28 transitions. [2024-12-05 21:56:49,506 INFO L276 IsEmpty]: Start isEmpty. Operand 19 states and 28 transitions. [2024-12-05 21:56:49,506 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2024-12-05 21:56:49,506 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-05 21:56:49,507 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-05 21:56:49,534 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-05 21:56:50,178 INFO L134 CoverageAnalysis]: Checked inductivity of 6 backedges. 0 proven. 6 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-12-05 21:56:51,627 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-05 21:56:51,627 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 41 states to 25 states and 41 transitions. [2024-12-05 21:56:51,627 INFO L276 IsEmpty]: Start isEmpty. Operand 25 states and 41 transitions. [2024-12-05 21:56:51,627 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2024-12-05 21:56:51,627 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-05 21:56:51,628 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-05 21:56:51,640 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-05 21:56:51,781 INFO L134 CoverageAnalysis]: Checked inductivity of 4 backedges. 1 proven. 2 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2024-12-05 21:56:52,779 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-05 21:56:52,779 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 53 states to 31 states and 53 transitions. [2024-12-05 21:56:52,779 INFO L276 IsEmpty]: Start isEmpty. Operand 31 states and 53 transitions. [2024-12-05 21:56:52,780 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2024-12-05 21:56:52,780 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-05 21:56:52,780 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-05 21:56:52,792 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-05 21:56:52,950 INFO L134 CoverageAnalysis]: Checked inductivity of 9 backedges. 3 proven. 6 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-12-05 21:56:53,661 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-05 21:56:53,662 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 55 states to 32 states and 55 transitions. [2024-12-05 21:56:53,662 INFO L276 IsEmpty]: Start isEmpty. Operand 32 states and 55 transitions. [2024-12-05 21:56:53,662 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2024-12-05 21:56:53,662 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-05 21:56:53,663 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-05 21:56:53,675 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-05 21:56:53,814 INFO L134 CoverageAnalysis]: Checked inductivity of 9 backedges. 6 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-12-05 21:56:54,058 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-05 21:56:54,059 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 56 states to 33 states and 56 transitions. [2024-12-05 21:56:54,059 INFO L276 IsEmpty]: Start isEmpty. Operand 33 states and 56 transitions. [2024-12-05 21:56:54,059 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2024-12-05 21:56:54,059 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-05 21:56:54,059 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-05 21:56:54,080 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-05 21:56:54,787 INFO L134 CoverageAnalysis]: Checked inductivity of 12 backedges. 0 proven. 12 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-12-05 21:56:56,803 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-05 21:56:56,804 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 70 states to 39 states and 70 transitions. [2024-12-05 21:56:56,804 INFO L276 IsEmpty]: Start isEmpty. Operand 39 states and 70 transitions. [2024-12-05 21:56:56,804 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2024-12-05 21:56:56,804 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-05 21:56:56,804 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-05 21:56:56,825 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-05 21:56:57,261 INFO L134 CoverageAnalysis]: Checked inductivity of 12 backedges. 0 proven. 12 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-12-05 21:56:57,762 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-05 21:56:57,763 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 70 states to 40 states and 70 transitions. [2024-12-05 21:56:57,763 INFO L276 IsEmpty]: Start isEmpty. Operand 40 states and 70 transitions. [2024-12-05 21:56:57,763 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 14 [2024-12-05 21:56:57,763 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-05 21:56:57,763 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-05 21:56:57,784 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-12-05 21:56:57,784 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-12-05 21:56:57,800 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-12-05 21:56:57,853 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-12-05 21:56:57,853 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-12-05 21:56:57,868 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-12-05 21:56:57,885 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 12 iterations. [2024-12-05 21:56:57,912 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 05.12 09:56:57 ImpRootNode [2024-12-05 21:56:57,912 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-12-05 21:56:57,913 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-12-05 21:56:57,913 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-12-05 21:56:57,913 INFO L274 PluginConnector]: Witness Printer initialized [2024-12-05 21:56:57,914 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 05.12 09:56:46" (3/4) ... [2024-12-05 21:56:57,914 INFO L140 WitnessPrinter]: Generating witness for reachability counterexample [2024-12-05 21:56:57,954 INFO L129 tionWitnessGenerator]: Generated YAML witness of length 15. [2024-12-05 21:56:58,003 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_54ae3bb3-608c-41c2-80f6-69a56e65d890/bin/ukojak-verify-CZk0znPC7b/witness.graphml [2024-12-05 21:56:58,003 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_54ae3bb3-608c-41c2-80f6-69a56e65d890/bin/ukojak-verify-CZk0znPC7b/witness.yml [2024-12-05 21:56:58,003 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-12-05 21:56:58,004 INFO L158 Benchmark]: Toolchain (without parser) took 11946.53ms. Allocated memory was 117.4MB in the beginning and 218.1MB in the end (delta: 100.7MB). Free memory was 93.2MB in the beginning and 127.0MB in the end (delta: -33.8MB). Peak memory consumption was 68.3MB. Max. memory is 16.1GB. [2024-12-05 21:56:58,004 INFO L158 Benchmark]: CDTParser took 0.18ms. Allocated memory is still 117.4MB. Free memory is still 72.7MB. There was no memory consumed. Max. memory is 16.1GB. [2024-12-05 21:56:58,005 INFO L158 Benchmark]: CACSL2BoogieTranslator took 174.40ms. Allocated memory is still 117.4MB. Free memory was 92.9MB in the beginning and 81.7MB in the end (delta: 11.2MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-12-05 21:56:58,005 INFO L158 Benchmark]: Boogie Procedure Inliner took 23.48ms. Allocated memory is still 117.4MB. Free memory was 81.7MB in the beginning and 80.6MB in the end (delta: 1.1MB). There was no memory consumed. Max. memory is 16.1GB. [2024-12-05 21:56:58,005 INFO L158 Benchmark]: Boogie Preprocessor took 18.64ms. Allocated memory is still 117.4MB. Free memory was 80.6MB in the beginning and 79.6MB in the end (delta: 967.9kB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-12-05 21:56:58,006 INFO L158 Benchmark]: RCFGBuilder took 289.55ms. Allocated memory is still 117.4MB. Free memory was 79.6MB in the beginning and 65.6MB in the end (delta: 14.0MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-12-05 21:56:58,006 INFO L158 Benchmark]: CodeCheck took 11345.71ms. Allocated memory was 117.4MB in the beginning and 218.1MB in the end (delta: 100.7MB). Free memory was 65.6MB in the beginning and 132.9MB in the end (delta: -67.3MB). Peak memory consumption was 34.8MB. Max. memory is 16.1GB. [2024-12-05 21:56:58,006 INFO L158 Benchmark]: Witness Printer took 90.45ms. Allocated memory is still 218.1MB. Free memory was 132.9MB in the beginning and 127.0MB in the end (delta: 5.9MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-12-05 21:56:58,008 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 1 procedures, 9 locations, 1 error locations. Started 1 CEGAR loops. OverallTime: 11.3s, OverallIterations: 12, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 196 SdHoareTripleChecker+Valid, 2.9s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 20 mSDsluCounter, 44 SdHoareTripleChecker+Invalid, 2.5s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 765 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 1519 IncrementalHoareTripleChecker+Invalid, 2284 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 765 mSolverCounterUnsat, 44 mSDtfsCounter, 1519 mSolverCounterSat, 0.1s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 1058 GetRequests, 830 SyntacticMatches, 38 SemanticMatches, 190 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 17719 ImplicationChecksByTransitivity, 8.6s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.2s SatisfiabilityAnalysisTime, 3.1s InterpolantComputationTime, 119 NumberOfCodeBlocks, 119 NumberOfCodeBlocksAsserted, 12 NumberOfCheckSat, 95 ConstructedInterpolants, 0 QuantifiedInterpolants, 708 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 11 InterpolantComputations, 2 PerfectInterpolantSequences, 16/63 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: 8]: a call to reach_error is reachable a call to reach_error is reachable We found a FailurePath: [L16] int MAX = __VERIFIER_nondet_uint(); [L17] COND FALSE !(!(MAX > 0)) [L18] char str1[MAX], str2[MAX]; [L19] int cont, i, j; [L20] cont = 0 [L22] i=0 VAL [MAX=2, i=0, str1={3933:0}, str2={3932:0}] [L22] COND TRUE i= 0 [L30] EXPR str1[0] [L30] str2[j] = str1[0] [L31] j++ [L29] i-- VAL [MAX=2, i=0, j=1, str1={3933:0}, str2={3932:0}] [L29] COND TRUE i >= 0 [L30] EXPR str1[0] [L30] str2[j] = str1[0] [L31] j++ [L29] i-- VAL [MAX=2, i=-1, j=2, str1={3933:0}, str2={3932:0}] [L29] COND FALSE !(i >= 0) [L34] j = MAX-1 [L35] i=0 VAL [MAX=2, i=0, j=1, str1={3933:0}, str2={3932:0}] [L35] COND TRUE i