./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_max_multiply_67_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_786e3fbb-4113-41a5-a360-bc36fc299084/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_786e3fbb-4113-41a5-a360-bc36fc299084/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_786e3fbb-4113-41a5-a360-bc36fc299084/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_786e3fbb-4113-41a5-a360-bc36fc299084/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_max_multiply_67_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_786e3fbb-4113-41a5-a360-bc36fc299084/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_786e3fbb-4113-41a5-a360-bc36fc299084/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 2c20dea9412519df19e71f2da2c80f7c04644be016ff8bcdef6564470ef37845 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 20:32:42,049 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 20:32:42,134 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_786e3fbb-4113-41a5-a360-bc36fc299084/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Default.epf [2024-11-13 20:32:42,146 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-13 20:32:42,147 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-13 20:32:42,187 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 20:32:42,188 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 20:32:42,190 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 20:32:42,191 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 20:32:42,191 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 20:32:42,194 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 20:32:42,194 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 20:32:42,194 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-13 20:32:42,194 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 20:32:42,195 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 20:32:42,195 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 20:32:42,195 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 20:32:42,195 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 20:32:42,195 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 20:32:42,195 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 20:32:42,195 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 20:32:42,196 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 20:32:42,196 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 20:32:42,196 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 20:32:42,197 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 20:32:42,197 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 20:32:42,197 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 20:32:42,197 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 20:32:42,197 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 20:32:42,197 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 20:32:42,197 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-13 20:32:42,197 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-13 20:32:42,197 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_786e3fbb-4113-41a5-a360-bc36fc299084/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 -> 2c20dea9412519df19e71f2da2c80f7c04644be016ff8bcdef6564470ef37845 [2024-11-13 20:32:42,521 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 20:32:42,532 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 20:32:42,539 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 20:32:42,541 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 20:32:42,543 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 20:32:42,545 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_786e3fbb-4113-41a5-a360-bc36fc299084/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_max_multiply_67_bad.i Unable to find full path for "g++" [2024-11-13 20:32:44,578 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 20:32:45,202 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 20:32:45,203 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_786e3fbb-4113-41a5-a360-bc36fc299084/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_max_multiply_67_bad.i [2024-11-13 20:32:45,243 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_786e3fbb-4113-41a5-a360-bc36fc299084/bin/ukojak-verify-EEHR8qb7sm/data/6986062d3/3b9db30a85e94e9585a92755b620df73/FLAGed8176477 [2024-11-13 20:32:45,275 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_786e3fbb-4113-41a5-a360-bc36fc299084/bin/ukojak-verify-EEHR8qb7sm/data/6986062d3/3b9db30a85e94e9585a92755b620df73 [2024-11-13 20:32:45,277 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 20:32:45,280 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 20:32:45,282 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 20:32:45,282 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 20:32:45,288 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 20:32:45,290 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 08:32:45" (1/1) ... [2024-11-13 20:32:45,291 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@770fe858 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:32:45, skipping insertion in model container [2024-11-13 20:32:45,294 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 08:32:45" (1/1) ... [2024-11-13 20:32:45,370 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 20:32:46,629 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 20:32:46,643 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 20:32:46,752 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 20:32:46,944 INFO L204 MainTranslator]: Completed translation [2024-11-13 20:32:46,946 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:32:46 WrapperNode [2024-11-13 20:32:46,947 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 20:32:46,948 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 20:32:46,949 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 20:32:46,950 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 20:32:46,959 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:32:46" (1/1) ... [2024-11-13 20:32:46,989 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:32:46" (1/1) ... [2024-11-13 20:32:47,018 INFO L138 Inliner]: procedures = 498, calls = 32, calls flagged for inlining = 5, calls inlined = 5, statements flattened = 53 [2024-11-13 20:32:47,019 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 20:32:47,020 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 20:32:47,021 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 20:32:47,021 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 20:32:47,031 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:32:46" (1/1) ... [2024-11-13 20:32:47,031 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:32:46" (1/1) ... [2024-11-13 20:32:47,038 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:32:46" (1/1) ... [2024-11-13 20:32:47,039 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:32:46" (1/1) ... [2024-11-13 20:32:47,046 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:32:46" (1/1) ... [2024-11-13 20:32:47,049 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:32:46" (1/1) ... [2024-11-13 20:32:47,051 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:32:46" (1/1) ... [2024-11-13 20:32:47,052 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:32:46" (1/1) ... [2024-11-13 20:32:47,055 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 20:32:47,056 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 20:32:47,056 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 20:32:47,056 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 20:32:47,058 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:32:46" (1/1) ... [2024-11-13 20:32:47,065 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 20:32:47,090 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_786e3fbb-4113-41a5-a360-bc36fc299084/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 20:32:47,109 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_786e3fbb-4113-41a5-a360-bc36fc299084/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 20:32:47,113 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_786e3fbb-4113-41a5-a360-bc36fc299084/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 20:32:47,143 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-13 20:32:47,143 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-13 20:32:47,143 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-11-13 20:32:47,143 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2024-11-13 20:32:47,143 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 20:32:47,144 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 20:32:47,144 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 20:32:47,144 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-11-13 20:32:47,144 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2024-11-13 20:32:47,366 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 20:32:47,369 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 20:32:47,521 INFO L? ?]: Removed 25 outVars from TransFormulas that were not future-live. [2024-11-13 20:32:47,522 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 20:32:47,564 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 20:32:47,565 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-13 20:32:47,565 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 08:32:47 BoogieIcfgContainer [2024-11-13 20:32:47,565 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 20:32:47,566 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 20:32:47,566 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 20:32:47,587 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 20:32:47,587 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 08:32:47" (1/1) ... [2024-11-13 20:32:47,600 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 20:32:47,657 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 20:32:47,670 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 15 states to 14 states and 15 transitions. [2024-11-13 20:32:47,671 INFO L276 IsEmpty]: Start isEmpty. Operand 14 states and 15 transitions. [2024-11-13 20:32:47,677 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 8 [2024-11-13 20:32:47,677 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 20:32:47,678 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 20:32:47,887 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 20:32:48,098 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 20:32:48,159 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 20:32:48,163 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 14 states to 13 states and 14 transitions. [2024-11-13 20:32:48,163 INFO L276 IsEmpty]: Start isEmpty. Operand 13 states and 14 transitions. [2024-11-13 20:32:48,164 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2024-11-13 20:32:48,164 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 20:32:48,164 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 20:32:48,247 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:32:48,247 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 20:32:48,288 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:32:48,420 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:32:48,420 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 20:32:48,478 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:32:48,501 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 2 iterations. [2024-11-13 20:32:48,545 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 08:32:48 ImpRootNode [2024-11-13 20:32:48,545 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 20:32:48,546 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 20:32:48,547 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 20:32:48,547 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 20:32:48,548 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 08:32:47" (3/4) ... [2024-11-13 20:32:48,552 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 20:32:48,553 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 20:32:48,557 INFO L158 Benchmark]: Toolchain (without parser) took 3275.12ms. Allocated memory is still 117.4MB. Free memory was 91.8MB in the beginning and 87.0MB in the end (delta: 4.8MB). Peak memory consumption was 8.1MB. Max. memory is 16.1GB. [2024-11-13 20:32:48,557 INFO L158 Benchmark]: CDTParser took 0.51ms. Allocated memory is still 142.6MB. Free memory is still 80.1MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:32:48,558 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1665.61ms. Allocated memory is still 117.4MB. Free memory was 91.5MB in the beginning and 83.4MB in the end (delta: 8.1MB). Peak memory consumption was 57.9MB. Max. memory is 16.1GB. [2024-11-13 20:32:48,558 INFO L158 Benchmark]: Boogie Procedure Inliner took 71.19ms. Allocated memory is still 117.4MB. Free memory was 83.4MB in the beginning and 81.3MB in the end (delta: 2.1MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:32:48,558 INFO L158 Benchmark]: Boogie Preprocessor took 35.00ms. Allocated memory is still 117.4MB. Free memory was 81.3MB in the beginning and 80.1MB in the end (delta: 1.2MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-13 20:32:48,559 INFO L158 Benchmark]: RCFGBuilder took 509.35ms. Allocated memory is still 117.4MB. Free memory was 80.1MB in the beginning and 65.6MB in the end (delta: 14.5MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-13 20:32:48,559 INFO L158 Benchmark]: CodeCheck took 979.41ms. Allocated memory is still 117.4MB. Free memory was 65.6MB in the beginning and 87.0MB in the end (delta: -21.4MB). Peak memory consumption was 37.7MB. Max. memory is 16.1GB. [2024-11-13 20:32:48,560 INFO L158 Benchmark]: Witness Printer took 6.95ms. Allocated memory is still 117.4MB. Free memory was 87.0MB in the beginning and 87.0MB in the end (delta: 11.7kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:32:48,565 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, 14 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, 7 SdHoareTripleChecker+Invalid, 0.0s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 2 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 6 IncrementalHoareTripleChecker+Invalid, 8 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 2 mSolverCounterUnsat, 7 mSDtfsCounter, 6 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 42 GetRequests, 40 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.2s InterpolantComputationTime, 15 NumberOfCodeBlocks, 15 NumberOfCodeBlocksAsserted, 2 NumberOfCheckSat, 6 ConstructedInterpolants, 0 QuantifiedInterpolants, 8 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: 1574]: 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 1565. 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); [L1565] 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) [L1565] 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] [L1566] CALL CWE190_Integer_Overflow__int_max_multiply_67_bad() [L1555] int data; [L1556] CWE190_Integer_Overflow__int_max_multiply_67_structType myStruct; [L1557] data = 0 [L1558] data = 0x7fffffff [L1559] myStruct.structFirst = data [L1560] CALL CWE190_Integer_Overflow__int_max_multiply_67b_badSink(myStruct) [L1571] EXPR myStruct.structFirst [L1571] int data = myStruct.structFirst; [L1572] COND TRUE data > 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=2147483647, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1574] data * 2 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 142.6MB. Free memory is still 80.1MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1665.61ms. Allocated memory is still 117.4MB. Free memory was 91.5MB in the beginning and 83.4MB in the end (delta: 8.1MB). Peak memory consumption was 57.9MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 71.19ms. Allocated memory is still 117.4MB. Free memory was 83.4MB in the beginning and 81.3MB in the end (delta: 2.1MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 35.00ms. Allocated memory is still 117.4MB. Free memory was 81.3MB in the beginning and 80.1MB in the end (delta: 1.2MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * RCFGBuilder took 509.35ms. Allocated memory is still 117.4MB. Free memory was 80.1MB in the beginning and 65.6MB in the end (delta: 14.5MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * CodeCheck took 979.41ms. Allocated memory is still 117.4MB. Free memory was 65.6MB in the beginning and 87.0MB in the end (delta: -21.4MB). Peak memory consumption was 37.7MB. Max. memory is 16.1GB. * Witness Printer took 6.95ms. Allocated memory is still 117.4MB. Free memory was 87.0MB in the beginning and 87.0MB in the end (delta: 11.7kB). 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 20:32:48,602 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_786e3fbb-4113-41a5-a360-bc36fc299084/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_786e3fbb-4113-41a5-a360-bc36fc299084/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_786e3fbb-4113-41a5-a360-bc36fc299084/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_786e3fbb-4113-41a5-a360-bc36fc299084/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_786e3fbb-4113-41a5-a360-bc36fc299084/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_max_multiply_67_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_786e3fbb-4113-41a5-a360-bc36fc299084/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_786e3fbb-4113-41a5-a360-bc36fc299084/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 2c20dea9412519df19e71f2da2c80f7c04644be016ff8bcdef6564470ef37845 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 20:32:51,864 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 20:32:52,019 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_786e3fbb-4113-41a5-a360-bc36fc299084/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2024-11-13 20:32:52,071 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 20:32:52,074 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 20:32:52,074 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 20:32:52,075 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 20:32:52,075 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 20:32:52,075 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 20:32:52,075 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 20:32:52,076 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 20:32:52,076 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 20:32:52,076 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 20:32:52,076 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 20:32:52,076 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-13 20:32:52,077 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-13 20:32:52,077 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 20:32:52,078 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 20:32:52,079 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-13 20:32:52,079 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 20:32:52,079 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 20:32:52,079 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 20:32:52,080 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 20:32:52,080 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 20:32:52,080 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 20:32:52,080 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 20:32:52,080 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-13 20:32:52,080 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 20:32:52,080 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 20:32:52,081 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 20:32:52,081 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 20:32:52,081 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 20:32:52,081 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-13 20:32:52,081 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 20:32:52,082 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-13 20:32:52,082 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_786e3fbb-4113-41a5-a360-bc36fc299084/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 -> 2c20dea9412519df19e71f2da2c80f7c04644be016ff8bcdef6564470ef37845 [2024-11-13 20:32:52,551 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 20:32:52,566 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 20:32:52,569 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 20:32:52,572 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 20:32:52,574 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 20:32:52,577 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_786e3fbb-4113-41a5-a360-bc36fc299084/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_max_multiply_67_bad.i Unable to find full path for "g++" [2024-11-13 20:32:55,065 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 20:32:55,458 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 20:32:55,459 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_786e3fbb-4113-41a5-a360-bc36fc299084/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_max_multiply_67_bad.i [2024-11-13 20:32:55,507 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_786e3fbb-4113-41a5-a360-bc36fc299084/bin/ukojak-verify-EEHR8qb7sm/data/ea3422863/1e119a5d723c43b78779a57c4f06fd8d/FLAG948b83665 [2024-11-13 20:32:55,640 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_786e3fbb-4113-41a5-a360-bc36fc299084/bin/ukojak-verify-EEHR8qb7sm/data/ea3422863/1e119a5d723c43b78779a57c4f06fd8d [2024-11-13 20:32:55,644 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 20:32:55,647 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 20:32:55,649 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 20:32:55,651 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 20:32:55,658 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 20:32:55,659 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 08:32:55" (1/1) ... [2024-11-13 20:32:55,660 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@2fa2f5f0 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:32:55, skipping insertion in model container [2024-11-13 20:32:55,663 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 08:32:55" (1/1) ... [2024-11-13 20:32:55,748 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 20:32:57,001 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 20:32:57,019 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 20:32:57,162 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 20:32:57,370 INFO L204 MainTranslator]: Completed translation [2024-11-13 20:32:57,371 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:32:57 WrapperNode [2024-11-13 20:32:57,371 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 20:32:57,372 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 20:32:57,373 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 20:32:57,374 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 20:32:57,383 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:32:57" (1/1) ... [2024-11-13 20:32:57,424 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:32:57" (1/1) ... [2024-11-13 20:32:57,454 INFO L138 Inliner]: procedures = 503, calls = 32, calls flagged for inlining = 5, calls inlined = 5, statements flattened = 53 [2024-11-13 20:32:57,454 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 20:32:57,455 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 20:32:57,455 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 20:32:57,456 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 20:32:57,465 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:32:57" (1/1) ... [2024-11-13 20:32:57,465 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:32:57" (1/1) ... [2024-11-13 20:32:57,469 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:32:57" (1/1) ... [2024-11-13 20:32:57,469 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:32:57" (1/1) ... [2024-11-13 20:32:57,479 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:32:57" (1/1) ... [2024-11-13 20:32:57,481 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:32:57" (1/1) ... [2024-11-13 20:32:57,484 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:32:57" (1/1) ... [2024-11-13 20:32:57,485 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:32:57" (1/1) ... [2024-11-13 20:32:57,489 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 20:32:57,489 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 20:32:57,490 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 20:32:57,490 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 20:32:57,491 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:32:57" (1/1) ... [2024-11-13 20:32:57,498 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 20:32:57,520 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_786e3fbb-4113-41a5-a360-bc36fc299084/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 20:32:57,534 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_786e3fbb-4113-41a5-a360-bc36fc299084/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 20:32:57,543 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_786e3fbb-4113-41a5-a360-bc36fc299084/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 20:32:57,571 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-13 20:32:57,572 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-13 20:32:57,572 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-11-13 20:32:57,572 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 20:32:57,572 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 20:32:57,573 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 20:32:57,573 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4 [2024-11-13 20:32:57,573 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-11-13 20:32:57,573 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4 [2024-11-13 20:32:57,826 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 20:32:57,829 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 20:32:58,004 INFO L? ?]: Removed 25 outVars from TransFormulas that were not future-live. [2024-11-13 20:32:58,005 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 20:32:58,073 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 20:32:58,077 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-13 20:32:58,078 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 08:32:58 BoogieIcfgContainer [2024-11-13 20:32:58,078 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 20:32:58,079 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 20:32:58,079 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 20:32:58,089 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 20:32:58,089 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 08:32:58" (1/1) ... [2024-11-13 20:32:58,098 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 20:32:58,157 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 20:32:58,166 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 15 states to 14 states and 15 transitions. [2024-11-13 20:32:58,167 INFO L276 IsEmpty]: Start isEmpty. Operand 14 states and 15 transitions. [2024-11-13 20:32:58,171 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 8 [2024-11-13 20:32:58,171 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 20:32:58,172 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 20:32:58,172 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_786e3fbb-4113-41a5-a360-bc36fc299084/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 20:32:58,176 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_786e3fbb-4113-41a5-a360-bc36fc299084/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 20:32:58,179 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_786e3fbb-4113-41a5-a360-bc36fc299084/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-13 20:32:58,427 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 20:32:58,429 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-13 20:32:58,476 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 20:32:58,479 INFO L255 TraceCheckSpWp]: Trace formula consists of 63 conjuncts, 2 conjuncts are in the unsatisfiable core [2024-11-13 20:32:58,483 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-13 20:32:58,521 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 20:32:58,527 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_786e3fbb-4113-41a5-a360-bc36fc299084/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Ended with exit code 0 [2024-11-13 20:32:58,582 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 20:32:58,583 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 14 states to 13 states and 14 transitions. [2024-11-13 20:32:58,583 INFO L276 IsEmpty]: Start isEmpty. Operand 13 states and 14 transitions. [2024-11-13 20:32:58,583 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2024-11-13 20:32:58,583 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 20:32:58,584 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 20:32:58,584 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_786e3fbb-4113-41a5-a360-bc36fc299084/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 20:32:58,586 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_786e3fbb-4113-41a5-a360-bc36fc299084/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 20:32:58,590 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_786e3fbb-4113-41a5-a360-bc36fc299084/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2024-11-13 20:32:58,809 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:32:58,810 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 20:32:58,912 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:32:59,072 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:32:59,073 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 20:32:59,188 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:32:59,220 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_786e3fbb-4113-41a5-a360-bc36fc299084/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (3)] Ended with exit code 0 [2024-11-13 20:32:59,222 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 2 iterations. [2024-11-13 20:32:59,264 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 08:32:59 ImpRootNode [2024-11-13 20:32:59,265 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 20:32:59,265 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 20:32:59,266 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 20:32:59,266 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 20:32:59,267 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 08:32:58" (3/4) ... [2024-11-13 20:32:59,269 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 20:32:59,270 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 20:32:59,274 INFO L158 Benchmark]: Toolchain (without parser) took 3625.01ms. Allocated memory is still 83.9MB. Free memory was 57.7MB in the beginning and 29.3MB in the end (delta: 28.3MB). Peak memory consumption was 27.3MB. Max. memory is 16.1GB. [2024-11-13 20:32:59,274 INFO L158 Benchmark]: CDTParser took 0.53ms. Allocated memory is still 83.9MB. Free memory is still 65.2MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:32:59,274 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1722.46ms. Allocated memory is still 83.9MB. Free memory was 57.4MB in the beginning and 53.8MB in the end (delta: 3.6MB). Peak memory consumption was 57.4MB. Max. memory is 16.1GB. [2024-11-13 20:32:59,275 INFO L158 Benchmark]: Boogie Procedure Inliner took 82.19ms. Allocated memory is still 83.9MB. Free memory was 53.8MB in the beginning and 51.1MB in the end (delta: 2.7MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:32:59,275 INFO L158 Benchmark]: Boogie Preprocessor took 33.65ms. Allocated memory is still 83.9MB. Free memory was 51.1MB in the beginning and 49.2MB in the end (delta: 1.9MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:32:59,276 INFO L158 Benchmark]: RCFGBuilder took 588.76ms. Allocated memory is still 83.9MB. Free memory was 49.2MB in the beginning and 33.9MB in the end (delta: 15.3MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-13 20:32:59,276 INFO L158 Benchmark]: CodeCheck took 1185.86ms. Allocated memory is still 83.9MB. Free memory was 33.5MB in the beginning and 29.8MB in the end (delta: 3.8MB). Peak memory consumption was 2.0MB. Max. memory is 16.1GB. [2024-11-13 20:32:59,280 INFO L158 Benchmark]: Witness Printer took 4.76ms. Allocated memory is still 83.9MB. Free memory was 29.8MB in the beginning and 29.3MB in the end (delta: 428.7kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:32:59,283 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, 14 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, 14 SdHoareTripleChecker+Valid, 0.0s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 0 mSDsluCounter, 7 SdHoareTripleChecker+Invalid, 0.0s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 2 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 6 IncrementalHoareTripleChecker+Invalid, 8 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 2 mSolverCounterUnsat, 7 mSDtfsCounter, 6 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 46 GetRequests, 44 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.0s InterpolantComputationTime, 15 NumberOfCodeBlocks, 15 NumberOfCodeBlocksAsserted, 2 NumberOfCheckSat, 6 ConstructedInterpolants, 0 QuantifiedInterpolants, 8 SizeOfPredicates, 0 NumberOfNonLiveVariables, 63 ConjunctsInSsa, 2 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: 1574]: 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 1565. 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); [L1565] 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) [L1565] 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] [L1566] CALL CWE190_Integer_Overflow__int_max_multiply_67_bad() [L1555] int data; [L1556] CWE190_Integer_Overflow__int_max_multiply_67_structType myStruct; [L1557] data = 0 [L1558] data = 0x7fffffff [L1559] myStruct.structFirst = data [L1560] CALL CWE190_Integer_Overflow__int_max_multiply_67b_badSink(myStruct) [L1571] EXPR myStruct.structFirst [L1571] int data = myStruct.structFirst; [L1572] COND TRUE data > 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=2147483647, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1574] data * 2 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.53ms. Allocated memory is still 83.9MB. Free memory is still 65.2MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1722.46ms. Allocated memory is still 83.9MB. Free memory was 57.4MB in the beginning and 53.8MB in the end (delta: 3.6MB). Peak memory consumption was 57.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 82.19ms. Allocated memory is still 83.9MB. Free memory was 53.8MB in the beginning and 51.1MB in the end (delta: 2.7MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 33.65ms. Allocated memory is still 83.9MB. Free memory was 51.1MB in the beginning and 49.2MB in the end (delta: 1.9MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 588.76ms. Allocated memory is still 83.9MB. Free memory was 49.2MB in the beginning and 33.9MB in the end (delta: 15.3MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 1185.86ms. Allocated memory is still 83.9MB. Free memory was 33.5MB in the beginning and 29.8MB in the end (delta: 3.8MB). Peak memory consumption was 2.0MB. Max. memory is 16.1GB. * Witness Printer took 4.76ms. Allocated memory is still 83.9MB. Free memory was 29.8MB in the beginning and 29.3MB in the end (delta: 428.7kB). 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 20:32:59,323 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_786e3fbb-4113-41a5-a360-bc36fc299084/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