./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/recursive/gcd01-1.c --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for overflows Using default analysis Version 826ab2ba Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a2f5437f-d5a3-4692-98a0-c8a4e295dc86/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a2f5437f-d5a3-4692-98a0-c8a4e295dc86/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_a2f5437f-d5a3-4692-98a0-c8a4e295dc86/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a2f5437f-d5a3-4692-98a0-c8a4e295dc86/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/recursive/gcd01-1.c -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a2f5437f-d5a3-4692-98a0-c8a4e295dc86/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-32bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a2f5437f-d5a3-4692-98a0-c8a4e295dc86/bin/ukojak-verify-EEHR8qb7sm --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! overflow) ) --witnessprinter.graph.data.producer Kojak --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash ceea5216a7b51ee21eab36f0e9b129c25f18193871fb4ca0aa52ef8740fc0ce8 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 16:58:14,847 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 16:58:14,903 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a2f5437f-d5a3-4692-98a0-c8a4e295dc86/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-32bit-Kojak_Default.epf [2024-11-13 16:58:14,907 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-13 16:58:14,907 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-13 16:58:14,938 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 16:58:14,941 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 16:58:14,941 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 16:58:14,941 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 16:58:14,941 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 16:58:14,942 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 16:58:14,942 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 16:58:14,942 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-13 16:58:14,942 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-13 16:58:14,942 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-13 16:58:14,942 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 16:58:14,942 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 16:58:14,942 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 16:58:14,942 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 16:58:14,943 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 16:58:14,943 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 16:58:14,943 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 16:58:14,943 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-13 16:58:14,943 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 16:58:14,943 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 16:58:14,943 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 16:58:14,943 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 16:58:14,943 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 16:58:14,945 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 16:58:14,945 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 16:58:14,946 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 16:58:14,946 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 16:58:14,946 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 16:58:14,946 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-13 16:58:14,946 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-13 16:58:14,946 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_a2f5437f-d5a3-4692-98a0-c8a4e295dc86/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 ! overflow) ) 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 -> ceea5216a7b51ee21eab36f0e9b129c25f18193871fb4ca0aa52ef8740fc0ce8 [2024-11-13 16:58:15,258 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 16:58:15,269 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 16:58:15,273 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 16:58:15,274 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 16:58:15,275 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 16:58:15,276 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a2f5437f-d5a3-4692-98a0-c8a4e295dc86/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/recursive/gcd01-1.c Unable to find full path for "g++" [2024-11-13 16:58:17,166 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 16:58:17,403 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 16:58:17,403 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a2f5437f-d5a3-4692-98a0-c8a4e295dc86/sv-benchmarks/c/recursive/gcd01-1.c [2024-11-13 16:58:17,411 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a2f5437f-d5a3-4692-98a0-c8a4e295dc86/bin/ukojak-verify-EEHR8qb7sm/data/6724f63a3/cb17a4519e7a4b899a591a1575816baf/FLAGd7c294aa3 [2024-11-13 16:58:17,737 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a2f5437f-d5a3-4692-98a0-c8a4e295dc86/bin/ukojak-verify-EEHR8qb7sm/data/6724f63a3/cb17a4519e7a4b899a591a1575816baf [2024-11-13 16:58:17,740 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 16:58:17,741 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 16:58:17,742 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 16:58:17,743 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 16:58:17,747 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 16:58:17,748 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 04:58:17" (1/1) ... [2024-11-13 16:58:17,748 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@270d61dd and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:58:17, skipping insertion in model container [2024-11-13 16:58:17,749 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 04:58:17" (1/1) ... [2024-11-13 16:58:17,763 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 16:58:17,940 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 16:58:17,951 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 16:58:17,969 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 16:58:17,984 INFO L204 MainTranslator]: Completed translation [2024-11-13 16:58:17,985 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:58:17 WrapperNode [2024-11-13 16:58:17,985 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 16:58:17,986 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 16:58:17,986 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 16:58:17,986 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 16:58:17,993 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:58:17" (1/1) ... [2024-11-13 16:58:17,999 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:58:17" (1/1) ... [2024-11-13 16:58:18,015 INFO L138 Inliner]: procedures = 13, calls = 11, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 34 [2024-11-13 16:58:18,015 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 16:58:18,017 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 16:58:18,017 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 16:58:18,018 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 16:58:18,024 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:58:17" (1/1) ... [2024-11-13 16:58:18,024 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:58:17" (1/1) ... [2024-11-13 16:58:18,025 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:58:17" (1/1) ... [2024-11-13 16:58:18,025 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:58:17" (1/1) ... [2024-11-13 16:58:18,027 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:58:17" (1/1) ... [2024-11-13 16:58:18,033 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:58:17" (1/1) ... [2024-11-13 16:58:18,034 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:58:17" (1/1) ... [2024-11-13 16:58:18,039 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:58:17" (1/1) ... [2024-11-13 16:58:18,040 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 16:58:18,041 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 16:58:18,041 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 16:58:18,041 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 16:58:18,042 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:58:17" (1/1) ... [2024-11-13 16:58:18,050 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 16:58:18,065 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a2f5437f-d5a3-4692-98a0-c8a4e295dc86/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 16:58:18,079 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a2f5437f-d5a3-4692-98a0-c8a4e295dc86/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 16:58:18,081 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a2f5437f-d5a3-4692-98a0-c8a4e295dc86/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 16:58:18,108 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 16:58:18,108 INFO L130 BoogieDeclarations]: Found specification of procedure gcd [2024-11-13 16:58:18,108 INFO L138 BoogieDeclarations]: Found implementation of procedure gcd [2024-11-13 16:58:18,108 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 16:58:18,108 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 16:58:18,108 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-11-13 16:58:18,184 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 16:58:18,186 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 16:58:18,366 INFO L? ?]: Removed 22 outVars from TransFormulas that were not future-live. [2024-11-13 16:58:18,366 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 16:58:18,414 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 16:58:18,414 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-13 16:58:18,415 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 04:58:18 BoogieIcfgContainer [2024-11-13 16:58:18,415 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 16:58:18,415 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 16:58:18,416 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 16:58:18,426 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 16:58:18,427 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 04:58:18" (1/1) ... [2024-11-13 16:58:18,438 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 16:58:18,488 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 16:58:18,500 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 31 states to 25 states and 31 transitions. [2024-11-13 16:58:18,501 INFO L276 IsEmpty]: Start isEmpty. Operand 25 states and 31 transitions. [2024-11-13 16:58:18,505 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2024-11-13 16:58:18,505 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 16:58:18,506 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 16:58:18,613 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 16:58:18,737 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 16:58:18,783 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 16:58:18,784 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 30 states to 24 states and 30 transitions. [2024-11-13 16:58:18,784 INFO L276 IsEmpty]: Start isEmpty. Operand 24 states and 30 transitions. [2024-11-13 16:58:18,785 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2024-11-13 16:58:18,785 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 16:58:18,785 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 16:58:18,798 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 16:58:18,833 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 16:58:18,855 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 16:58:18,858 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 29 states to 23 states and 29 transitions. [2024-11-13 16:58:18,858 INFO L276 IsEmpty]: Start isEmpty. Operand 23 states and 29 transitions. [2024-11-13 16:58:18,858 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2024-11-13 16:58:18,859 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 16:58:18,859 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 16:58:18,879 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 16:58:19,052 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 16:58:19,283 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 16:58:19,284 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 40 states to 29 states and 39 transitions. [2024-11-13 16:58:19,284 INFO L276 IsEmpty]: Start isEmpty. Operand 29 states and 39 transitions. [2024-11-13 16:58:19,285 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2024-11-13 16:58:19,285 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 16:58:19,285 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 16:58:19,304 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 16:58:19,493 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 16:58:20,183 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 16:58:20,184 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 52 states to 35 states and 50 transitions. [2024-11-13 16:58:20,184 INFO L276 IsEmpty]: Start isEmpty. Operand 35 states and 50 transitions. [2024-11-13 16:58:20,189 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2024-11-13 16:58:20,189 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 16:58:20,189 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 16:58:20,211 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 16:58:20,289 INFO L134 CoverageAnalysis]: Checked inductivity of 4 backedges. 0 proven. 4 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 16:58:21,038 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 16:58:21,039 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 66 states to 42 states and 64 transitions. [2024-11-13 16:58:21,039 INFO L276 IsEmpty]: Start isEmpty. Operand 42 states and 64 transitions. [2024-11-13 16:58:21,040 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2024-11-13 16:58:21,040 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 16:58:21,040 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 16:58:21,050 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 16:58:21,261 INFO L134 CoverageAnalysis]: Checked inductivity of 6 backedges. 6 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 16:58:21,494 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 16:58:21,495 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 68 states to 43 states and 66 transitions. [2024-11-13 16:58:21,495 INFO L276 IsEmpty]: Start isEmpty. Operand 43 states and 66 transitions. [2024-11-13 16:58:21,496 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2024-11-13 16:58:21,496 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 16:58:21,496 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 16:58:21,505 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 16:58:21,676 INFO L134 CoverageAnalysis]: Checked inductivity of 6 backedges. 6 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 16:58:21,842 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 16:58:21,844 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 71 states to 44 states and 69 transitions. [2024-11-13 16:58:21,844 INFO L276 IsEmpty]: Start isEmpty. Operand 44 states and 69 transitions. [2024-11-13 16:58:21,845 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2024-11-13 16:58:21,845 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 16:58:21,845 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 16:58:21,861 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 16:58:21,944 INFO L134 CoverageAnalysis]: Checked inductivity of 4 backedges. 0 proven. 4 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 16:58:22,503 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 16:58:22,506 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 33 states to 21 states and 27 transitions. [2024-11-13 16:58:22,506 INFO L276 IsEmpty]: Start isEmpty. Operand 21 states and 27 transitions. [2024-11-13 16:58:22,507 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2024-11-13 16:58:22,507 WARN L417 CodeCheckObserver]: This Program is SAFE, Check terminated with 9 iterations. [2024-11-13 16:58:22,517 INFO L729 CodeCheckObserver]: All specifications hold 4 specifications checked. All of them hold [2024-11-13 16:58:22,608 INFO L77 FloydHoareUtils]: At program point gcdFINAL(lines 17 28) the Hoare annotation is: true [2024-11-13 16:58:22,609 INFO L77 FloydHoareUtils]: At program point L27(line 27) the Hoare annotation is: (and (<= gcd_~y2 (+ gcd_~y1 2147483646)) (<= gcd_~y1 gcd_~y2) (<= gcd_~y1 2147483647)) [2024-11-13 16:58:22,609 INFO L77 FloydHoareUtils]: At program point gcdEXIT(lines 17 28) the Hoare annotation is: true [2024-11-13 16:58:22,609 INFO L77 FloydHoareUtils]: At program point L27-1(line 27) the Hoare annotation is: (and (<= gcd_~y2 (+ gcd_~y1 2147483646)) (<= gcd_~y1 2147483647)) [2024-11-13 16:58:22,609 INFO L77 FloydHoareUtils]: At program point L25(line 25) the Hoare annotation is: (and (< gcd_~y2 gcd_~y1) (<= gcd_~y2 2147483646) (<= gcd_~y1 (+ gcd_~y2 2147483646))) [2024-11-13 16:58:22,609 INFO L75 FloydHoareUtils]: For program point gcdErr0ASSERT_VIOLATIONINTEGER_OVERFLOW(line 25) no Hoare annotation was computed. [2024-11-13 16:58:22,609 INFO L77 FloydHoareUtils]: At program point L27-2(line 27) the Hoare annotation is: (and (<= gcd_~y2 (+ gcd_~y1 2147483646)) (<= gcd_~y1 2147483647)) [2024-11-13 16:58:22,610 INFO L77 FloydHoareUtils]: At program point L24(lines 24 26) the Hoare annotation is: (and (<= gcd_~y2 (+ gcd_~y1 2147483646)) (<= gcd_~y1 (+ gcd_~y2 2147483646)) (<= gcd_~y2 2147483647) (<= gcd_~y1 2147483647)) [2024-11-13 16:58:22,610 INFO L77 FloydHoareUtils]: At program point L25-1(line 25) the Hoare annotation is: (and (<= gcd_~y2 2147483646) (<= gcd_~y1 (+ gcd_~y2 2147483646))) [2024-11-13 16:58:22,610 INFO L77 FloydHoareUtils]: At program point L27-3(line 27) the Hoare annotation is: true [2024-11-13 16:58:22,610 INFO L77 FloydHoareUtils]: At program point L25-2(line 25) the Hoare annotation is: (and (<= gcd_~y2 2147483646) (<= gcd_~y1 (+ gcd_~y2 2147483646))) [2024-11-13 16:58:22,610 INFO L77 FloydHoareUtils]: At program point L25-3(line 25) the Hoare annotation is: true [2024-11-13 16:58:22,610 INFO L77 FloydHoareUtils]: At program point L21(lines 21 23) the Hoare annotation is: (and (<= gcd_~y2 (+ gcd_~y1 2147483646)) (<= gcd_~y1 (+ gcd_~y2 2147483646)) (<= gcd_~y2 2147483647) (<= gcd_~y1 2147483647)) [2024-11-13 16:58:22,610 INFO L75 FloydHoareUtils]: For program point gcdErr3ASSERT_VIOLATIONINTEGER_OVERFLOW(line 27) no Hoare annotation was computed. [2024-11-13 16:58:22,610 INFO L75 FloydHoareUtils]: For program point gcdErr2ASSERT_VIOLATIONINTEGER_OVERFLOW(line 27) no Hoare annotation was computed. [2024-11-13 16:58:22,611 INFO L77 FloydHoareUtils]: At program point L18(lines 18 20) the Hoare annotation is: (and (<= gcd_~y2 2147483647) (<= gcd_~y1 2147483647)) [2024-11-13 16:58:22,611 INFO L75 FloydHoareUtils]: For program point gcdErr1ASSERT_VIOLATIONINTEGER_OVERFLOW(line 25) no Hoare annotation was computed. [2024-11-13 16:58:22,611 INFO L77 FloydHoareUtils]: At program point $Ultimate##0(lines 17 28) the Hoare annotation is: (and (<= |gcd_#in~y1| 2147483647) (<= |gcd_#in~y2| 2147483647)) [2024-11-13 16:58:22,611 INFO L77 FloydHoareUtils]: At program point ULTIMATE.startEXIT(line -1) the Hoare annotation is: true [2024-11-13 16:58:22,611 INFO L77 FloydHoareUtils]: At program point $Ultimate##0(line -1) the Hoare annotation is: true [2024-11-13 16:58:22,611 INFO L77 FloydHoareUtils]: At program point L40-1(lines 30 45) the Hoare annotation is: true [2024-11-13 16:58:22,611 INFO L77 FloydHoareUtils]: At program point L36(lines 36 38) the Hoare annotation is: (and (<= |ULTIMATE.start_main_~n~0#1| 2147483647) (<= |ULTIMATE.start_main_~m~0#1| 2147483647)) [2024-11-13 16:58:22,611 INFO L77 FloydHoareUtils]: At program point L32(lines 32 34) the Hoare annotation is: (<= |ULTIMATE.start_main_~m~0#1| 2147483647) [2024-11-13 16:58:22,611 INFO L77 FloydHoareUtils]: At program point L39(line 39) the Hoare annotation is: (and (<= |ULTIMATE.start_main_~n~0#1| 2147483647) (<= |ULTIMATE.start_main_~m~0#1| 2147483647)) [2024-11-13 16:58:22,611 INFO L77 FloydHoareUtils]: At program point L39-1(line 39) the Hoare annotation is: true [2024-11-13 16:58:22,631 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 04:58:22 ImpRootNode [2024-11-13 16:58:22,632 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 16:58:22,632 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 16:58:22,632 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 16:58:22,632 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 16:58:22,633 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 04:58:18" (3/4) ... [2024-11-13 16:58:22,635 INFO L142 WitnessPrinter]: Generating witness for correct program [2024-11-13 16:58:22,638 INFO L361 RCFGBacktranslator]: Ignoring RootEdge to procedure gcd [2024-11-13 16:58:22,641 INFO L925 BoogieBacktranslator]: Reduced CFG by removing 14 nodes and edges [2024-11-13 16:58:22,641 INFO L925 BoogieBacktranslator]: Reduced CFG by removing 6 nodes and edges [2024-11-13 16:58:22,641 INFO L925 BoogieBacktranslator]: Reduced CFG by removing 3 nodes and edges [2024-11-13 16:58:22,642 INFO L925 BoogieBacktranslator]: Reduced CFG by removing 1 nodes and edges [2024-11-13 16:58:22,711 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a2f5437f-d5a3-4692-98a0-c8a4e295dc86/bin/ukojak-verify-EEHR8qb7sm/witness.graphml [2024-11-13 16:58:22,711 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a2f5437f-d5a3-4692-98a0-c8a4e295dc86/bin/ukojak-verify-EEHR8qb7sm/witness.yml [2024-11-13 16:58:22,711 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 16:58:22,712 INFO L158 Benchmark]: Toolchain (without parser) took 4971.08ms. Allocated memory is still 142.6MB. Free memory was 117.9MB in the beginning and 109.0MB in the end (delta: 8.9MB). Peak memory consumption was 4.3MB. Max. memory is 16.1GB. [2024-11-13 16:58:22,712 INFO L158 Benchmark]: CDTParser took 0.26ms. Allocated memory is still 117.4MB. Free memory is still 74.8MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 16:58:22,713 INFO L158 Benchmark]: CACSL2BoogieTranslator took 242.85ms. Allocated memory is still 142.6MB. Free memory was 117.7MB in the beginning and 107.2MB in the end (delta: 10.5MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-13 16:58:22,713 INFO L158 Benchmark]: Boogie Procedure Inliner took 29.63ms. Allocated memory is still 142.6MB. Free memory was 107.2MB in the beginning and 106.0MB in the end (delta: 1.1MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 16:58:22,713 INFO L158 Benchmark]: Boogie Preprocessor took 23.10ms. Allocated memory is still 142.6MB. Free memory was 106.0MB in the beginning and 105.5MB in the end (delta: 562.9kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 16:58:22,714 INFO L158 Benchmark]: RCFGBuilder took 374.09ms. Allocated memory is still 142.6MB. Free memory was 105.5MB in the beginning and 93.3MB in the end (delta: 12.2MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-13 16:58:22,714 INFO L158 Benchmark]: CodeCheck took 4216.15ms. Allocated memory is still 142.6MB. Free memory was 93.3MB in the beginning and 113.9MB in the end (delta: -20.5MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 16:58:22,714 INFO L158 Benchmark]: Witness Printer took 79.23ms. Allocated memory is still 142.6MB. Free memory was 113.8MB in the beginning and 109.0MB in the end (delta: 4.8MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 16:58:22,716 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, 25 locations, 4 error locations. Started 1 CEGAR loops. OverallTime: 4.1s, OverallIterations: 9, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 354 SdHoareTripleChecker+Valid, 1.6s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 174 mSDsluCounter, 174 SdHoareTripleChecker+Invalid, 1.3s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 166 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 808 IncrementalHoareTripleChecker+Invalid, 974 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 166 mSolverCounterUnsat, 174 mSDtfsCounter, 808 mSolverCounterSat, 0.1s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 919 GetRequests, 788 SyntacticMatches, 49 SemanticMatches, 82 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 2243 ImplicationChecksByTransitivity, 2.6s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 1.0s InterpolantComputationTime, 106 NumberOfCodeBlocks, 106 NumberOfCodeBlocksAsserted, 8 NumberOfCheckSat, 98 ConstructedInterpolants, 0 QuantifiedInterpolants, 328 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 8 InterpolantComputations, 6 PerfectInterpolantSequences, 12/20 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: 25]: integer overflow can never occur For all program executions holds that integer overflow can never occur at this location - PositiveResult [Line: 25]: integer overflow can never occur For all program executions holds that integer overflow can never occur at this location - PositiveResult [Line: 27]: integer overflow can never occur For all program executions holds that integer overflow can never occur at this location - PositiveResult [Line: 27]: integer overflow can never occur For all program executions holds that integer overflow can never occur at this location - AllSpecificationsHoldResult: All specifications hold 4 specifications checked. All of them hold - ProcedureContractResult [Line: 17]: Procedure Contract for gcd Derived contract for procedure gcd. Requires: ((y1 <= 2147483647) && (y2 <= 2147483647)) * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.26ms. Allocated memory is still 117.4MB. Free memory is still 74.8MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 242.85ms. Allocated memory is still 142.6MB. Free memory was 117.7MB in the beginning and 107.2MB in the end (delta: 10.5MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 29.63ms. Allocated memory is still 142.6MB. Free memory was 107.2MB in the beginning and 106.0MB in the end (delta: 1.1MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 23.10ms. Allocated memory is still 142.6MB. Free memory was 106.0MB in the beginning and 105.5MB in the end (delta: 562.9kB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 374.09ms. Allocated memory is still 142.6MB. Free memory was 105.5MB in the beginning and 93.3MB in the end (delta: 12.2MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 4216.15ms. Allocated memory is still 142.6MB. Free memory was 93.3MB in the beginning and 113.9MB in the end (delta: -20.5MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 79.23ms. Allocated memory is still 142.6MB. Free memory was 113.8MB in the beginning and 109.0MB in the end (delta: 4.8MB). There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate proved your program to be correct! [2024-11-13 16:58:22,746 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a2f5437f-d5a3-4692-98a0-c8a4e295dc86/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: TRUE