./Ultimate.py --spec ../../sv-benchmarks/c/properties/unreach-call.prp --file ../../sv-benchmarks/c/array-examples/sanfoundry_24-1.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version 826ab2ba Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_858f8a8a-e2e0-48b7-9713-b89538c12fc9/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_858f8a8a-e2e0-48b7-9713-b89538c12fc9/bin/ukojak-verify-EEHR8qb7sm/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_858f8a8a-e2e0-48b7-9713-b89538c12fc9/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_858f8a8a-e2e0-48b7-9713-b89538c12fc9/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/array-examples/sanfoundry_24-1.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_858f8a8a-e2e0-48b7-9713-b89538c12fc9/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Reach-32bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_858f8a8a-e2e0-48b7-9713-b89538c12fc9/bin/ukojak-verify-EEHR8qb7sm --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! call(reach_error())) ) --witnessprinter.graph.data.producer Kojak --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash e0a16588b251f5de7b3febde43795c7086835cc989637b8bd82aa8d6af355c6b --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 22:02:41,743 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 22:02:41,835 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_858f8a8a-e2e0-48b7-9713-b89538c12fc9/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Reach-32bit-Kojak_Default.epf [2024-11-13 22:02:41,842 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-13 22:02:41,843 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-13 22:02:41,879 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 22:02:41,880 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 22:02:41,880 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 22:02:41,881 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 22:02:41,881 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 22:02:41,882 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 22:02:41,882 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 22:02:41,883 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-13 22:02:41,883 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-13 22:02:41,883 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-13 22:02:41,884 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 22:02:41,884 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 22:02:41,884 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 22:02:41,884 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 22:02:41,884 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 22:02:41,884 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-13 22:02:41,885 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 22:02:41,885 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 22:02:41,885 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 22:02:41,885 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 22:02:41,885 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 22:02:41,886 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 22:02:41,886 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 22:02:41,886 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 22:02:41,886 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 22:02:41,887 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 22:02:41,887 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-13 22:02:41,887 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-13 22:02:41,887 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_858f8a8a-e2e0-48b7-9713-b89538c12fc9/bin/ukojak-verify-EEHR8qb7sm Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G ! call(reach_error())) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Kojak Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> e0a16588b251f5de7b3febde43795c7086835cc989637b8bd82aa8d6af355c6b [2024-11-13 22:02:42,257 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 22:02:42,267 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 22:02:42,270 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 22:02:42,272 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 22:02:42,272 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 22:02:42,273 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_858f8a8a-e2e0-48b7-9713-b89538c12fc9/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/array-examples/sanfoundry_24-1.i Unable to find full path for "g++" [2024-11-13 22:02:44,401 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 22:02:44,684 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 22:02:44,685 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_858f8a8a-e2e0-48b7-9713-b89538c12fc9/sv-benchmarks/c/array-examples/sanfoundry_24-1.i [2024-11-13 22:02:44,693 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_858f8a8a-e2e0-48b7-9713-b89538c12fc9/bin/ukojak-verify-EEHR8qb7sm/data/24ee683f6/cb39686d7a6c4c819f7ab6473dc50a7c/FLAG1ee9aa120 [2024-11-13 22:02:44,722 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_858f8a8a-e2e0-48b7-9713-b89538c12fc9/bin/ukojak-verify-EEHR8qb7sm/data/24ee683f6/cb39686d7a6c4c819f7ab6473dc50a7c [2024-11-13 22:02:44,727 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 22:02:44,729 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 22:02:44,731 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 22:02:44,733 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 22:02:44,739 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 22:02:44,740 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 10:02:44" (1/1) ... [2024-11-13 22:02:44,742 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@75e9516 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:02:44, skipping insertion in model container [2024-11-13 22:02:44,743 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 10:02:44" (1/1) ... [2024-11-13 22:02:44,765 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 22:02:44,960 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_858f8a8a-e2e0-48b7-9713-b89538c12fc9/sv-benchmarks/c/array-examples/sanfoundry_24-1.i[848,861] [2024-11-13 22:02:44,981 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 22:02:44,990 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 22:02:45,004 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_858f8a8a-e2e0-48b7-9713-b89538c12fc9/sv-benchmarks/c/array-examples/sanfoundry_24-1.i[848,861] [2024-11-13 22:02:45,020 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 22:02:45,039 INFO L204 MainTranslator]: Completed translation [2024-11-13 22:02:45,039 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:02:45 WrapperNode [2024-11-13 22:02:45,040 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 22:02:45,041 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 22:02:45,041 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 22:02:45,041 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 22:02:45,050 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:02:45" (1/1) ... [2024-11-13 22:02:45,058 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:02:45" (1/1) ... [2024-11-13 22:02:45,079 INFO L138 Inliner]: procedures = 18, calls = 18, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 63 [2024-11-13 22:02:45,080 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 22:02:45,080 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 22:02:45,081 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 22:02:45,081 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 22:02:45,089 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:02:45" (1/1) ... [2024-11-13 22:02:45,089 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:02:45" (1/1) ... [2024-11-13 22:02:45,091 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:02:45" (1/1) ... [2024-11-13 22:02:45,092 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:02:45" (1/1) ... [2024-11-13 22:02:45,098 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:02:45" (1/1) ... [2024-11-13 22:02:45,102 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:02:45" (1/1) ... [2024-11-13 22:02:45,104 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:02:45" (1/1) ... [2024-11-13 22:02:45,105 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:02:45" (1/1) ... [2024-11-13 22:02:45,107 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 22:02:45,108 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 22:02:45,108 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 22:02:45,109 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 22:02:45,110 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:02:45" (1/1) ... [2024-11-13 22:02:45,117 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 22:02:45,133 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_858f8a8a-e2e0-48b7-9713-b89538c12fc9/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 22:02:45,148 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_858f8a8a-e2e0-48b7-9713-b89538c12fc9/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 22:02:45,160 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_858f8a8a-e2e0-48b7-9713-b89538c12fc9/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 22:02:45,196 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 22:02:45,196 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-11-13 22:02:45,197 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-11-13 22:02:45,197 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2024-11-13 22:02:45,197 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 22:02:45,197 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 22:02:45,198 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2024-11-13 22:02:45,198 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_assert [2024-11-13 22:02:45,198 INFO L138 BoogieDeclarations]: Found implementation of procedure __VERIFIER_assert [2024-11-13 22:02:45,198 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-11-13 22:02:45,302 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 22:02:45,304 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 22:02:45,540 INFO L? ?]: Removed 12 outVars from TransFormulas that were not future-live. [2024-11-13 22:02:45,540 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 22:02:45,605 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 22:02:45,606 INFO L316 CfgBuilder]: Removed 3 assume(true) statements. [2024-11-13 22:02:45,606 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:02:45 BoogieIcfgContainer [2024-11-13 22:02:45,607 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 22:02:45,607 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 22:02:45,608 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 22:02:45,624 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 22:02:45,625 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:02:45" (1/1) ... [2024-11-13 22:02:45,637 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 22:02:45,698 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:02:45,710 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 25 states to 19 states and 25 transitions. [2024-11-13 22:02:45,710 INFO L276 IsEmpty]: Start isEmpty. Operand 19 states and 25 transitions. [2024-11-13 22:02:45,713 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2024-11-13 22:02:45,713 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:02:45,715 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 22:02:45,878 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:02:46,146 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 22:02:46,225 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:02:46,226 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 30 states to 21 states and 30 transitions. [2024-11-13 22:02:46,226 INFO L276 IsEmpty]: Start isEmpty. Operand 21 states and 30 transitions. [2024-11-13 22:02:46,228 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2024-11-13 22:02:46,229 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:02:46,229 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 22:02:46,253 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:02:46,392 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 22:02:46,453 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:02:46,454 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 33 states to 22 states and 33 transitions. [2024-11-13 22:02:46,454 INFO L276 IsEmpty]: Start isEmpty. Operand 22 states and 33 transitions. [2024-11-13 22:02:46,454 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2024-11-13 22:02:46,455 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:02:46,455 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 22:02:46,520 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:02:47,099 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2024-11-13 22:02:47,298 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:02:47,298 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 36 states to 24 states and 35 transitions. [2024-11-13 22:02:47,298 INFO L276 IsEmpty]: Start isEmpty. Operand 24 states and 35 transitions. [2024-11-13 22:02:47,301 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2024-11-13 22:02:47,301 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:02:47,302 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 22:02:47,333 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:02:47,476 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 22:02:47,709 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:02:47,710 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 37 states to 25 states and 36 transitions. [2024-11-13 22:02:47,710 INFO L276 IsEmpty]: Start isEmpty. Operand 25 states and 36 transitions. [2024-11-13 22:02:47,711 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 14 [2024-11-13 22:02:47,711 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:02:47,711 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 22:02:47,770 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:02:48,152 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2024-11-13 22:02:48,275 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:02:48,277 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 34 states to 21 states and 32 transitions. [2024-11-13 22:02:48,277 INFO L276 IsEmpty]: Start isEmpty. Operand 21 states and 32 transitions. [2024-11-13 22:02:48,277 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2024-11-13 22:02:48,279 WARN L417 CodeCheckObserver]: This Program is SAFE, Check terminated with 6 iterations. [2024-11-13 22:02:48,292 INFO L729 CodeCheckObserver]: All specifications hold 1 specifications checked. All of them hold [2024-11-13 22:02:48,387 INFO L77 FloydHoareUtils]: At program point L27-2(lines 27 30) the Hoare annotation is: (not (and (not (= |ULTIMATE.start_main_~i~0#1| 0)) (<= |ULTIMATE.start_main_~num~0#1| 0))) [2024-11-13 22:02:48,387 INFO L77 FloydHoareUtils]: At program point L19(line 19) the Hoare annotation is: (not (= (mod |ULTIMATE.start_printOdd_~i#1| 2) 0)) [2024-11-13 22:02:48,387 INFO L77 FloydHoareUtils]: At program point L19-1(lines 18 20) the Hoare annotation is: true [2024-11-13 22:02:48,387 INFO L77 FloydHoareUtils]: At program point L32-2(lines 32 38) the Hoare annotation is: true [2024-11-13 22:02:48,388 INFO L77 FloydHoareUtils]: At program point L16(line 16) the Hoare annotation is: (< (mod |ULTIMATE.start_printEven_~i#1| 2) 1) [2024-11-13 22:02:48,388 INFO L77 FloydHoareUtils]: At program point L16-1(lines 15 17) the Hoare annotation is: true [2024-11-13 22:02:48,388 INFO L77 FloydHoareUtils]: At program point L41(lines 41 44) the Hoare annotation is: (= |ULTIMATE.start_main_#t~mem7#1| (select (select |#memory_int| |ULTIMATE.start_main_~#array~0#1.base|) (+ |ULTIMATE.start_main_~#array~0#1.offset| (* |ULTIMATE.start_main_~i~0#1| 4)))) [2024-11-13 22:02:48,388 INFO L77 FloydHoareUtils]: At program point L41-2(lines 41 44) the Hoare annotation is: true [2024-11-13 22:02:48,388 INFO L77 FloydHoareUtils]: At program point ULTIMATE.startEXIT(line -1) the Hoare annotation is: true [2024-11-13 22:02:48,388 INFO L77 FloydHoareUtils]: At program point $Ultimate##0(line -1) the Hoare annotation is: true [2024-11-13 22:02:48,388 INFO L77 FloydHoareUtils]: At program point L34(lines 34 37) the Hoare annotation is: (or (not (= (mod |ULTIMATE.start_main_#t~mem4#1| 2) 0)) (= |ULTIMATE.start_main_#t~mem4#1| (select (select |#memory_int| |ULTIMATE.start_main_~#array~0#1.base|) (+ |ULTIMATE.start_main_~#array~0#1.offset| (* |ULTIMATE.start_main_~i~0#1| 4))))) [2024-11-13 22:02:48,388 INFO L77 FloydHoareUtils]: At program point L34-2(lines 34 37) the Hoare annotation is: true [2024-11-13 22:02:48,388 INFO L77 FloydHoareUtils]: At program point L39-2(lines 39 45) the Hoare annotation is: true [2024-11-13 22:02:48,389 INFO L77 FloydHoareUtils]: At program point L14(line 14) the Hoare annotation is: (not (= __VERIFIER_assert_~cond 0)) [2024-11-13 22:02:48,389 INFO L75 FloydHoareUtils]: For program point L14-1(line 14) no Hoare annotation was computed. [2024-11-13 22:02:48,389 INFO L77 FloydHoareUtils]: At program point L14-3(line 14) the Hoare annotation is: true [2024-11-13 22:02:48,389 INFO L77 FloydHoareUtils]: At program point __VERIFIER_assertEXIT(line 14) the Hoare annotation is: true [2024-11-13 22:02:48,389 INFO L77 FloydHoareUtils]: At program point $Ultimate##0(line 14) the Hoare annotation is: (not (= |__VERIFIER_assert_#in~cond| 0)) [2024-11-13 22:02:48,389 INFO L75 FloydHoareUtils]: For program point __VERIFIER_assertErr0ASSERT_VIOLATIONERROR_FUNCTION(line 14) no Hoare annotation was computed. [2024-11-13 22:02:48,412 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 10:02:48 ImpRootNode [2024-11-13 22:02:48,412 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 22:02:48,414 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 22:02:48,414 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 22:02:48,415 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 22:02:48,416 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:02:45" (3/4) ... [2024-11-13 22:02:48,418 INFO L142 WitnessPrinter]: Generating witness for correct program [2024-11-13 22:02:48,426 INFO L361 RCFGBacktranslator]: Ignoring RootEdge to procedure __VERIFIER_assert [2024-11-13 22:02:48,430 INFO L925 BoogieBacktranslator]: Reduced CFG by removing 15 nodes and edges [2024-11-13 22:02:48,432 INFO L925 BoogieBacktranslator]: Reduced CFG by removing 5 nodes and edges [2024-11-13 22:02:48,432 INFO L925 BoogieBacktranslator]: Reduced CFG by removing 3 nodes and edges [2024-11-13 22:02:48,433 INFO L925 BoogieBacktranslator]: Reduced CFG by removing 1 nodes and edges [2024-11-13 22:02:48,539 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_858f8a8a-e2e0-48b7-9713-b89538c12fc9/bin/ukojak-verify-EEHR8qb7sm/witness.graphml [2024-11-13 22:02:48,539 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_858f8a8a-e2e0-48b7-9713-b89538c12fc9/bin/ukojak-verify-EEHR8qb7sm/witness.yml [2024-11-13 22:02:48,539 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 22:02:48,542 INFO L158 Benchmark]: Toolchain (without parser) took 3811.69ms. Allocated memory is still 117.4MB. Free memory was 92.8MB in the beginning and 38.8MB in the end (delta: 54.0MB). Peak memory consumption was 54.9MB. Max. memory is 16.1GB. [2024-11-13 22:02:48,543 INFO L158 Benchmark]: CDTParser took 0.42ms. Allocated memory is still 117.4MB. Free memory was 74.8MB in the beginning and 74.7MB in the end (delta: 97.9kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:02:48,543 INFO L158 Benchmark]: CACSL2BoogieTranslator took 308.99ms. Allocated memory is still 117.4MB. Free memory was 92.6MB in the beginning and 81.6MB in the end (delta: 11.0MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-13 22:02:48,544 INFO L158 Benchmark]: Boogie Procedure Inliner took 38.82ms. Allocated memory is still 117.4MB. Free memory was 81.6MB in the beginning and 80.4MB in the end (delta: 1.3MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:02:48,544 INFO L158 Benchmark]: Boogie Preprocessor took 27.01ms. Allocated memory is still 117.4MB. Free memory was 80.4MB in the beginning and 79.5MB in the end (delta: 822.4kB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-13 22:02:48,544 INFO L158 Benchmark]: RCFGBuilder took 498.60ms. Allocated memory is still 117.4MB. Free memory was 79.5MB in the beginning and 67.1MB in the end (delta: 12.5MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-13 22:02:48,545 INFO L158 Benchmark]: CodeCheck took 2805.00ms. Allocated memory is still 117.4MB. Free memory was 67.1MB in the beginning and 43.9MB in the end (delta: 23.2MB). Peak memory consumption was 21.4MB. Max. memory is 16.1GB. [2024-11-13 22:02:48,545 INFO L158 Benchmark]: Witness Printer took 125.03ms. Allocated memory is still 117.4MB. Free memory was 43.2MB in the beginning and 38.8MB in the end (delta: 4.4MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-13 22:02:48,547 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, 19 locations, 1 error locations. Started 1 CEGAR loops. OverallTime: 2.6s, OverallIterations: 6, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 139 SdHoareTripleChecker+Valid, 0.5s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 0 mSDsluCounter, 72 SdHoareTripleChecker+Invalid, 0.5s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 75 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 191 IncrementalHoareTripleChecker+Invalid, 266 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 75 mSolverCounterUnsat, 72 mSDtfsCounter, 191 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 399 GetRequests, 372 SyntacticMatches, 3 SemanticMatches, 24 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 121 ImplicationChecksByTransitivity, 0.7s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.2s SatisfiabilityAnalysisTime, 1.5s InterpolantComputationTime, 49 NumberOfCodeBlocks, 49 NumberOfCodeBlocksAsserted, 5 NumberOfCheckSat, 44 ConstructedInterpolants, 0 QuantifiedInterpolants, 120 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 5 InterpolantComputations, 4 PerfectInterpolantSequences, 3/4 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 - PositiveResult [Line: 14]: a call to reach_error is unreachable For all program executions holds that a call to reach_error is unreachable at this location - AllSpecificationsHoldResult: All specifications hold 1 specifications checked. All of them hold - InvariantResult [Line: 27]: Loop Invariant Derived loop invariant: !((i != 0) && (num <= 0)) - ProcedureContractResult [Line: 14]: Procedure Contract for __VERIFIER_assert Derived contract for procedure __VERIFIER_assert. Requires: (cond != 0) * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.42ms. Allocated memory is still 117.4MB. Free memory was 74.8MB in the beginning and 74.7MB in the end (delta: 97.9kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 308.99ms. Allocated memory is still 117.4MB. Free memory was 92.6MB in the beginning and 81.6MB in the end (delta: 11.0MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 38.82ms. Allocated memory is still 117.4MB. Free memory was 81.6MB in the beginning and 80.4MB in the end (delta: 1.3MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 27.01ms. Allocated memory is still 117.4MB. Free memory was 80.4MB in the beginning and 79.5MB in the end (delta: 822.4kB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * RCFGBuilder took 498.60ms. Allocated memory is still 117.4MB. Free memory was 79.5MB in the beginning and 67.1MB in the end (delta: 12.5MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * CodeCheck took 2805.00ms. Allocated memory is still 117.4MB. Free memory was 67.1MB in the beginning and 43.9MB in the end (delta: 23.2MB). Peak memory consumption was 21.4MB. Max. memory is 16.1GB. * Witness Printer took 125.03ms. Allocated memory is still 117.4MB. Free memory was 43.2MB in the beginning and 38.8MB in the end (delta: 4.4MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. RESULT: Ultimate proved your program to be correct! [2024-11-13 22:02:48,577 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_858f8a8a-e2e0-48b7-9713-b89538c12fc9/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: TRUE