./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_rand_postinc_01_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_f7685e32-483a-4478-996d-d5793a676ed6/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7685e32-483a-4478-996d-d5793a676ed6/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_f7685e32-483a-4478-996d-d5793a676ed6/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7685e32-483a-4478-996d-d5793a676ed6/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_rand_postinc_01_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7685e32-483a-4478-996d-d5793a676ed6/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_f7685e32-483a-4478-996d-d5793a676ed6/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 d3c11423cc7a72fd3fed5783a94c59c9d8bd8ffcb40881150d9644731098ea2e --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 22:30:09,094 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 22:30:09,174 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7685e32-483a-4478-996d-d5793a676ed6/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Default.epf [2024-11-13 22:30:09,181 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-13 22:30:09,181 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-13 22:30:09,233 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 22:30:09,237 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 22:30:09,237 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 22:30:09,238 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 22:30:09,238 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 22:30:09,238 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 22:30:09,238 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 22:30:09,238 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-13 22:30:09,238 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 22:30:09,239 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 22:30:09,239 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 22:30:09,239 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 22:30:09,239 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 22:30:09,239 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 22:30:09,239 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 22:30:09,242 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 22:30:09,242 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 22:30:09,242 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 22:30:09,243 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 22:30:09,243 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 22:30:09,243 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 22:30:09,243 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 22:30:09,243 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 22:30:09,243 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 22:30:09,243 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 22:30:09,243 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-13 22:30:09,244 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-13 22:30:09,244 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_f7685e32-483a-4478-996d-d5793a676ed6/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 -> d3c11423cc7a72fd3fed5783a94c59c9d8bd8ffcb40881150d9644731098ea2e [2024-11-13 22:30:09,674 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 22:30:09,691 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 22:30:09,696 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 22:30:09,698 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 22:30:09,701 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 22:30:09,703 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7685e32-483a-4478-996d-d5793a676ed6/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_rand_postinc_01_bad.i Unable to find full path for "g++" [2024-11-13 22:30:11,917 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 22:30:12,386 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 22:30:12,391 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7685e32-483a-4478-996d-d5793a676ed6/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_rand_postinc_01_bad.i [2024-11-13 22:30:12,422 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7685e32-483a-4478-996d-d5793a676ed6/bin/ukojak-verify-EEHR8qb7sm/data/147a505ae/8782beb294c1473488350c85994c9d43/FLAG847d09594 [2024-11-13 22:30:12,440 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7685e32-483a-4478-996d-d5793a676ed6/bin/ukojak-verify-EEHR8qb7sm/data/147a505ae/8782beb294c1473488350c85994c9d43 [2024-11-13 22:30:12,447 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 22:30:12,449 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 22:30:12,450 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 22:30:12,450 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 22:30:12,457 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 22:30:12,458 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 10:30:12" (1/1) ... [2024-11-13 22:30:12,461 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@430263bb and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:30:12, skipping insertion in model container [2024-11-13 22:30:12,462 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 10:30:12" (1/1) ... [2024-11-13 22:30:12,537 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 22:30:13,502 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 22:30:13,512 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 22:30:13,647 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 22:30:13,818 INFO L204 MainTranslator]: Completed translation [2024-11-13 22:30:13,819 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:30:13 WrapperNode [2024-11-13 22:30:13,819 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 22:30:13,820 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 22:30:13,820 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 22:30:13,820 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 22:30:13,827 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:30:13" (1/1) ... [2024-11-13 22:30:13,857 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:30:13" (1/1) ... [2024-11-13 22:30:13,888 INFO L138 Inliner]: procedures = 497, calls = 23, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 99 [2024-11-13 22:30:13,888 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 22:30:13,889 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 22:30:13,889 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 22:30:13,889 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 22:30:13,895 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:30:13" (1/1) ... [2024-11-13 22:30:13,895 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:30:13" (1/1) ... [2024-11-13 22:30:13,898 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:30:13" (1/1) ... [2024-11-13 22:30:13,898 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:30:13" (1/1) ... [2024-11-13 22:30:13,903 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:30:13" (1/1) ... [2024-11-13 22:30:13,906 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:30:13" (1/1) ... [2024-11-13 22:30:13,907 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:30:13" (1/1) ... [2024-11-13 22:30:13,908 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:30:13" (1/1) ... [2024-11-13 22:30:13,911 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 22:30:13,912 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 22:30:13,912 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 22:30:13,912 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 22:30:13,913 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:30:13" (1/1) ... [2024-11-13 22:30:13,918 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 22:30:13,932 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7685e32-483a-4478-996d-d5793a676ed6/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 22:30:13,944 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7685e32-483a-4478-996d-d5793a676ed6/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:30:13,948 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7685e32-483a-4478-996d-d5793a676ed6/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:30:13,978 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-13 22:30:13,978 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-13 22:30:13,978 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 22:30:13,978 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 22:30:13,978 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 22:30:14,121 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 22:30:14,123 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 22:30:14,353 INFO L? ?]: Removed 57 outVars from TransFormulas that were not future-live. [2024-11-13 22:30:14,353 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 22:30:14,613 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 22:30:14,613 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-13 22:30:14,614 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:30:14 BoogieIcfgContainer [2024-11-13 22:30:14,614 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 22:30:14,614 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 22:30:14,614 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 22:30:14,658 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 22:30:14,658 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:30:14" (1/1) ... [2024-11-13 22:30:14,667 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 22:30:14,709 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:30:14,719 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 12 states and 12 transitions. [2024-11-13 22:30:14,719 INFO L276 IsEmpty]: Start isEmpty. Operand 12 states and 12 transitions. [2024-11-13 22:30:14,723 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 7 [2024-11-13 22:30:14,724 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:30:14,724 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 22:30:14,858 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:30:15,215 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:30:15,278 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:30:15,280 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 11 states to 11 states and 11 transitions. [2024-11-13 22:30:15,280 INFO L276 IsEmpty]: Start isEmpty. Operand 11 states and 11 transitions. [2024-11-13 22:30:15,280 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 8 [2024-11-13 22:30:15,280 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:30:15,280 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 22:30:15,465 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:30:15,465 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 22:30:15,562 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:30:15,649 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:30:15,649 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 22:30:15,685 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:30:15,722 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 2 iterations. [2024-11-13 22:30:15,767 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 10:30:15 ImpRootNode [2024-11-13 22:30:15,768 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 22:30:15,769 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 22:30:15,770 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 22:30:15,771 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 22:30:15,772 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:30:14" (3/4) ... [2024-11-13 22:30:15,775 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 22:30:15,776 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 22:30:15,777 INFO L158 Benchmark]: Toolchain (without parser) took 3328.13ms. Allocated memory is still 117.4MB. Free memory was 88.2MB in the beginning and 76.5MB in the end (delta: 11.8MB). Peak memory consumption was 17.2MB. Max. memory is 16.1GB. [2024-11-13 22:30:15,781 INFO L158 Benchmark]: CDTParser took 0.60ms. Allocated memory is still 83.9MB. Free memory is still 42.6MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:30:15,781 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1369.27ms. Allocated memory is still 117.4MB. Free memory was 87.7MB in the beginning and 78.3MB in the end (delta: 9.4MB). Peak memory consumption was 66.0MB. Max. memory is 16.1GB. [2024-11-13 22:30:15,781 INFO L158 Benchmark]: Boogie Procedure Inliner took 68.39ms. Allocated memory is still 117.4MB. Free memory was 78.3MB in the beginning and 76.1MB in the end (delta: 2.2MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:30:15,782 INFO L158 Benchmark]: Boogie Preprocessor took 22.02ms. Allocated memory is still 117.4MB. Free memory was 76.1MB in the beginning and 74.7MB in the end (delta: 1.4MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:30:15,782 INFO L158 Benchmark]: RCFGBuilder took 702.25ms. Allocated memory is still 117.4MB. Free memory was 74.7MB in the beginning and 37.8MB in the end (delta: 36.9MB). Peak memory consumption was 33.6MB. Max. memory is 16.1GB. [2024-11-13 22:30:15,783 INFO L158 Benchmark]: CodeCheck took 1154.40ms. Allocated memory is still 117.4MB. Free memory was 37.8MB in the beginning and 76.5MB in the end (delta: -38.6MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:30:15,783 INFO L158 Benchmark]: Witness Printer took 6.56ms. Allocated memory is still 117.4MB. Free memory was 76.5MB in the beginning and 76.5MB in the end (delta: 5.1kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:30:15,788 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.0s, 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.4s 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: 1554]: 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 1562, overapproximation of bitwiseOr at line 1552. 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); [L1562] 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) [L1562] 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] [L1563] CALL CWE190_Integer_Overflow__int_rand_postinc_01_bad() [L1550] int data; [L1551] data = 0 [L1552] EXPR rand() & 1 ? (((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) : -(((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) - 1 [L1552] EXPR ((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) [L1552] EXPR ((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand() [L1552] EXPR rand() & 1 ? (((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) : -(((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) - 1 [L1552] data = ((int)(rand() & 1 ? (((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) : -(((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) - 1)) [L1554] 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.60ms. Allocated memory is still 83.9MB. Free memory is still 42.6MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1369.27ms. Allocated memory is still 117.4MB. Free memory was 87.7MB in the beginning and 78.3MB in the end (delta: 9.4MB). Peak memory consumption was 66.0MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 68.39ms. Allocated memory is still 117.4MB. Free memory was 78.3MB in the beginning and 76.1MB in the end (delta: 2.2MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 22.02ms. Allocated memory is still 117.4MB. Free memory was 76.1MB in the beginning and 74.7MB in the end (delta: 1.4MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 702.25ms. Allocated memory is still 117.4MB. Free memory was 74.7MB in the beginning and 37.8MB in the end (delta: 36.9MB). Peak memory consumption was 33.6MB. Max. memory is 16.1GB. * CodeCheck took 1154.40ms. Allocated memory is still 117.4MB. Free memory was 37.8MB in the beginning and 76.5MB in the end (delta: -38.6MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 6.56ms. Allocated memory is still 117.4MB. Free memory was 76.5MB in the beginning and 76.5MB in the end (delta: 5.1kB). 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:30:15,826 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7685e32-483a-4478-996d-d5793a676ed6/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_f7685e32-483a-4478-996d-d5793a676ed6/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7685e32-483a-4478-996d-d5793a676ed6/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_f7685e32-483a-4478-996d-d5793a676ed6/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7685e32-483a-4478-996d-d5793a676ed6/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_rand_postinc_01_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7685e32-483a-4478-996d-d5793a676ed6/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_f7685e32-483a-4478-996d-d5793a676ed6/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 d3c11423cc7a72fd3fed5783a94c59c9d8bd8ffcb40881150d9644731098ea2e --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 22:30:18,629 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 22:30:18,751 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7685e32-483a-4478-996d-d5793a676ed6/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2024-11-13 22:30:18,794 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 22:30:18,797 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 22:30:18,797 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 22:30:18,798 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 22:30:18,798 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 22:30:18,798 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 22:30:18,799 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 22:30:18,799 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 22:30:18,799 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 22:30:18,799 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 22:30:18,800 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 22:30:18,801 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-13 22:30:18,801 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-13 22:30:18,801 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 22:30:18,801 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 22:30:18,801 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-13 22:30:18,801 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 22:30:18,801 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 22:30:18,802 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 22:30:18,802 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 22:30:18,802 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 22:30:18,802 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 22:30:18,802 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 22:30:18,803 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-13 22:30:18,803 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 22:30:18,803 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 22:30:18,803 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 22:30:18,804 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 22:30:18,804 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 22:30:18,804 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-13 22:30:18,804 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 22:30:18,804 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-13 22:30:18,804 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_f7685e32-483a-4478-996d-d5793a676ed6/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 -> d3c11423cc7a72fd3fed5783a94c59c9d8bd8ffcb40881150d9644731098ea2e [2024-11-13 22:30:19,119 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 22:30:19,133 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 22:30:19,137 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 22:30:19,138 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 22:30:19,142 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 22:30:19,143 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7685e32-483a-4478-996d-d5793a676ed6/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_rand_postinc_01_bad.i Unable to find full path for "g++" [2024-11-13 22:30:21,057 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 22:30:21,504 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 22:30:21,504 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7685e32-483a-4478-996d-d5793a676ed6/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_rand_postinc_01_bad.i [2024-11-13 22:30:21,529 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7685e32-483a-4478-996d-d5793a676ed6/bin/ukojak-verify-EEHR8qb7sm/data/c5796e451/ab68707cb7f94bd3ba6df886d6d674ef/FLAG864c3e8f9 [2024-11-13 22:30:21,545 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7685e32-483a-4478-996d-d5793a676ed6/bin/ukojak-verify-EEHR8qb7sm/data/c5796e451/ab68707cb7f94bd3ba6df886d6d674ef [2024-11-13 22:30:21,547 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 22:30:21,549 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 22:30:21,550 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 22:30:21,550 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 22:30:21,555 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 22:30:21,556 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 10:30:21" (1/1) ... [2024-11-13 22:30:21,559 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@5a59002b and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:30:21, skipping insertion in model container [2024-11-13 22:30:21,560 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 10:30:21" (1/1) ... [2024-11-13 22:30:21,636 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 22:30:22,642 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 22:30:22,661 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 22:30:22,795 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 22:30:22,975 INFO L204 MainTranslator]: Completed translation [2024-11-13 22:30:22,976 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:30:22 WrapperNode [2024-11-13 22:30:22,976 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 22:30:22,977 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 22:30:22,978 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 22:30:22,978 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 22:30:22,986 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:30:22" (1/1) ... [2024-11-13 22:30:23,016 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:30:22" (1/1) ... [2024-11-13 22:30:23,058 INFO L138 Inliner]: procedures = 502, calls = 23, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 59 [2024-11-13 22:30:23,059 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 22:30:23,060 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 22:30:23,060 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 22:30:23,061 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 22:30:23,071 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:30:22" (1/1) ... [2024-11-13 22:30:23,072 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:30:22" (1/1) ... [2024-11-13 22:30:23,076 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:30:22" (1/1) ... [2024-11-13 22:30:23,076 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:30:22" (1/1) ... [2024-11-13 22:30:23,086 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:30:22" (1/1) ... [2024-11-13 22:30:23,088 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:30:22" (1/1) ... [2024-11-13 22:30:23,091 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:30:22" (1/1) ... [2024-11-13 22:30:23,092 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:30:22" (1/1) ... [2024-11-13 22:30:23,096 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 22:30:23,097 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 22:30:23,098 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 22:30:23,098 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 22:30:23,099 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 10:30:22" (1/1) ... [2024-11-13 22:30:23,107 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 22:30:23,131 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7685e32-483a-4478-996d-d5793a676ed6/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 22:30:23,150 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7685e32-483a-4478-996d-d5793a676ed6/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:30:23,156 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7685e32-483a-4478-996d-d5793a676ed6/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:30:23,194 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-13 22:30:23,194 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-13 22:30:23,194 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 22:30:23,194 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 22:30:23,194 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 22:30:23,392 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 22:30:23,395 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 22:30:23,581 INFO L? ?]: Removed 28 outVars from TransFormulas that were not future-live. [2024-11-13 22:30:23,581 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 22:30:23,684 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 22:30:23,686 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-13 22:30:23,687 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:30:23 BoogieIcfgContainer [2024-11-13 22:30:23,688 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 22:30:23,689 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 22:30:23,690 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 22:30:23,708 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 22:30:23,709 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:30:23" (1/1) ... [2024-11-13 22:30:23,717 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 22:30:23,784 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:30:23,798 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 12 states and 12 transitions. [2024-11-13 22:30:23,800 INFO L276 IsEmpty]: Start isEmpty. Operand 12 states and 12 transitions. [2024-11-13 22:30:23,805 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 7 [2024-11-13 22:30:23,805 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:30:23,806 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 22:30:23,807 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7685e32-483a-4478-996d-d5793a676ed6/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 22:30:23,811 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7685e32-483a-4478-996d-d5793a676ed6/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 22:30:23,813 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7685e32-483a-4478-996d-d5793a676ed6/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-13 22:30:24,025 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:30:24,031 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-13 22:30:24,089 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 22:30:24,094 INFO L255 TraceCheckSpWp]: Trace formula consists of 30 conjuncts, 1 conjuncts are in the unsatisfiable core [2024-11-13 22:30:24,099 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-13 22:30:24,135 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:30:24,137 ERROR L418 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7685e32-483a-4478-996d-d5793a676ed6/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Exception during sending of exit command (exit): Broken pipe [2024-11-13 22:30:24,141 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7685e32-483a-4478-996d-d5793a676ed6/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Ended with exit code 0 [2024-11-13 22:30:24,178 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 22:30:24,182 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 11 states to 11 states and 11 transitions. [2024-11-13 22:30:24,183 INFO L276 IsEmpty]: Start isEmpty. Operand 11 states and 11 transitions. [2024-11-13 22:30:24,183 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 8 [2024-11-13 22:30:24,183 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 22:30:24,183 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 22:30:24,183 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7685e32-483a-4478-996d-d5793a676ed6/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 22:30:24,187 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7685e32-483a-4478-996d-d5793a676ed6/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 22:30:24,191 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7685e32-483a-4478-996d-d5793a676ed6/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2024-11-13 22:30:24,430 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:30:24,430 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 22:30:24,536 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:30:24,600 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:30:24,600 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 22:30:24,618 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 22:30:24,646 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7685e32-483a-4478-996d-d5793a676ed6/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (3)] Forceful destruction successful, exit code 0 [2024-11-13 22:30:24,647 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 2 iterations. [2024-11-13 22:30:24,689 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 10:30:24 ImpRootNode [2024-11-13 22:30:24,690 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 22:30:24,690 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 22:30:24,690 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 22:30:24,691 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 22:30:24,692 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 10:30:23" (3/4) ... [2024-11-13 22:30:24,694 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 22:30:24,695 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 22:30:24,698 INFO L158 Benchmark]: Toolchain (without parser) took 3147.35ms. Allocated memory is still 83.9MB. Free memory was 57.3MB in the beginning and 34.5MB in the end (delta: 22.8MB). Peak memory consumption was 28.2MB. Max. memory is 16.1GB. [2024-11-13 22:30:24,699 INFO L158 Benchmark]: CDTParser took 0.51ms. Allocated memory is still 83.9MB. Free memory is still 63.9MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:30:24,699 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1426.50ms. Allocated memory is still 83.9MB. Free memory was 57.0MB in the beginning and 52.8MB in the end (delta: 4.2MB). Peak memory consumption was 58.4MB. Max. memory is 16.1GB. [2024-11-13 22:30:24,699 INFO L158 Benchmark]: Boogie Procedure Inliner took 81.53ms. Allocated memory is still 83.9MB. Free memory was 52.8MB in the beginning and 50.1MB in the end (delta: 2.7MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:30:24,700 INFO L158 Benchmark]: Boogie Preprocessor took 36.71ms. Allocated memory is still 83.9MB. Free memory was 50.1MB in the beginning and 48.5MB in the end (delta: 1.6MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:30:24,700 INFO L158 Benchmark]: RCFGBuilder took 590.35ms. Allocated memory is still 83.9MB. Free memory was 48.5MB in the beginning and 31.6MB in the end (delta: 16.9MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-13 22:30:24,700 INFO L158 Benchmark]: CodeCheck took 1001.02ms. Allocated memory is still 83.9MB. Free memory was 31.6MB in the beginning and 34.5MB in the end (delta: -2.9MB). Peak memory consumption was 1.9MB. Max. memory is 16.1GB. [2024-11-13 22:30:24,700 INFO L158 Benchmark]: Witness Printer took 5.06ms. Allocated memory is still 83.9MB. Free memory was 34.5MB in the beginning and 34.5MB in the end (delta: 6.5kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 22:30:24,705 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.9s, 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: 1554]: 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 1562. 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); [L1562] 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) [L1562] 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] [L1563] CALL CWE190_Integer_Overflow__int_rand_postinc_01_bad() [L1550] int data; [L1551] data = 0 [L1552] EXPR rand() & 1 ? (((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) : -(((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) - 1 [L1552] EXPR rand() & 1 ? (((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) : -(((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) - 1 [L1552] data = ((int)(rand() & 1 ? (((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) : -(((unsigned)rand()<<30) ^ ((unsigned)rand()<<15) ^ rand()) - 1)) [L1554] 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.51ms. Allocated memory is still 83.9MB. Free memory is still 63.9MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1426.50ms. Allocated memory is still 83.9MB. Free memory was 57.0MB in the beginning and 52.8MB in the end (delta: 4.2MB). Peak memory consumption was 58.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 81.53ms. Allocated memory is still 83.9MB. Free memory was 52.8MB in the beginning and 50.1MB in the end (delta: 2.7MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 36.71ms. Allocated memory is still 83.9MB. Free memory was 50.1MB in the beginning and 48.5MB in the end (delta: 1.6MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 590.35ms. Allocated memory is still 83.9MB. Free memory was 48.5MB in the beginning and 31.6MB in the end (delta: 16.9MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 1001.02ms. Allocated memory is still 83.9MB. Free memory was 31.6MB in the beginning and 34.5MB in the end (delta: -2.9MB). Peak memory consumption was 1.9MB. Max. memory is 16.1GB. * Witness Printer took 5.06ms. Allocated memory is still 83.9MB. Free memory was 34.5MB in the beginning and 34.5MB in the end (delta: 6.5kB). 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:30:24,740 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_f7685e32-483a-4478-996d-d5793a676ed6/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