./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 9bd2c7ff Calling Ultimate with: /usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fac5bf40-9f17-45d2-9ec3-014709354e4a/bin/ukojak-verify-G8NBE6pJGL/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fac5bf40-9f17-45d2-9ec3-014709354e4a/bin/ukojak-verify-G8NBE6pJGL/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fac5bf40-9f17-45d2-9ec3-014709354e4a/bin/ukojak-verify-G8NBE6pJGL/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fac5bf40-9f17-45d2-9ec3-014709354e4a/bin/ukojak-verify-G8NBE6pJGL/config/KojakReach.xml -i ../../sv-benchmarks/c/loops/invert_string-1.c -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fac5bf40-9f17-45d2-9ec3-014709354e4a/bin/ukojak-verify-G8NBE6pJGL/config/svcomp-Reach-32bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fac5bf40-9f17-45d2-9ec3-014709354e4a/bin/ukojak-verify-G8NBE6pJGL --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.2.3-dev-9bd2c7f [2023-11-19 03:04:04,971 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-19 03:04:05,147 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fac5bf40-9f17-45d2-9ec3-014709354e4a/bin/ukojak-verify-G8NBE6pJGL/config/svcomp-Reach-32bit-Kojak_Default.epf [2023-11-19 03:04:05,162 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-19 03:04:05,163 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2023-11-19 03:04:05,205 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-19 03:04:05,208 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-19 03:04:05,208 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2023-11-19 03:04:05,210 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-19 03:04:05,215 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-19 03:04:05,217 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-19 03:04:05,217 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-19 03:04:05,218 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-19 03:04:05,220 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-19 03:04:05,220 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-19 03:04:05,221 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-19 03:04:05,221 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-19 03:04:05,222 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-19 03:04:05,223 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-19 03:04:05,223 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-19 03:04:05,224 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-19 03:04:05,224 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-19 03:04:05,225 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-11-19 03:04:05,227 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-11-19 03:04:05,228 INFO L153 SettingsManager]: * Theory for external solver=ALL [2023-11-19 03:04:05,229 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-19 03:04:05,229 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-19 03:04:05,230 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-19 03:04:05,231 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-19 03:04:05,231 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-19 03:04:05,233 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2023-11-19 03:04:05,233 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-19 03:04:05,233 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-19 03:04:05,234 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fac5bf40-9f17-45d2-9ec3-014709354e4a/bin/ukojak-verify-G8NBE6pJGL/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fac5bf40-9f17-45d2-9ec3-014709354e4a/bin/ukojak-verify-G8NBE6pJGL 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 [2023-11-19 03:04:05,609 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-19 03:04:05,639 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-19 03:04:05,642 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-19 03:04:05,644 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-19 03:04:05,645 INFO L274 PluginConnector]: CDTParser initialized [2023-11-19 03:04:05,646 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fac5bf40-9f17-45d2-9ec3-014709354e4a/bin/ukojak-verify-G8NBE6pJGL/../../sv-benchmarks/c/loops/invert_string-1.c [2023-11-19 03:04:08,791 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-19 03:04:08,997 INFO L384 CDTParser]: Found 1 translation units. [2023-11-19 03:04:08,998 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fac5bf40-9f17-45d2-9ec3-014709354e4a/sv-benchmarks/c/loops/invert_string-1.c [2023-11-19 03:04:09,005 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fac5bf40-9f17-45d2-9ec3-014709354e4a/bin/ukojak-verify-G8NBE6pJGL/data/72d603758/c4d4e0538fef4c659dfafe808fe99f35/FLAG32115eb71 [2023-11-19 03:04:09,021 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fac5bf40-9f17-45d2-9ec3-014709354e4a/bin/ukojak-verify-G8NBE6pJGL/data/72d603758/c4d4e0538fef4c659dfafe808fe99f35 [2023-11-19 03:04:09,024 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-19 03:04:09,026 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-19 03:04:09,028 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-19 03:04:09,028 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-19 03:04:09,033 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-19 03:04:09,034 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 03:04:09" (1/1) ... [2023-11-19 03:04:09,035 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@3f54e3b and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:04:09, skipping insertion in model container [2023-11-19 03:04:09,035 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.11 03:04:09" (1/1) ... [2023-11-19 03:04:09,056 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-19 03:04:09,237 WARN L240 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_fac5bf40-9f17-45d2-9ec3-014709354e4a/sv-benchmarks/c/loops/invert_string-1.c[352,365] [2023-11-19 03:04:09,266 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 03:04:09,277 INFO L202 MainTranslator]: Completed pre-run [2023-11-19 03:04:09,293 WARN L240 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_fac5bf40-9f17-45d2-9ec3-014709354e4a/sv-benchmarks/c/loops/invert_string-1.c[352,365] [2023-11-19 03:04:09,314 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-19 03:04:09,333 INFO L206 MainTranslator]: Completed translation [2023-11-19 03:04:09,333 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:04:09 WrapperNode [2023-11-19 03:04:09,334 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-19 03:04:09,335 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-19 03:04:09,335 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-19 03:04:09,336 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-19 03:04:09,344 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:04:09" (1/1) ... [2023-11-19 03:04:09,354 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:04:09" (1/1) ... [2023-11-19 03:04:09,383 INFO L138 Inliner]: procedures = 15, calls = 18, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 75 [2023-11-19 03:04:09,384 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-19 03:04:09,385 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-19 03:04:09,385 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-19 03:04:09,385 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-19 03:04:09,397 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:04:09" (1/1) ... [2023-11-19 03:04:09,397 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:04:09" (1/1) ... [2023-11-19 03:04:09,409 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:04:09" (1/1) ... [2023-11-19 03:04:09,409 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:04:09" (1/1) ... [2023-11-19 03:04:09,415 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:04:09" (1/1) ... [2023-11-19 03:04:09,419 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:04:09" (1/1) ... [2023-11-19 03:04:09,427 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:04:09" (1/1) ... [2023-11-19 03:04:09,429 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:04:09" (1/1) ... [2023-11-19 03:04:09,441 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-19 03:04:09,442 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-19 03:04:09,442 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-19 03:04:09,442 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-19 03:04:09,443 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.11 03:04:09" (1/1) ... [2023-11-19 03:04:09,450 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-19 03:04:09,470 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fac5bf40-9f17-45d2-9ec3-014709354e4a/bin/ukojak-verify-G8NBE6pJGL/z3 [2023-11-19 03:04:09,484 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fac5bf40-9f17-45d2-9ec3-014709354e4a/bin/ukojak-verify-G8NBE6pJGL/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2023-11-19 03:04:09,510 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fac5bf40-9f17-45d2-9ec3-014709354e4a/bin/ukojak-verify-G8NBE6pJGL/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2023-11-19 03:04:09,533 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-19 03:04:09,533 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-11-19 03:04:09,533 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-19 03:04:09,534 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-11-19 03:04:09,534 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-19 03:04:09,535 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-19 03:04:09,536 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2023-11-19 03:04:09,536 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-19 03:04:09,635 INFO L236 CfgBuilder]: Building ICFG [2023-11-19 03:04:09,638 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-19 03:04:09,925 INFO L277 CfgBuilder]: Performing block encoding [2023-11-19 03:04:09,995 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-19 03:04:10,001 INFO L302 CfgBuilder]: Removed 3 assume(true) statements. [2023-11-19 03:04:10,006 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.11 03:04:10 BoogieIcfgContainer [2023-11-19 03:04:10,006 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-19 03:04:10,007 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2023-11-19 03:04:10,007 INFO L270 PluginConnector]: Initializing CodeCheck... [2023-11-19 03:04:10,019 INFO L274 PluginConnector]: CodeCheck initialized [2023-11-19 03:04:10,019 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.11 03:04:10" (1/1) ... [2023-11-19 03:04:10,030 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-19 03:04:10,090 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:04:10,098 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 9 states and 12 transitions. [2023-11-19 03:04:10,099 INFO L276 IsEmpty]: Start isEmpty. Operand 9 states and 12 transitions. [2023-11-19 03:04:10,101 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 7 [2023-11-19 03:04:10,102 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:04:10,102 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 03:04:10,256 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:04:10,474 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-19 03:04:10,546 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:04:10,546 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 13 states to 10 states and 13 transitions. [2023-11-19 03:04:10,546 INFO L276 IsEmpty]: Start isEmpty. Operand 10 states and 13 transitions. [2023-11-19 03:04:10,547 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 8 [2023-11-19 03:04:10,547 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:04:10,548 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 03:04:10,593 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:04:10,691 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2023-11-19 03:04:10,805 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:04:10,806 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 14 states to 11 states and 14 transitions. [2023-11-19 03:04:10,806 INFO L276 IsEmpty]: Start isEmpty. Operand 11 states and 14 transitions. [2023-11-19 03:04:10,807 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2023-11-19 03:04:10,807 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:04:10,807 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 03:04:10,875 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:04:11,794 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-19 03:04:12,634 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:04:12,635 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 29 states to 17 states and 29 transitions. [2023-11-19 03:04:12,636 INFO L276 IsEmpty]: Start isEmpty. Operand 17 states and 29 transitions. [2023-11-19 03:04:12,638 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2023-11-19 03:04:12,639 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:04:12,639 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 03:04:12,671 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:04:12,832 INFO L134 CoverageAnalysis]: Checked inductivity of 4 backedges. 0 proven. 4 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-19 03:04:13,629 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:04:13,632 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 33 states to 19 states and 33 transitions. [2023-11-19 03:04:13,632 INFO L276 IsEmpty]: Start isEmpty. Operand 19 states and 33 transitions. [2023-11-19 03:04:13,633 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2023-11-19 03:04:13,633 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:04:13,634 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 03:04:13,660 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:04:13,781 INFO L134 CoverageAnalysis]: Checked inductivity of 4 backedges. 3 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-19 03:04:14,014 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:04:14,016 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 34 states to 20 states and 34 transitions. [2023-11-19 03:04:14,016 INFO L276 IsEmpty]: Start isEmpty. Operand 20 states and 34 transitions. [2023-11-19 03:04:14,017 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2023-11-19 03:04:14,017 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:04:14,017 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 03:04:14,068 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:04:14,940 INFO L134 CoverageAnalysis]: Checked inductivity of 6 backedges. 0 proven. 6 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-19 03:04:16,660 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:04:16,661 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 46 states to 25 states and 46 transitions. [2023-11-19 03:04:16,662 INFO L276 IsEmpty]: Start isEmpty. Operand 25 states and 46 transitions. [2023-11-19 03:04:16,662 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2023-11-19 03:04:16,663 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:04:16,663 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 03:04:16,683 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:04:16,878 INFO L134 CoverageAnalysis]: Checked inductivity of 9 backedges. 1 proven. 8 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-19 03:04:17,594 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:04:17,595 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 53 states to 27 states and 53 transitions. [2023-11-19 03:04:17,595 INFO L276 IsEmpty]: Start isEmpty. Operand 27 states and 53 transitions. [2023-11-19 03:04:17,596 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2023-11-19 03:04:17,596 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:04:17,596 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 03:04:17,629 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:04:17,808 INFO L134 CoverageAnalysis]: Checked inductivity of 9 backedges. 6 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-19 03:04:18,155 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:04:18,156 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 54 states to 28 states and 54 transitions. [2023-11-19 03:04:18,156 INFO L276 IsEmpty]: Start isEmpty. Operand 28 states and 54 transitions. [2023-11-19 03:04:18,157 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2023-11-19 03:04:18,157 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:04:18,158 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 03:04:18,171 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:04:18,400 INFO L134 CoverageAnalysis]: Checked inductivity of 4 backedges. 1 proven. 2 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2023-11-19 03:04:19,519 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:04:19,519 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 62 states to 32 states and 62 transitions. [2023-11-19 03:04:19,520 INFO L276 IsEmpty]: Start isEmpty. Operand 32 states and 62 transitions. [2023-11-19 03:04:19,520 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2023-11-19 03:04:19,520 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:04:19,521 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 03:04:19,538 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:04:19,930 INFO L134 CoverageAnalysis]: Checked inductivity of 16 backedges. 6 proven. 10 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-19 03:04:20,446 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:04:20,447 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 50 states to 29 states and 50 transitions. [2023-11-19 03:04:20,447 INFO L276 IsEmpty]: Start isEmpty. Operand 29 states and 50 transitions. [2023-11-19 03:04:20,448 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2023-11-19 03:04:20,448 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:04:20,449 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 03:04:20,475 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:04:21,791 INFO L134 CoverageAnalysis]: Checked inductivity of 12 backedges. 0 proven. 12 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-19 03:04:24,822 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:04:24,823 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 63 states to 34 states and 63 transitions. [2023-11-19 03:04:24,823 INFO L276 IsEmpty]: Start isEmpty. Operand 34 states and 63 transitions. [2023-11-19 03:04:24,824 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2023-11-19 03:04:24,824 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:04:24,824 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 03:04:24,848 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:04:25,263 INFO L134 CoverageAnalysis]: Checked inductivity of 12 backedges. 0 proven. 12 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-19 03:04:25,754 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:04:25,755 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 63 states to 35 states and 63 transitions. [2023-11-19 03:04:25,755 INFO L276 IsEmpty]: Start isEmpty. Operand 35 states and 63 transitions. [2023-11-19 03:04:25,761 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 14 [2023-11-19 03:04:25,763 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:04:25,763 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 03:04:25,790 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:04:26,136 INFO L134 CoverageAnalysis]: Checked inductivity of 16 backedges. 3 proven. 13 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-19 03:04:27,544 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:04:27,545 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 67 states to 37 states and 67 transitions. [2023-11-19 03:04:27,545 INFO L276 IsEmpty]: Start isEmpty. Operand 37 states and 67 transitions. [2023-11-19 03:04:27,546 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 14 [2023-11-19 03:04:27,546 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:04:27,547 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 03:04:27,564 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-19 03:04:27,729 INFO L134 CoverageAnalysis]: Checked inductivity of 16 backedges. 10 proven. 6 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-19 03:04:28,114 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-19 03:04:28,115 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 68 states to 38 states and 68 transitions. [2023-11-19 03:04:28,115 INFO L276 IsEmpty]: Start isEmpty. Operand 38 states and 68 transitions. [2023-11-19 03:04:28,116 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 14 [2023-11-19 03:04:28,116 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-19 03:04:28,116 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-19 03:04:28,142 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 03:04:28,142 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-19 03:04:28,165 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 03:04:28,235 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 03:04:28,236 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-19 03:04:28,257 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-19 03:04:28,308 WARN L476 CodeCheckObserver]: This program is UNSAFE, Check terminated with 15 iterations. [2023-11-19 03:04:28,368 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 19.11 03:04:28 ImpRootNode [2023-11-19 03:04:28,370 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2023-11-19 03:04:28,371 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-19 03:04:28,371 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-19 03:04:28,372 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-19 03:04:28,373 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.11 03:04:10" (3/4) ... [2023-11-19 03:04:28,374 INFO L131 WitnessPrinter]: Generating witness for reachability counterexample [2023-11-19 03:04:28,446 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_fac5bf40-9f17-45d2-9ec3-014709354e4a/bin/ukojak-verify-G8NBE6pJGL/witness.graphml [2023-11-19 03:04:28,447 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-19 03:04:28,448 INFO L158 Benchmark]: Toolchain (without parser) took 19421.37ms. Allocated memory was 184.5MB in the beginning and 276.8MB in the end (delta: 92.3MB). Free memory was 144.6MB in the beginning and 124.9MB in the end (delta: 19.7MB). Peak memory consumption was 114.9MB. Max. memory is 16.1GB. [2023-11-19 03:04:28,448 INFO L158 Benchmark]: CDTParser took 0.33ms. Allocated memory is still 119.5MB. Free memory is still 87.4MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-19 03:04:28,449 INFO L158 Benchmark]: CACSL2BoogieTranslator took 306.45ms. Allocated memory is still 184.5MB. Free memory was 144.4MB in the beginning and 133.6MB in the end (delta: 10.8MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. [2023-11-19 03:04:28,449 INFO L158 Benchmark]: Boogie Procedure Inliner took 48.97ms. Allocated memory is still 184.5MB. Free memory was 133.6MB in the beginning and 131.9MB in the end (delta: 1.7MB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-19 03:04:28,450 INFO L158 Benchmark]: Boogie Preprocessor took 56.26ms. Allocated memory is still 184.5MB. Free memory was 131.9MB in the beginning and 130.8MB in the end (delta: 1.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-19 03:04:28,450 INFO L158 Benchmark]: RCFGBuilder took 564.34ms. Allocated memory is still 184.5MB. Free memory was 130.8MB in the beginning and 116.2MB in the end (delta: 14.6MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. [2023-11-19 03:04:28,451 INFO L158 Benchmark]: CodeCheck took 18362.84ms. Allocated memory was 184.5MB in the beginning and 276.8MB in the end (delta: 92.3MB). Free memory was 115.9MB in the beginning and 126.9MB in the end (delta: -11.1MB). Peak memory consumption was 83.5MB. Max. memory is 16.1GB. [2023-11-19 03:04:28,452 INFO L158 Benchmark]: Witness Printer took 76.31ms. Allocated memory is still 276.8MB. Free memory was 126.9MB in the beginning and 124.9MB in the end (delta: 2.0MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-19 03:04:28,455 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: 18.3s, OverallIterations: 15, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 351 SdHoareTripleChecker+Valid, 5.9s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 101 mSDsluCounter, 56 SdHoareTripleChecker+Invalid, 5.0s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 1057 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 2156 IncrementalHoareTripleChecker+Invalid, 3213 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 1057 mSolverCounterUnsat, 56 mSDtfsCounter, 2156 mSolverCounterSat, 0.1s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 1439 GetRequests, 1190 SyntacticMatches, 63 SemanticMatches, 186 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 18710 ImplicationChecksByTransitivity, 13.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.1s SsaConstructionTime, 0.3s SatisfiabilityAnalysisTime, 5.6s InterpolantComputationTime, 157 NumberOfCodeBlocks, 157 NumberOfCodeBlocksAsserted, 15 NumberOfCheckSat, 130 ConstructedInterpolants, 0 QuantifiedInterpolants, 800 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 14 InterpolantComputations, 2 PerfectInterpolantSequences, 32/111 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: 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, cont=0, i=0, str1={27490:0}, str2={27491:0}] [L22] COND TRUE i= 0 [L30] EXPR str1[0] [L30] str2[j] = str1[0] [L31] j++ [L29] i-- VAL [MAX=2, cont=0, i=0, j=1, str1={27490:0}, str2={27491:0}] [L29] COND TRUE i >= 0 [L30] EXPR str1[0] [L30] str2[j] = str1[0] [L31] j++ [L29] i-- VAL [MAX=2, cont=0, i=-1, j=2, str1={27490:0}, str2={27491:0}] [L29] COND FALSE !(i >= 0) [L34] j = MAX-1 [L35] i=0 VAL [MAX=2, cont=0, i=0, j=1, str1={27490:0}, str2={27491:0}] [L35] COND TRUE i