./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_max_square_44_bad.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for overflows Using default analysis Version a0165632 Calling Ultimate with: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_293f297b-68cf-4371-91e5-65901eb0310d/bin/ukojak-verify-ImItNfHLgk/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_293f297b-68cf-4371-91e5-65901eb0310d/bin/ukojak-verify-ImItNfHLgk/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_293f297b-68cf-4371-91e5-65901eb0310d/bin/ukojak-verify-ImItNfHLgk/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_293f297b-68cf-4371-91e5-65901eb0310d/bin/ukojak-verify-ImItNfHLgk/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_max_square_44_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_293f297b-68cf-4371-91e5-65901eb0310d/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_293f297b-68cf-4371-91e5-65901eb0310d/bin/ukojak-verify-ImItNfHLgk --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 2e24090f3fc87555565983c8f1252de9c2196bb3e6ada46a096bb94b5bd1999a --- Real Ultimate output --- This is Ultimate 0.2.5-dev-a016563 [2024-11-09 00:50:38,168 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-09 00:50:38,259 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_293f297b-68cf-4371-91e5-65901eb0310d/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Default.epf [2024-11-09 00:50:38,268 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-09 00:50:38,269 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-09 00:50:38,301 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-09 00:50:38,302 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-09 00:50:38,303 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-09 00:50:38,303 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-09 00:50:38,304 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-09 00:50:38,304 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-09 00:50:38,304 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-09 00:50:38,305 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-09 00:50:38,305 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-09 00:50:38,307 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-09 00:50:38,308 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-09 00:50:38,308 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-09 00:50:38,308 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-09 00:50:38,309 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-09 00:50:38,309 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-09 00:50:38,309 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-09 00:50:38,314 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-09 00:50:38,314 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-09 00:50:38,314 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-09 00:50:38,314 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-09 00:50:38,315 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-09 00:50:38,315 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-09 00:50:38,315 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-09 00:50:38,315 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-09 00:50:38,316 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-09 00:50:38,316 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-09 00:50:38,316 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-09 00:50:38,316 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_293f297b-68cf-4371-91e5-65901eb0310d/bin/ukojak-verify-ImItNfHLgk/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release 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_293f297b-68cf-4371-91e5-65901eb0310d/bin/ukojak-verify-ImItNfHLgk 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 -> 2e24090f3fc87555565983c8f1252de9c2196bb3e6ada46a096bb94b5bd1999a [2024-11-09 00:50:38,568 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-09 00:50:38,594 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-09 00:50:38,597 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-09 00:50:38,600 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-09 00:50:38,600 INFO L274 PluginConnector]: CDTParser initialized [2024-11-09 00:50:38,602 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_293f297b-68cf-4371-91e5-65901eb0310d/bin/ukojak-verify-ImItNfHLgk/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_max_square_44_bad.i Unable to find full path for "g++" [2024-11-09 00:50:40,614 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-09 00:50:41,047 INFO L384 CDTParser]: Found 1 translation units. [2024-11-09 00:50:41,048 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_293f297b-68cf-4371-91e5-65901eb0310d/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_max_square_44_bad.i [2024-11-09 00:50:41,083 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_293f297b-68cf-4371-91e5-65901eb0310d/bin/ukojak-verify-ImItNfHLgk/data/25166c7ff/1d87d70bf446469c953ca30d83ae3bee/FLAG518fdda6e [2024-11-09 00:50:41,188 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_293f297b-68cf-4371-91e5-65901eb0310d/bin/ukojak-verify-ImItNfHLgk/data/25166c7ff/1d87d70bf446469c953ca30d83ae3bee [2024-11-09 00:50:41,191 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-09 00:50:41,193 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-09 00:50:41,196 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-09 00:50:41,196 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-09 00:50:41,201 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-09 00:50:41,202 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 09.11 12:50:41" (1/1) ... [2024-11-09 00:50:41,205 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@2c8bfa1d and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:50:41, skipping insertion in model container [2024-11-09 00:50:41,206 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 09.11 12:50:41" (1/1) ... [2024-11-09 00:50:41,289 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-09 00:50:43,288 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-09 00:50:43,303 INFO L200 MainTranslator]: Completed pre-run [2024-11-09 00:50:43,461 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-09 00:50:43,935 INFO L204 MainTranslator]: Completed translation [2024-11-09 00:50:43,936 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:50:43 WrapperNode [2024-11-09 00:50:43,936 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-09 00:50:43,937 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-09 00:50:43,938 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-09 00:50:43,938 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-09 00:50:43,947 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:50:43" (1/1) ... [2024-11-09 00:50:43,994 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:50:43" (1/1) ... [2024-11-09 00:50:44,036 INFO L138 Inliner]: procedures = 937, calls = 25, calls flagged for inlining = 6, calls inlined = 6, statements flattened = 44 [2024-11-09 00:50:44,037 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-09 00:50:44,038 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-09 00:50:44,038 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-09 00:50:44,038 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-09 00:50:44,048 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:50:43" (1/1) ... [2024-11-09 00:50:44,048 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:50:43" (1/1) ... [2024-11-09 00:50:44,054 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:50:43" (1/1) ... [2024-11-09 00:50:44,055 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:50:43" (1/1) ... [2024-11-09 00:50:44,081 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:50:43" (1/1) ... [2024-11-09 00:50:44,088 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:50:43" (1/1) ... [2024-11-09 00:50:44,089 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:50:43" (1/1) ... [2024-11-09 00:50:44,092 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:50:43" (1/1) ... [2024-11-09 00:50:44,097 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-09 00:50:44,098 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-09 00:50:44,099 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-09 00:50:44,099 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-09 00:50:44,100 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:50:43" (1/1) ... [2024-11-09 00:50:44,113 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-09 00:50:44,126 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_293f297b-68cf-4371-91e5-65901eb0310d/bin/ukojak-verify-ImItNfHLgk/z3 [2024-11-09 00:50:44,143 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_293f297b-68cf-4371-91e5-65901eb0310d/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-09 00:50:44,147 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_293f297b-68cf-4371-91e5-65901eb0310d/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-09 00:50:44,180 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-09 00:50:44,180 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-09 00:50:44,180 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-09 00:50:44,181 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-09 00:50:44,181 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-09 00:50:44,356 INFO L238 CfgBuilder]: Building ICFG [2024-11-09 00:50:44,358 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-09 00:50:44,498 INFO L? ?]: Removed 26 outVars from TransFormulas that were not future-live. [2024-11-09 00:50:44,498 INFO L287 CfgBuilder]: Performing block encoding [2024-11-09 00:50:44,566 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-09 00:50:44,566 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-09 00:50:44,567 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 09.11 12:50:44 BoogieIcfgContainer [2024-11-09 00:50:44,567 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-09 00:50:44,568 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-09 00:50:44,568 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-09 00:50:44,580 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-09 00:50:44,580 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 09.11 12:50:44" (1/1) ... [2024-11-09 00:50:44,591 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-09 00:50:44,638 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 00:50:44,645 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 12 states and 12 transitions. [2024-11-09 00:50:44,645 INFO L276 IsEmpty]: Start isEmpty. Operand 12 states and 12 transitions. [2024-11-09 00:50:44,650 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 7 [2024-11-09 00:50:44,651 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 00:50:44,652 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-09 00:50:44,798 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 00:50:44,879 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-09 00:50:44,897 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 00:50:44,897 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 11 states to 11 states and 11 transitions. [2024-11-09 00:50:44,898 INFO L276 IsEmpty]: Start isEmpty. Operand 11 states and 11 transitions. [2024-11-09 00:50:44,898 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 8 [2024-11-09 00:50:44,898 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 00:50:44,899 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-09 00:50:44,928 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unknown [2024-11-09 00:50:44,963 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 00:50:44,964 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-09 00:50:44,976 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 00:50:44,999 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 2 iterations. [2024-11-09 00:50:45,029 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 09.11 12:50:45 ImpRootNode [2024-11-09 00:50:45,029 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-09 00:50:45,030 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-09 00:50:45,031 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-09 00:50:45,031 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-09 00:50:45,031 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 09.11 12:50:44" (3/4) ... [2024-11-09 00:50:45,034 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-09 00:50:45,035 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-09 00:50:45,036 INFO L158 Benchmark]: Toolchain (without parser) took 3843.29ms. Allocated memory was 140.5MB in the beginning and 184.5MB in the end (delta: 44.0MB). Free memory was 105.2MB in the beginning and 112.5MB in the end (delta: -7.3MB). Peak memory consumption was 38.8MB. Max. memory is 16.1GB. [2024-11-09 00:50:45,036 INFO L158 Benchmark]: CDTParser took 0.33ms. Allocated memory is still 102.8MB. Free memory is still 59.5MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-09 00:50:45,037 INFO L158 Benchmark]: CACSL2BoogieTranslator took 2741.20ms. Allocated memory was 140.5MB in the beginning and 184.5MB in the end (delta: 44.0MB). Free memory was 104.6MB in the beginning and 87.7MB in the end (delta: 16.9MB). Peak memory consumption was 67.9MB. Max. memory is 16.1GB. [2024-11-09 00:50:45,038 INFO L158 Benchmark]: Boogie Procedure Inliner took 99.74ms. Allocated memory is still 184.5MB. Free memory was 87.7MB in the beginning and 83.5MB in the end (delta: 4.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2024-11-09 00:50:45,038 INFO L158 Benchmark]: Boogie Preprocessor took 60.10ms. Allocated memory is still 184.5MB. Free memory was 83.5MB in the beginning and 147.1MB in the end (delta: -63.6MB). Peak memory consumption was 2.4MB. Max. memory is 16.1GB. [2024-11-09 00:50:45,039 INFO L158 Benchmark]: RCFGBuilder took 468.49ms. Allocated memory is still 184.5MB. Free memory was 147.1MB in the beginning and 131.3MB in the end (delta: 15.7MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. [2024-11-09 00:50:45,040 INFO L158 Benchmark]: CodeCheck took 461.39ms. Allocated memory is still 184.5MB. Free memory was 131.3MB in the beginning and 112.5MB in the end (delta: 18.9MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. [2024-11-09 00:50:45,040 INFO L158 Benchmark]: Witness Printer took 4.75ms. Allocated memory is still 184.5MB. Free memory is still 112.5MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-09 00:50:45,043 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.4s, 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, 6 SdHoareTripleChecker+Invalid, 0.0s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 0 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 2 IncrementalHoareTripleChecker+Invalid, 2 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 0 mSolverCounterUnsat, 6 mSDtfsCounter, 2 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 34 GetRequests, 34 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.1s InterpolantComputationTime, 13 NumberOfCodeBlocks, 13 NumberOfCodeBlocksAsserted, 2 NumberOfCheckSat, 5 ConstructedInterpolants, 0 QuantifiedInterpolants, 5 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: 1835]: 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 1850. 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); [L1850] 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) [L1850] 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] [L1851] CALL CWE190_Integer_Overflow__int_max_square_44_bad() [L1841] int data; [L1842] void (*funcPtr) (int) = badSink; [L1843] data = 0 [L1844] data = 0x7fffffff [L1845] CALL funcPtr(data) [L1835] data * data VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.33ms. Allocated memory is still 102.8MB. Free memory is still 59.5MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 2741.20ms. Allocated memory was 140.5MB in the beginning and 184.5MB in the end (delta: 44.0MB). Free memory was 104.6MB in the beginning and 87.7MB in the end (delta: 16.9MB). Peak memory consumption was 67.9MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 99.74ms. Allocated memory is still 184.5MB. Free memory was 87.7MB in the beginning and 83.5MB in the end (delta: 4.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Boogie Preprocessor took 60.10ms. Allocated memory is still 184.5MB. Free memory was 83.5MB in the beginning and 147.1MB in the end (delta: -63.6MB). Peak memory consumption was 2.4MB. Max. memory is 16.1GB. * RCFGBuilder took 468.49ms. Allocated memory is still 184.5MB. Free memory was 147.1MB in the beginning and 131.3MB in the end (delta: 15.7MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. * CodeCheck took 461.39ms. Allocated memory is still 184.5MB. Free memory was 131.3MB in the beginning and 112.5MB in the end (delta: 18.9MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. * Witness Printer took 4.75ms. Allocated memory is still 184.5MB. Free memory is still 112.5MB. 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-09 00:50:45,078 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_293f297b-68cf-4371-91e5-65901eb0310d/bin/ukojak-verify-ImItNfHLgk/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/lib/jvm/java-11-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_293f297b-68cf-4371-91e5-65901eb0310d/bin/ukojak-verify-ImItNfHLgk/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_293f297b-68cf-4371-91e5-65901eb0310d/bin/ukojak-verify-ImItNfHLgk/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_293f297b-68cf-4371-91e5-65901eb0310d/bin/ukojak-verify-ImItNfHLgk/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_293f297b-68cf-4371-91e5-65901eb0310d/bin/ukojak-verify-ImItNfHLgk/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_max_square_44_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_293f297b-68cf-4371-91e5-65901eb0310d/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_293f297b-68cf-4371-91e5-65901eb0310d/bin/ukojak-verify-ImItNfHLgk --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 2e24090f3fc87555565983c8f1252de9c2196bb3e6ada46a096bb94b5bd1999a --- Real Ultimate output --- This is Ultimate 0.2.5-dev-a016563 [2024-11-09 00:50:47,570 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-09 00:50:47,647 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_293f297b-68cf-4371-91e5-65901eb0310d/bin/ukojak-verify-ImItNfHLgk/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2024-11-09 00:50:47,696 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-09 00:50:47,697 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-09 00:50:47,698 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-09 00:50:47,699 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-09 00:50:47,699 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-09 00:50:47,700 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-09 00:50:47,700 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-09 00:50:47,701 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-09 00:50:47,701 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-09 00:50:47,702 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-09 00:50:47,702 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-09 00:50:47,705 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-09 00:50:47,706 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-09 00:50:47,707 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-09 00:50:47,707 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-09 00:50:47,708 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-09 00:50:47,708 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-09 00:50:47,709 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-09 00:50:47,713 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-09 00:50:47,713 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-09 00:50:47,713 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-09 00:50:47,714 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-09 00:50:47,714 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-09 00:50:47,714 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-09 00:50:47,715 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-09 00:50:47,715 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-09 00:50:47,715 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-09 00:50:47,715 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-09 00:50:47,716 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-09 00:50:47,716 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-09 00:50:47,718 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-09 00:50:47,719 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-09 00:50:47,719 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_293f297b-68cf-4371-91e5-65901eb0310d/bin/ukojak-verify-ImItNfHLgk/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release 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_293f297b-68cf-4371-91e5-65901eb0310d/bin/ukojak-verify-ImItNfHLgk 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 -> 2e24090f3fc87555565983c8f1252de9c2196bb3e6ada46a096bb94b5bd1999a [2024-11-09 00:50:48,167 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-09 00:50:48,198 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-09 00:50:48,202 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-09 00:50:48,204 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-09 00:50:48,205 INFO L274 PluginConnector]: CDTParser initialized [2024-11-09 00:50:48,206 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_293f297b-68cf-4371-91e5-65901eb0310d/bin/ukojak-verify-ImItNfHLgk/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_max_square_44_bad.i Unable to find full path for "g++" [2024-11-09 00:50:50,251 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-09 00:50:50,759 INFO L384 CDTParser]: Found 1 translation units. [2024-11-09 00:50:50,760 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_293f297b-68cf-4371-91e5-65901eb0310d/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_max_square_44_bad.i [2024-11-09 00:50:50,803 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_293f297b-68cf-4371-91e5-65901eb0310d/bin/ukojak-verify-ImItNfHLgk/data/14885d6bd/348c4b82cec744a4b60362a57687e1e2/FLAG804164385 [2024-11-09 00:50:50,846 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_293f297b-68cf-4371-91e5-65901eb0310d/bin/ukojak-verify-ImItNfHLgk/data/14885d6bd/348c4b82cec744a4b60362a57687e1e2 [2024-11-09 00:50:50,849 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-09 00:50:50,851 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-09 00:50:50,855 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-09 00:50:50,856 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-09 00:50:50,862 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-09 00:50:50,862 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 09.11 12:50:50" (1/1) ... [2024-11-09 00:50:50,865 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@72a133b8 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:50:50, skipping insertion in model container [2024-11-09 00:50:50,865 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 09.11 12:50:50" (1/1) ... [2024-11-09 00:50:50,944 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-09 00:50:52,820 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-09 00:50:52,838 INFO L200 MainTranslator]: Completed pre-run [2024-11-09 00:50:53,062 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-09 00:50:53,492 INFO L204 MainTranslator]: Completed translation [2024-11-09 00:50:53,493 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:50:53 WrapperNode [2024-11-09 00:50:53,493 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-09 00:50:53,494 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-09 00:50:53,494 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-09 00:50:53,494 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-09 00:50:53,502 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:50:53" (1/1) ... [2024-11-09 00:50:53,535 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:50:53" (1/1) ... [2024-11-09 00:50:53,564 INFO L138 Inliner]: procedures = 942, calls = 25, calls flagged for inlining = 6, calls inlined = 6, statements flattened = 44 [2024-11-09 00:50:53,565 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-09 00:50:53,566 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-09 00:50:53,566 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-09 00:50:53,566 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-09 00:50:53,577 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:50:53" (1/1) ... [2024-11-09 00:50:53,577 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:50:53" (1/1) ... [2024-11-09 00:50:53,583 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:50:53" (1/1) ... [2024-11-09 00:50:53,584 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:50:53" (1/1) ... [2024-11-09 00:50:53,592 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:50:53" (1/1) ... [2024-11-09 00:50:53,594 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:50:53" (1/1) ... [2024-11-09 00:50:53,602 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:50:53" (1/1) ... [2024-11-09 00:50:53,603 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:50:53" (1/1) ... [2024-11-09 00:50:53,606 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-09 00:50:53,607 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-09 00:50:53,607 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-09 00:50:53,607 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-09 00:50:53,608 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 12:50:53" (1/1) ... [2024-11-09 00:50:53,620 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-09 00:50:53,642 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_293f297b-68cf-4371-91e5-65901eb0310d/bin/ukojak-verify-ImItNfHLgk/z3 [2024-11-09 00:50:53,665 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_293f297b-68cf-4371-91e5-65901eb0310d/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-09 00:50:53,694 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_293f297b-68cf-4371-91e5-65901eb0310d/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-09 00:50:53,764 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-09 00:50:53,769 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-09 00:50:53,770 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-09 00:50:53,770 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-09 00:50:53,770 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-09 00:50:54,048 INFO L238 CfgBuilder]: Building ICFG [2024-11-09 00:50:54,050 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-09 00:50:55,524 INFO L? ?]: Removed 27 outVars from TransFormulas that were not future-live. [2024-11-09 00:50:55,525 INFO L287 CfgBuilder]: Performing block encoding [2024-11-09 00:50:55,573 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-09 00:50:55,573 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-09 00:50:55,574 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 09.11 12:50:55 BoogieIcfgContainer [2024-11-09 00:50:55,574 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-09 00:50:55,575 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-09 00:50:55,575 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-09 00:50:55,587 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-09 00:50:55,588 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 09.11 12:50:55" (1/1) ... [2024-11-09 00:50:55,599 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-09 00:50:55,655 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 00:50:55,665 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 12 states and 12 transitions. [2024-11-09 00:50:55,666 INFO L276 IsEmpty]: Start isEmpty. Operand 12 states and 12 transitions. [2024-11-09 00:50:55,671 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 7 [2024-11-09 00:50:55,671 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 00:50:55,672 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-09 00:50:55,672 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_293f297b-68cf-4371-91e5-65901eb0310d/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-09 00:50:55,676 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_293f297b-68cf-4371-91e5-65901eb0310d/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-09 00:50:55,685 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_293f297b-68cf-4371-91e5-65901eb0310d/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-09 00:50:55,993 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 00:50:55,996 ERROR L567 CodeCheckObserver]: First Tracecheck threw exception Proofs are not supported [2024-11-09 00:50:56,070 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 00:50:56,077 INFO L255 TraceCheckSpWp]: Trace formula consists of 36 conjuncts, 6 conjuncts are in the unsatisfiable core [2024-11-09 00:50:56,082 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-09 00:50:56,161 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-09 00:50:56,167 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_293f297b-68cf-4371-91e5-65901eb0310d/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (2)] Forceful destruction successful, exit code 0 [2024-11-09 00:50:58,162 WARN L539 Checker$ProtectedHtc]: IncrementalHoareTripleChecker took 1.93s for a HTC check with result INVALID. Formula has sorts [Bool, BitVec], hasArrays=false, hasNonlinArith=false, quantifiers [] [2024-11-09 00:50:58,230 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-09 00:50:58,230 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 11 states to 11 states and 11 transitions. [2024-11-09 00:50:58,230 INFO L276 IsEmpty]: Start isEmpty. Operand 11 states and 11 transitions. [2024-11-09 00:50:58,231 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 8 [2024-11-09 00:50:58,231 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-09 00:50:58,231 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-09 00:50:58,231 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_293f297b-68cf-4371-91e5-65901eb0310d/bin/ukojak-verify-ImItNfHLgk/cvc4 [2024-11-09 00:50:58,238 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_293f297b-68cf-4371-91e5-65901eb0310d/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-09 00:50:58,239 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_293f297b-68cf-4371-91e5-65901eb0310d/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (3)] Waiting until timeout for monitored process [2024-11-09 00:50:58,441 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 00:50:58,441 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-09 00:50:58,560 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 00:50:58,640 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 00:50:58,640 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-09 00:50:58,687 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 00:50:58,717 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_293f297b-68cf-4371-91e5-65901eb0310d/bin/ukojak-verify-ImItNfHLgk/cvc4 --incremental --print-success --lang smt (3)] Forceful destruction successful, exit code 0 [2024-11-09 00:50:58,718 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 2 iterations. [2024-11-09 00:50:58,751 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 09.11 12:50:58 ImpRootNode [2024-11-09 00:50:58,751 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-09 00:50:58,752 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-09 00:50:58,752 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-09 00:50:58,753 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-09 00:50:58,753 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 09.11 12:50:55" (3/4) ... [2024-11-09 00:50:58,756 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-09 00:50:58,758 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-09 00:50:58,759 INFO L158 Benchmark]: Toolchain (without parser) took 7907.09ms. Allocated memory was 73.4MB in the beginning and 125.8MB in the end (delta: 52.4MB). Free memory was 44.4MB in the beginning and 61.3MB in the end (delta: -16.9MB). Peak memory consumption was 38.6MB. Max. memory is 16.1GB. [2024-11-09 00:50:58,761 INFO L158 Benchmark]: CDTParser took 0.33ms. Allocated memory is still 73.4MB. Free memory was 49.1MB in the beginning and 49.1MB in the end (delta: 35.9kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-09 00:50:58,761 INFO L158 Benchmark]: CACSL2BoogieTranslator took 2637.92ms. Allocated memory was 73.4MB in the beginning and 125.8MB in the end (delta: 52.4MB). Free memory was 44.1MB in the beginning and 53.6MB in the end (delta: -9.5MB). Peak memory consumption was 45.7MB. Max. memory is 16.1GB. [2024-11-09 00:50:58,762 INFO L158 Benchmark]: Boogie Procedure Inliner took 71.36ms. Allocated memory is still 125.8MB. Free memory was 53.6MB in the beginning and 49.4MB in the end (delta: 4.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2024-11-09 00:50:58,763 INFO L158 Benchmark]: Boogie Preprocessor took 39.99ms. Allocated memory is still 125.8MB. Free memory was 49.4MB in the beginning and 47.3MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-09 00:50:58,763 INFO L158 Benchmark]: RCFGBuilder took 1967.61ms. Allocated memory is still 125.8MB. Free memory was 47.3MB in the beginning and 87.5MB in the end (delta: -40.2MB). Peak memory consumption was 16.5MB. Max. memory is 16.1GB. [2024-11-09 00:50:58,764 INFO L158 Benchmark]: CodeCheck took 3176.65ms. Allocated memory is still 125.8MB. Free memory was 87.5MB in the beginning and 62.3MB in the end (delta: 25.2MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. [2024-11-09 00:50:58,764 INFO L158 Benchmark]: Witness Printer took 5.67ms. Allocated memory is still 125.8MB. Free memory was 62.3MB in the beginning and 61.3MB in the end (delta: 1.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-09 00:50:58,771 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: 3.1s, OverallIterations: 2, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 11 SdHoareTripleChecker+Valid, 2.0s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 0 mSDsluCounter, 5 SdHoareTripleChecker+Invalid, 2.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, 5 mSDtfsCounter, 6 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 38 GetRequests, 36 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.1s InterpolantComputationTime, 13 NumberOfCodeBlocks, 13 NumberOfCodeBlocksAsserted, 2 NumberOfCheckSat, 5 ConstructedInterpolants, 0 QuantifiedInterpolants, 7 SizeOfPredicates, 0 NumberOfNonLiveVariables, 36 ConjunctsInSsa, 6 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: 1835]: 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 1850. 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); [L1850] 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) [L1850] 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] [L1851] CALL CWE190_Integer_Overflow__int_max_square_44_bad() [L1841] int data; [L1842] void (*funcPtr) (int) = badSink; [L1843] data = 0 [L1844] data = 0x7fffffff [L1845] CALL funcPtr(data) [L1835] data * data VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.33ms. Allocated memory is still 73.4MB. Free memory was 49.1MB in the beginning and 49.1MB in the end (delta: 35.9kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 2637.92ms. Allocated memory was 73.4MB in the beginning and 125.8MB in the end (delta: 52.4MB). Free memory was 44.1MB in the beginning and 53.6MB in the end (delta: -9.5MB). Peak memory consumption was 45.7MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 71.36ms. Allocated memory is still 125.8MB. Free memory was 53.6MB in the beginning and 49.4MB in the end (delta: 4.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Boogie Preprocessor took 39.99ms. Allocated memory is still 125.8MB. Free memory was 49.4MB in the beginning and 47.3MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 1967.61ms. Allocated memory is still 125.8MB. Free memory was 47.3MB in the beginning and 87.5MB in the end (delta: -40.2MB). Peak memory consumption was 16.5MB. Max. memory is 16.1GB. * CodeCheck took 3176.65ms. Allocated memory is still 125.8MB. Free memory was 87.5MB in the beginning and 62.3MB in the end (delta: 25.2MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. * Witness Printer took 5.67ms. Allocated memory is still 125.8MB. Free memory was 62.3MB in the beginning and 61.3MB in the end (delta: 1.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-09 00:50:58,811 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_293f297b-68cf-4371-91e5-65901eb0310d/bin/ukojak-verify-ImItNfHLgk/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: UNKNOWN: Overapproximated counterexample