./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_rand_preinc_51_bad.i --full-output --architecture 64bit -------------------------------------------------------------------------------- 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_87c1d80d-269e-4f8d-9e16-58bb7ff825bf/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_87c1d80d-269e-4f8d-9e16-58bb7ff825bf/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_87c1d80d-269e-4f8d-9e16-58bb7ff825bf/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_87c1d80d-269e-4f8d-9e16-58bb7ff825bf/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_rand_preinc_51_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_87c1d80d-269e-4f8d-9e16-58bb7ff825bf/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_87c1d80d-269e-4f8d-9e16-58bb7ff825bf/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 64bit --witnessprinter.graph.data.programhash 8533b733e941176b09f99d070672c913a4a100ab02bebf78655e8d13c72be7d2 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 22:13:44,182 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 22:13:44,267 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_87c1d80d-269e-4f8d-9e16-58bb7ff825bf/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Default.epf [2024-11-13 22:13:44,274 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-13 22:13:44,278 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-13 22:13:44,320 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 22:13:44,325 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 22:13:44,326 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 22:13:44,326 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 22:13:44,326 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 22:13:44,326 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 22:13:44,327 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 22:13:44,327 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-13 22:13:44,328 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 22:13:44,328 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 22:13:44,328 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 22:13:44,329 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 22:13:44,330 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 22:13:44,330 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 22:13:44,330 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 22:13:44,330 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 22:13:44,330 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 22:13:44,330 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 22:13:44,330 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 22:13:44,331 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 22:13:44,331 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 22:13:44,331 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 22:13:44,331 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 22:13:44,331 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 22:13:44,331 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 22:13:44,331 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-13 22:13:44,331 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-13 22:13:44,332 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_87c1d80d-269e-4f8d-9e16-58bb7ff825bf/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 -> 64bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 8533b733e941176b09f99d070672c913a4a100ab02bebf78655e8d13c72be7d2 [2024-11-13 22:13:44,747 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 22:13:44,760 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 22:13:44,762 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 22:13:44,764 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 22:13:44,764 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 22:13:44,766 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_87c1d80d-269e-4f8d-9e16-58bb7ff825bf/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_rand_preinc_51_bad.i Unable to find full path for "g++" [2024-11-13 22:13:46,725 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 22:13:47,190 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 22:13:47,191 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_87c1d80d-269e-4f8d-9e16-58bb7ff825bf/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_rand_preinc_51_bad.i [2024-11-13 22:13:47,228 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_87c1d80d-269e-4f8d-9e16-58bb7ff825bf/bin/ukojak-verify-EEHR8qb7sm/data/5bd0baf39/d1c1e44c73894e54bee086db816085ce/FLAG3238753fa [2024-11-13 22:13:47,245 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_87c1d80d-269e-4f8d-9e16-58bb7ff825bf/bin/ukojak-verify-EEHR8qb7sm/data/5bd0baf39/d1c1e44c73894e54bee086db816085ce [2024-11-13 22:13:47,247 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 22:13:47,249 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 22:13:47,250 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 22:13:47,251 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 22:13:47,255 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 22:13:47,256 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 10:13:47" (1/1) ... [2024-11-13 22:13:47,257 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@129956ff and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:13:47, skipping insertion in model container [2024-11-13 22:13:47,257 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 10:13:47" (1/1) ... [2024-11-13 22:13:47,309 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 22:13:48,196 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 22:13:48,213 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 22:13:48,350 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 22:13:48,488 INFO L204 MainTranslator]: Completed translation [2024-11-13 22:13:48,489 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:13:48 WrapperNode [2024-11-13 22:13:48,489 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 22:13:48,490 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 22:13:48,490 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 22:13:48,490 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 22:13:48,495 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:13:48" (1/1) ... [2024-11-13 22:13:48,513 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:13:48" (1/1) ... [2024-11-13 22:13:48,535 INFO L138 Inliner]: procedures = 498, calls = 24, calls flagged for inlining = 5, calls inlined = 5, statements flattened = 101 [2024-11-13 22:13:48,536 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 22:13:48,536 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 22:13:48,536 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 22:13:48,536 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 22:13:48,544 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:13:48" (1/1) ... [2024-11-13 22:13:48,544 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:13:48" (1/1) ... [2024-11-13 22:13:48,547 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:13:48" (1/1) ... [2024-11-13 22:13:48,547 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:13:48" (1/1) ... [2024-11-13 22:13:48,553 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:13:48" (1/1) ... [2024-11-13 22:13:48,555 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:13:48" (1/1) ... [2024-11-13 22:13:48,557 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:13:48" (1/1) ... [2024-11-13 22:13:48,558 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:13:48" (1/1) ... [2024-11-13 22:13:48,561 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 22:13:48,562 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 22:13:48,562 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 22:13:48,562 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 22:13:48,563 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:13:48" (1/1) ... [2024-11-13 22:13:48,570 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 22:13:48,585 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_87c1d80d-269e-4f8d-9e16-58bb7ff825bf/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 22:13:48,604 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_87c1d80d-269e-4f8d-9e16-58bb7ff825bf/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:13:48,607 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_87c1d80d-269e-4f8d-9e16-58bb7ff825bf/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:13:48,631 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-13 22:13:48,631 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-13 22:13:48,631 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 22:13:48,631 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 22:13:48,631 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 22:13:48,773 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 22:13:48,775 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 22:13:49,084 INFO L? ?]: Removed 58 outVars from TransFormulas that were not future-live. [2024-11-13 22:13:49,084 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 22:13:49,397 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 22:13:49,398 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-13 22:13:49,398 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:13:49 BoogieIcfgContainer [2024-11-13 22:13:49,398 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 22:13:49,399 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 22:13:49,399 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 22:13:49,410 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 22:13:49,410 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:13:49" (1/1) ... [2024-11-13 22:13:49,418 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 22:13:49,516 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:13:49,535 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 12 states and 12 transitions. [2024-11-13 22:13:49,535 INFO L276 IsEmpty]: Start isEmpty. Operand 12 states and 12 transitions. [2024-11-13 22:13:49,543 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 7 [2024-11-13 22:13:49,543 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:13:49,547 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 22:13:49,755 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:13:50,101 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:13:50,174 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:13:50,175 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 11 states to 11 states and 11 transitions. [2024-11-13 22:13:50,175 INFO L276 IsEmpty]: Start isEmpty. Operand 11 states and 11 transitions. [2024-11-13 22:13:50,175 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 8 [2024-11-13 22:13:50,176 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:13:50,176 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 22:13:50,300 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:13:50,300 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 22:13:50,439 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:13:50,519 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:13:50,519 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 22:13:50,557 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:13:50,592 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 2 iterations. [2024-11-13 22:13:50,632 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 10:13:50 ImpRootNode [2024-11-13 22:13:50,633 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 22:13:50,634 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 22:13:50,634 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 22:13:50,634 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 22:13:50,636 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:13:49" (3/4) ... [2024-11-13 22:13:50,639 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 22:13:50,640 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 22:13:50,641 INFO L158 Benchmark]: Toolchain (without parser) took 3392.11ms. Allocated memory is still 117.4MB. Free memory was 88.6MB in the beginning and 74.1MB in the end (delta: 14.4MB). Peak memory consumption was 20.2MB. Max. memory is 16.1GB. [2024-11-13 22:13:50,642 INFO L158 Benchmark]: CDTParser took 0.48ms. Allocated memory is still 83.9MB. Free memory was 39.6MB in the beginning and 39.6MB in the end (delta: 84.1kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:13:50,645 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1238.71ms. Allocated memory is still 117.4MB. Free memory was 88.6MB in the beginning and 81.3MB in the end (delta: 7.2MB). Peak memory consumption was 66.1MB. Max. memory is 16.1GB. [2024-11-13 22:13:50,645 INFO L158 Benchmark]: Boogie Procedure Inliner took 46.08ms. Allocated memory is still 117.4MB. Free memory was 81.3MB in the beginning and 79.0MB in the end (delta: 2.3MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-13 22:13:50,646 INFO L158 Benchmark]: Boogie Preprocessor took 25.20ms. Allocated memory is still 117.4MB. Free memory was 79.0MB in the beginning and 77.6MB in the end (delta: 1.4MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:13:50,646 INFO L158 Benchmark]: RCFGBuilder took 836.40ms. Allocated memory is still 117.4MB. Free memory was 77.6MB in the beginning and 39.8MB in the end (delta: 37.7MB). Peak memory consumption was 33.6MB. Max. memory is 16.1GB. [2024-11-13 22:13:50,647 INFO L158 Benchmark]: CodeCheck took 1234.04ms. Allocated memory is still 117.4MB. Free memory was 39.8MB in the beginning and 74.9MB in the end (delta: -35.1MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:13:50,647 INFO L158 Benchmark]: Witness Printer took 6.40ms. Allocated memory is still 117.4MB. Free memory was 74.1MB in the beginning and 74.1MB in the end (delta: 7.9kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:13:50,652 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, 12 locations, 2 error locations. Started 1 CEGAR loops. OverallTime: 1.1s, OverallIterations: 2, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 11 SdHoareTripleChecker+Valid, 0.0s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 0 mSDsluCounter, 4 SdHoareTripleChecker+Invalid, 0.0s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 2 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 7 IncrementalHoareTripleChecker+Invalid, 9 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 2 mSolverCounterUnsat, 4 mSDtfsCounter, 7 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 35 GetRequests, 33 SyntacticMatches, 0 SemanticMatches, 2 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.3s InterpolantComputationTime, 13 NumberOfCodeBlocks, 13 NumberOfCodeBlocksAsserted, 2 NumberOfCheckSat, 5 ConstructedInterpolants, 0 QuantifiedInterpolants, 9 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 1 InterpolantComputations, 1 PerfectInterpolantSequences, 0/0 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 - UnprovableResult [Line: 1567]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of large string literal at line 1559, overapproximation of bitwiseOr at line 1553. Possible FailurePath: [L1522] const int GLOBAL_CONST_TRUE = 1; [L1523] const int GLOBAL_CONST_FALSE = 0; [L1524] const int GLOBAL_CONST_FIVE = 5; [L1525] int globalTrue = 1; [L1526] int globalFalse = 0; [L1527] int globalFive = 5; [L1546] int globalArgc = 0; [L1547] char** globalArgv = ((void *)0); [L1559] CALL printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(line)={1:0}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1414] COND TRUE line != ((void *)0) [L1559] RET printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1560] CALL CWE190_Integer_Overflow__int_rand_preinc_51_bad() [L1551] int data; [L1552] data = 0 [L1553] EXPR rand() & 1 ? (((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) : -(((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) - 1 [L1553] EXPR ((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) [L1553] EXPR ((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand() [L1553] EXPR rand() & 1 ? (((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) : -(((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) - 1 [L1553] data = ((int)(rand() & 1 ? (((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) : -(((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) - 1)) [L1554] CALL CWE190_Integer_Overflow__int_rand_preinc_51b_badSink(data) [L1567] ++data VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.48ms. Allocated memory is still 83.9MB. Free memory was 39.6MB in the beginning and 39.6MB in the end (delta: 84.1kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1238.71ms. Allocated memory is still 117.4MB. Free memory was 88.6MB in the beginning and 81.3MB in the end (delta: 7.2MB). Peak memory consumption was 66.1MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 46.08ms. Allocated memory is still 117.4MB. Free memory was 81.3MB in the beginning and 79.0MB in the end (delta: 2.3MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Preprocessor took 25.20ms. Allocated memory is still 117.4MB. Free memory was 79.0MB in the beginning and 77.6MB in the end (delta: 1.4MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 836.40ms. Allocated memory is still 117.4MB. Free memory was 77.6MB in the beginning and 39.8MB in the end (delta: 37.7MB). Peak memory consumption was 33.6MB. Max. memory is 16.1GB. * CodeCheck took 1234.04ms. Allocated memory is still 117.4MB. Free memory was 39.8MB in the beginning and 74.9MB in the end (delta: -35.1MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 6.40ms. Allocated memory is still 117.4MB. Free memory was 74.1MB in the beginning and 74.1MB in the end (delta: 7.9kB). There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-13 22:13:50,689 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_87c1d80d-269e-4f8d-9e16-58bb7ff825bf/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 Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_87c1d80d-269e-4f8d-9e16-58bb7ff825bf/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_87c1d80d-269e-4f8d-9e16-58bb7ff825bf/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_87c1d80d-269e-4f8d-9e16-58bb7ff825bf/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_87c1d80d-269e-4f8d-9e16-58bb7ff825bf/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_rand_preinc_51_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_87c1d80d-269e-4f8d-9e16-58bb7ff825bf/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_87c1d80d-269e-4f8d-9e16-58bb7ff825bf/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 64bit --witnessprinter.graph.data.programhash 8533b733e941176b09f99d070672c913a4a100ab02bebf78655e8d13c72be7d2 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 22:13:53,539 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 22:13:53,697 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_87c1d80d-269e-4f8d-9e16-58bb7ff825bf/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2024-11-13 22:13:53,748 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 22:13:53,750 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 22:13:53,750 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 22:13:53,750 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 22:13:53,750 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 22:13:53,751 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 22:13:53,751 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 22:13:53,752 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 22:13:53,752 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 22:13:53,752 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 22:13:53,752 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 22:13:53,752 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-13 22:13:53,754 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-13 22:13:53,754 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 22:13:53,754 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 22:13:53,754 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-13 22:13:53,754 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 22:13:53,754 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 22:13:53,754 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 22:13:53,755 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 22:13:53,755 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 22:13:53,755 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 22:13:53,755 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 22:13:53,755 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-13 22:13:53,755 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 22:13:53,755 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 22:13:53,756 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 22:13:53,756 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 22:13:53,756 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 22:13:53,756 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-13 22:13:53,756 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 22:13:53,756 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-13 22:13:53,756 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_87c1d80d-269e-4f8d-9e16-58bb7ff825bf/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 -> 64bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 8533b733e941176b09f99d070672c913a4a100ab02bebf78655e8d13c72be7d2 [2024-11-13 22:13:54,112 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 22:13:54,127 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 22:13:54,130 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 22:13:54,133 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 22:13:54,134 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 22:13:54,135 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_87c1d80d-269e-4f8d-9e16-58bb7ff825bf/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_rand_preinc_51_bad.i Unable to find full path for "g++" [2024-11-13 22:13:56,118 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 22:13:56,493 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 22:13:56,493 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_87c1d80d-269e-4f8d-9e16-58bb7ff825bf/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_rand_preinc_51_bad.i [2024-11-13 22:13:56,521 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_87c1d80d-269e-4f8d-9e16-58bb7ff825bf/bin/ukojak-verify-EEHR8qb7sm/data/edd49a486/b14494ec705a4672b0001e7b3495fcec/FLAGb3e2de53c [2024-11-13 22:13:56,537 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_87c1d80d-269e-4f8d-9e16-58bb7ff825bf/bin/ukojak-verify-EEHR8qb7sm/data/edd49a486/b14494ec705a4672b0001e7b3495fcec [2024-11-13 22:13:56,540 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 22:13:56,542 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 22:13:56,544 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 22:13:56,544 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 22:13:56,549 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 22:13:56,550 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 10:13:56" (1/1) ... [2024-11-13 22:13:56,551 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@6f54a0f0 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:13:56, skipping insertion in model container [2024-11-13 22:13:56,552 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 10:13:56" (1/1) ... [2024-11-13 22:13:56,599 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 22:13:57,609 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 22:13:57,623 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 22:13:57,745 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 22:13:57,957 INFO L204 MainTranslator]: Completed translation [2024-11-13 22:13:57,958 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:13:57 WrapperNode [2024-11-13 22:13:57,958 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 22:13:57,959 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 22:13:57,960 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 22:13:57,960 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 22:13:57,970 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:13:57" (1/1) ... [2024-11-13 22:13:58,010 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:13:57" (1/1) ... [2024-11-13 22:13:58,037 INFO L138 Inliner]: procedures = 503, calls = 24, calls flagged for inlining = 5, calls inlined = 5, statements flattened = 61 [2024-11-13 22:13:58,038 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 22:13:58,038 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 22:13:58,038 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 22:13:58,039 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 22:13:58,047 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:13:57" (1/1) ... [2024-11-13 22:13:58,048 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:13:57" (1/1) ... [2024-11-13 22:13:58,056 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:13:57" (1/1) ... [2024-11-13 22:13:58,056 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:13:57" (1/1) ... [2024-11-13 22:13:58,070 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:13:57" (1/1) ... [2024-11-13 22:13:58,075 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:13:57" (1/1) ... [2024-11-13 22:13:58,081 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:13:57" (1/1) ... [2024-11-13 22:13:58,082 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:13:57" (1/1) ... [2024-11-13 22:13:58,090 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 22:13:58,091 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 22:13:58,091 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 22:13:58,091 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 22:13:58,092 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:13:57" (1/1) ... [2024-11-13 22:13:58,104 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 22:13:58,119 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_87c1d80d-269e-4f8d-9e16-58bb7ff825bf/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 22:13:58,133 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_87c1d80d-269e-4f8d-9e16-58bb7ff825bf/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:13:58,141 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_87c1d80d-269e-4f8d-9e16-58bb7ff825bf/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:13:58,173 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-13 22:13:58,173 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-13 22:13:58,173 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 22:13:58,173 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 22:13:58,174 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 22:13:58,375 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 22:13:58,378 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 22:13:58,594 INFO L? ?]: Removed 29 outVars from TransFormulas that were not future-live. [2024-11-13 22:13:58,594 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 22:13:58,687 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 22:13:58,687 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-13 22:13:58,687 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:13:58 BoogieIcfgContainer [2024-11-13 22:13:58,688 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 22:13:58,688 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 22:13:58,689 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 22:13:58,700 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 22:13:58,700 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:13:58" (1/1) ... [2024-11-13 22:13:58,709 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 22:13:58,755 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:13:58,763 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 12 states and 12 transitions. [2024-11-13 22:13:58,764 INFO L276 IsEmpty]: Start isEmpty. Operand 12 states and 12 transitions. [2024-11-13 22:13:58,766 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 7 [2024-11-13 22:13:58,767 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:13:58,767 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 22:13:58,768 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_87c1d80d-269e-4f8d-9e16-58bb7ff825bf/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 22:13:58,770 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_87c1d80d-269e-4f8d-9e16-58bb7ff825bf/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 22:13:58,771 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_87c1d80d-269e-4f8d-9e16-58bb7ff825bf/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-13 22:13:58,908 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:13:58,935 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-13 22:13:58,961 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:13:58,963 INFO L255 TraceCheckSpWp]: Trace formula consists of 30 conjuncts, 1 conjuncts are in the unsatisfiable core [2024-11-13 22:13:58,966 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-13 22:13:58,990 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:13:58,993 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_87c1d80d-269e-4f8d-9e16-58bb7ff825bf/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Forceful destruction successful, exit code 0 [2024-11-13 22:13:59,022 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:13:59,022 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 11 states to 11 states and 11 transitions. [2024-11-13 22:13:59,022 INFO L276 IsEmpty]: Start isEmpty. Operand 11 states and 11 transitions. [2024-11-13 22:13:59,023 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 8 [2024-11-13 22:13:59,023 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:13:59,023 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 22:13:59,023 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_87c1d80d-269e-4f8d-9e16-58bb7ff825bf/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 22:13:59,025 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_87c1d80d-269e-4f8d-9e16-58bb7ff825bf/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 22:13:59,028 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_87c1d80d-269e-4f8d-9e16-58bb7ff825bf/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2024-11-13 22:13:59,203 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:13:59,204 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 22:13:59,268 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:13:59,333 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:13:59,334 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 22:13:59,351 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:13:59,371 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_87c1d80d-269e-4f8d-9e16-58bb7ff825bf/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (3)] Ended with exit code 0 [2024-11-13 22:13:59,372 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 2 iterations. [2024-11-13 22:13:59,413 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 10:13:59 ImpRootNode [2024-11-13 22:13:59,414 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 22:13:59,417 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 22:13:59,418 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 22:13:59,418 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 22:13:59,418 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:13:58" (3/4) ... [2024-11-13 22:13:59,422 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 22:13:59,423 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 22:13:59,428 INFO L158 Benchmark]: Toolchain (without parser) took 2883.60ms. Allocated memory is still 117.4MB. Free memory was 90.3MB in the beginning and 71.9MB in the end (delta: 18.4MB). Peak memory consumption was 20.1MB. Max. memory is 16.1GB. [2024-11-13 22:13:59,428 INFO L158 Benchmark]: CDTParser took 0.33ms. Allocated memory is still 83.9MB. Free memory was 66.2MB in the beginning and 66.2MB in the end (delta: 21.8kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:13:59,429 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1415.10ms. Allocated memory is still 117.4MB. Free memory was 90.0MB in the beginning and 77.2MB in the end (delta: 12.8MB). Peak memory consumption was 66.2MB. Max. memory is 16.1GB. [2024-11-13 22:13:59,429 INFO L158 Benchmark]: Boogie Procedure Inliner took 78.41ms. Allocated memory is still 117.4MB. Free memory was 77.2MB in the beginning and 74.7MB in the end (delta: 2.5MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:13:59,430 INFO L158 Benchmark]: Boogie Preprocessor took 52.02ms. Allocated memory is still 117.4MB. Free memory was 74.7MB in the beginning and 73.2MB in the end (delta: 1.5MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:13:59,430 INFO L158 Benchmark]: RCFGBuilder took 596.73ms. Allocated memory is still 117.4MB. Free memory was 73.2MB in the beginning and 55.1MB in the end (delta: 18.1MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. [2024-11-13 22:13:59,430 INFO L158 Benchmark]: CodeCheck took 725.24ms. Allocated memory is still 117.4MB. Free memory was 55.1MB in the beginning and 72.5MB in the end (delta: -17.4MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:13:59,431 INFO L158 Benchmark]: Witness Printer took 7.23ms. Allocated memory is still 117.4MB. Free memory was 72.5MB in the beginning and 71.9MB in the end (delta: 653.3kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:13:59,437 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, 12 locations, 2 error locations. Started 1 CEGAR loops. OverallTime: 0.7s, OverallIterations: 2, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 14 SdHoareTripleChecker+Valid, 0.0s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 0 mSDsluCounter, 5 SdHoareTripleChecker+Invalid, 0.0s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 0 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 3 IncrementalHoareTripleChecker+Invalid, 3 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 0 mSolverCounterUnsat, 5 mSDtfsCounter, 3 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 38 GetRequests, 38 SyntacticMatches, 0 SemanticMatches, 0 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.0s InterpolantComputationTime, 13 NumberOfCodeBlocks, 13 NumberOfCodeBlocksAsserted, 2 NumberOfCheckSat, 5 ConstructedInterpolants, 0 QuantifiedInterpolants, 5 SizeOfPredicates, 0 NumberOfNonLiveVariables, 30 ConjunctsInSsa, 1 ConjunctsInUnsatCore, 1 InterpolantComputations, 1 PerfectInterpolantSequences, 0/0 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 - UnprovableResult [Line: 1567]: Unable to prove that integer overflow can never occur Unable to prove that integer overflow can never occur Reason: overapproximation of large string literal at line 1559. Possible FailurePath: [L1522] const int GLOBAL_CONST_TRUE = 1; [L1523] const int GLOBAL_CONST_FALSE = 0; [L1524] const int GLOBAL_CONST_FIVE = 5; [L1525] int globalTrue = 1; [L1526] int globalFalse = 0; [L1527] int globalFive = 5; [L1546] int globalArgc = 0; [L1547] char** globalArgv = ((void *)0); [L1559] CALL printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(line)={1:0}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1414] COND TRUE line != ((void *)0) [L1559] RET printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1560] CALL CWE190_Integer_Overflow__int_rand_preinc_51_bad() [L1551] int data; [L1552] data = 0 [L1553] EXPR rand() & 1 ? (((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) : -(((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) - 1 [L1553] EXPR rand() & 1 ? (((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) : -(((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) - 1 [L1553] data = ((int)(rand() & 1 ? (((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) : -(((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) - 1)) [L1554] CALL CWE190_Integer_Overflow__int_rand_preinc_51b_badSink(data) [L1567] ++data VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.33ms. Allocated memory is still 83.9MB. Free memory was 66.2MB in the beginning and 66.2MB in the end (delta: 21.8kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1415.10ms. Allocated memory is still 117.4MB. Free memory was 90.0MB in the beginning and 77.2MB in the end (delta: 12.8MB). Peak memory consumption was 66.2MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 78.41ms. Allocated memory is still 117.4MB. Free memory was 77.2MB in the beginning and 74.7MB in the end (delta: 2.5MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 52.02ms. Allocated memory is still 117.4MB. Free memory was 74.7MB in the beginning and 73.2MB in the end (delta: 1.5MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 596.73ms. Allocated memory is still 117.4MB. Free memory was 73.2MB in the beginning and 55.1MB in the end (delta: 18.1MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. * CodeCheck took 725.24ms. Allocated memory is still 117.4MB. Free memory was 55.1MB in the beginning and 72.5MB in the end (delta: -17.4MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 7.23ms. Allocated memory is still 117.4MB. Free memory was 72.5MB in the beginning and 71.9MB in the end (delta: 653.3kB). There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-13 22:13:59,479 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_87c1d80d-269e-4f8d-9e16-58bb7ff825bf/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: UNKNOWN: Overapproximated counterexample