./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_predec_12_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_a7d1e506-03ea-490d-8d8f-bfae995c9b8b/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a7d1e506-03ea-490d-8d8f-bfae995c9b8b/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_a7d1e506-03ea-490d-8d8f-bfae995c9b8b/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a7d1e506-03ea-490d-8d8f-bfae995c9b8b/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_predec_12_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a7d1e506-03ea-490d-8d8f-bfae995c9b8b/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_a7d1e506-03ea-490d-8d8f-bfae995c9b8b/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 62b84c71859e7f655d4d7eb67ff1bb9bb50ba0464e0b92e69b1f09a5208efb76 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 20:34:21,867 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 20:34:21,939 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a7d1e506-03ea-490d-8d8f-bfae995c9b8b/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Default.epf [2024-11-13 20:34:21,944 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-13 20:34:21,944 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-13 20:34:21,972 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 20:34:21,972 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 20:34:21,977 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 20:34:21,977 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 20:34:21,977 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 20:34:21,978 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 20:34:21,978 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 20:34:21,978 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-13 20:34:21,978 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 20:34:21,978 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 20:34:21,978 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 20:34:21,978 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 20:34:21,978 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 20:34:21,978 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 20:34:21,979 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 20:34:21,979 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 20:34:21,979 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 20:34:21,979 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 20:34:21,979 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 20:34:21,979 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 20:34:21,979 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 20:34:21,979 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 20:34:21,980 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 20:34:21,980 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 20:34:21,980 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 20:34:21,980 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-13 20:34:21,980 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-13 20:34:21,980 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_a7d1e506-03ea-490d-8d8f-bfae995c9b8b/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 -> 62b84c71859e7f655d4d7eb67ff1bb9bb50ba0464e0b92e69b1f09a5208efb76 [2024-11-13 20:34:22,309 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 20:34:22,320 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 20:34:22,325 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 20:34:22,326 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 20:34:22,327 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 20:34:22,328 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a7d1e506-03ea-490d-8d8f-bfae995c9b8b/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_predec_12_bad.i Unable to find full path for "g++" [2024-11-13 20:34:24,287 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 20:34:24,785 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 20:34:24,786 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a7d1e506-03ea-490d-8d8f-bfae995c9b8b/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_predec_12_bad.i [2024-11-13 20:34:24,822 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a7d1e506-03ea-490d-8d8f-bfae995c9b8b/bin/ukojak-verify-EEHR8qb7sm/data/5e6beb5c5/bbc0ab4d8fee4cf392b6cdbaf1129d0c/FLAG95311af1d [2024-11-13 20:34:24,844 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a7d1e506-03ea-490d-8d8f-bfae995c9b8b/bin/ukojak-verify-EEHR8qb7sm/data/5e6beb5c5/bbc0ab4d8fee4cf392b6cdbaf1129d0c [2024-11-13 20:34:24,849 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 20:34:24,852 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 20:34:24,854 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 20:34:24,855 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 20:34:24,859 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 20:34:24,860 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 08:34:24" (1/1) ... [2024-11-13 20:34:24,861 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4e7ff323 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:34:24, skipping insertion in model container [2024-11-13 20:34:24,863 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 08:34:24" (1/1) ... [2024-11-13 20:34:24,932 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 20:34:26,083 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 20:34:26,095 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 20:34:26,202 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 20:34:26,366 INFO L204 MainTranslator]: Completed translation [2024-11-13 20:34:26,367 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:34:26 WrapperNode [2024-11-13 20:34:26,367 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 20:34:26,368 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 20:34:26,368 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 20:34:26,369 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 20:34:26,377 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:34:26" (1/1) ... [2024-11-13 20:34:26,409 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:34:26" (1/1) ... [2024-11-13 20:34:26,438 INFO L138 Inliner]: procedures = 497, calls = 28, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 66 [2024-11-13 20:34:26,439 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 20:34:26,440 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 20:34:26,440 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 20:34:26,440 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 20:34:26,450 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:34:26" (1/1) ... [2024-11-13 20:34:26,450 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:34:26" (1/1) ... [2024-11-13 20:34:26,454 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:34:26" (1/1) ... [2024-11-13 20:34:26,454 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:34:26" (1/1) ... [2024-11-13 20:34:26,461 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:34:26" (1/1) ... [2024-11-13 20:34:26,463 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:34:26" (1/1) ... [2024-11-13 20:34:26,465 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:34:26" (1/1) ... [2024-11-13 20:34:26,466 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:34:26" (1/1) ... [2024-11-13 20:34:26,469 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 20:34:26,470 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 20:34:26,470 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 20:34:26,471 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 20:34:26,472 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:34:26" (1/1) ... [2024-11-13 20:34:26,479 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 20:34:26,497 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a7d1e506-03ea-490d-8d8f-bfae995c9b8b/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 20:34:26,526 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a7d1e506-03ea-490d-8d8f-bfae995c9b8b/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:34:26,531 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a7d1e506-03ea-490d-8d8f-bfae995c9b8b/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:34:26,569 INFO L130 BoogieDeclarations]: Found specification of procedure printIntLine [2024-11-13 20:34:26,569 INFO L138 BoogieDeclarations]: Found implementation of procedure printIntLine [2024-11-13 20:34:26,570 INFO L130 BoogieDeclarations]: Found specification of procedure globalReturnsTrueOrFalse [2024-11-13 20:34:26,570 INFO L138 BoogieDeclarations]: Found implementation of procedure globalReturnsTrueOrFalse [2024-11-13 20:34:26,570 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-13 20:34:26,570 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-13 20:34:26,570 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 20:34:26,570 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 20:34:26,571 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 20:34:26,825 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 20:34:26,827 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 20:34:27,059 INFO L? ?]: Removed 22 outVars from TransFormulas that were not future-live. [2024-11-13 20:34:27,059 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 20:34:27,149 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 20:34:27,149 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-13 20:34:27,150 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 08:34:27 BoogieIcfgContainer [2024-11-13 20:34:27,150 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 20:34:27,151 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 20:34:27,151 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 20:34:27,165 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 20:34:27,165 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 08:34:27" (1/1) ... [2024-11-13 20:34:27,178 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 20:34:27,236 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 20:34:27,250 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 38 states to 33 states and 38 transitions. [2024-11-13 20:34:27,254 INFO L276 IsEmpty]: Start isEmpty. Operand 33 states and 38 transitions. [2024-11-13 20:34:27,259 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 16 [2024-11-13 20:34:27,259 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 20:34:27,260 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 20:34:27,433 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:34:27,434 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 20:34:27,495 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:34:27,591 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:34:27,592 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 20:34:27,617 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:34:27,667 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 1 iterations. [2024-11-13 20:34:27,709 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 08:34:27 ImpRootNode [2024-11-13 20:34:27,709 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 20:34:27,710 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 20:34:27,710 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 20:34:27,710 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 20:34:27,711 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 08:34:27" (3/4) ... [2024-11-13 20:34:27,721 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 20:34:27,722 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 20:34:27,724 INFO L158 Benchmark]: Toolchain (without parser) took 2872.86ms. Allocated memory is still 142.6MB. Free memory was 115.7MB in the beginning and 88.0MB in the end (delta: 27.7MB). Peak memory consumption was 30.4MB. Max. memory is 16.1GB. [2024-11-13 20:34:27,724 INFO L158 Benchmark]: CDTParser took 0.35ms. Allocated memory is still 167.8MB. Free memory is still 105.3MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:34:27,725 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1513.90ms. Allocated memory is still 142.6MB. Free memory was 115.4MB in the beginning and 55.0MB in the end (delta: 60.4MB). Peak memory consumption was 58.7MB. Max. memory is 16.1GB. [2024-11-13 20:34:27,726 INFO L158 Benchmark]: Boogie Procedure Inliner took 71.03ms. Allocated memory is still 142.6MB. Free memory was 55.0MB in the beginning and 52.4MB in the end (delta: 2.6MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-13 20:34:27,726 INFO L158 Benchmark]: Boogie Preprocessor took 29.53ms. Allocated memory is still 142.6MB. Free memory was 52.4MB in the beginning and 51.3MB in the end (delta: 1.1MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:34:27,727 INFO L158 Benchmark]: RCFGBuilder took 679.69ms. Allocated memory is still 142.6MB. Free memory was 51.3MB in the beginning and 104.9MB in the end (delta: -53.6MB). Peak memory consumption was 13.6MB. Max. memory is 16.1GB. [2024-11-13 20:34:27,727 INFO L158 Benchmark]: CodeCheck took 558.42ms. Allocated memory is still 142.6MB. Free memory was 104.9MB in the beginning and 88.0MB in the end (delta: 16.9MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-13 20:34:27,728 INFO L158 Benchmark]: Witness Printer took 12.77ms. Allocated memory is still 142.6MB. Free memory is still 88.0MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:34:27,731 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 4 procedures, 33 locations, 4 error locations. Started 1 CEGAR loops. OverallTime: 0.5s, OverallIterations: 1, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: , PredicateUnifierStatistics: 0 DeclaredPredicates, 0 GetRequests, 0 SyntacticMatches, 0 SemanticMatches, 0 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.0s InterpolantComputationTime, 15 NumberOfCodeBlocks, 15 NumberOfCodeBlocksAsserted, 1 NumberOfCheckSat, 0 ConstructedInterpolants, 0 QuantifiedInterpolants, 0 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 0 InterpolantComputations, 0 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: 1563]: 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 1585. 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); [L1585] CALL printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(line)={2:0}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1414] COND TRUE line != ((void *)0) [L1585] 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] [L1586] CALL CWE191_Integer_Underflow__int_fscanf_predec_12_bad() [L1550] int data; [L1551] data = 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1552] CALL globalReturnsTrueOrFalse() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1520] return (rand() % 2); [L1552] RET globalReturnsTrueOrFalse() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1552] COND TRUE globalReturnsTrueOrFalse() [L1560] CALL globalReturnsTrueOrFalse() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1520] return (rand() % 2); [L1560] RET globalReturnsTrueOrFalse() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-2147483648, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1560] COND TRUE globalReturnsTrueOrFalse() [L1563] --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.35ms. Allocated memory is still 167.8MB. Free memory is still 105.3MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1513.90ms. Allocated memory is still 142.6MB. Free memory was 115.4MB in the beginning and 55.0MB in the end (delta: 60.4MB). Peak memory consumption was 58.7MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 71.03ms. Allocated memory is still 142.6MB. Free memory was 55.0MB in the beginning and 52.4MB in the end (delta: 2.6MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Preprocessor took 29.53ms. Allocated memory is still 142.6MB. Free memory was 52.4MB in the beginning and 51.3MB in the end (delta: 1.1MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 679.69ms. Allocated memory is still 142.6MB. Free memory was 51.3MB in the beginning and 104.9MB in the end (delta: -53.6MB). Peak memory consumption was 13.6MB. Max. memory is 16.1GB. * CodeCheck took 558.42ms. Allocated memory is still 142.6MB. Free memory was 104.9MB in the beginning and 88.0MB in the end (delta: 16.9MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * Witness Printer took 12.77ms. Allocated memory is still 142.6MB. Free memory is still 88.0MB. 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:34:27,766 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a7d1e506-03ea-490d-8d8f-bfae995c9b8b/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_a7d1e506-03ea-490d-8d8f-bfae995c9b8b/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a7d1e506-03ea-490d-8d8f-bfae995c9b8b/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_a7d1e506-03ea-490d-8d8f-bfae995c9b8b/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a7d1e506-03ea-490d-8d8f-bfae995c9b8b/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_predec_12_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a7d1e506-03ea-490d-8d8f-bfae995c9b8b/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_a7d1e506-03ea-490d-8d8f-bfae995c9b8b/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 62b84c71859e7f655d4d7eb67ff1bb9bb50ba0464e0b92e69b1f09a5208efb76 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 20:34:30,506 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 20:34:30,611 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a7d1e506-03ea-490d-8d8f-bfae995c9b8b/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2024-11-13 20:34:30,668 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 20:34:30,670 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 20:34:30,672 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 20:34:30,673 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 20:34:30,673 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 20:34:30,674 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 20:34:30,674 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 20:34:30,675 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 20:34:30,683 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 20:34:30,683 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 20:34:30,683 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 20:34:30,683 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-13 20:34:30,683 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-13 20:34:30,683 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 20:34:30,684 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 20:34:30,684 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-13 20:34:30,684 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 20:34:30,685 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 20:34:30,685 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 20:34:30,685 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 20:34:30,685 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 20:34:30,685 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 20:34:30,685 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 20:34:30,685 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2024-11-13 20:34:30,685 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 20:34:30,686 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 20:34:30,686 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 20:34:30,686 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 20:34:30,686 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 20:34:30,686 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-13 20:34:30,686 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-13 20:34:30,686 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2024-11-13 20:34:30,686 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_a7d1e506-03ea-490d-8d8f-bfae995c9b8b/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 -> 62b84c71859e7f655d4d7eb67ff1bb9bb50ba0464e0b92e69b1f09a5208efb76 [2024-11-13 20:34:31,054 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 20:34:31,063 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 20:34:31,065 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 20:34:31,067 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 20:34:31,067 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 20:34:31,069 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a7d1e506-03ea-490d-8d8f-bfae995c9b8b/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_predec_12_bad.i Unable to find full path for "g++" [2024-11-13 20:34:33,165 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 20:34:33,651 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 20:34:33,652 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a7d1e506-03ea-490d-8d8f-bfae995c9b8b/sv-benchmarks/c/Juliet_Test/CWE191_Integer_Underflow__int_fscanf_predec_12_bad.i [2024-11-13 20:34:33,689 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a7d1e506-03ea-490d-8d8f-bfae995c9b8b/bin/ukojak-verify-EEHR8qb7sm/data/b7d5a97fd/4d812dfb272449d497a424d45d3f9945/FLAG89a04dccf [2024-11-13 20:34:33,713 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a7d1e506-03ea-490d-8d8f-bfae995c9b8b/bin/ukojak-verify-EEHR8qb7sm/data/b7d5a97fd/4d812dfb272449d497a424d45d3f9945 [2024-11-13 20:34:33,716 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 20:34:33,717 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 20:34:33,719 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 20:34:33,719 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 20:34:33,726 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 20:34:33,726 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 08:34:33" (1/1) ... [2024-11-13 20:34:33,729 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@5e5564a2 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:34:33, skipping insertion in model container [2024-11-13 20:34:33,729 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 08:34:33" (1/1) ... [2024-11-13 20:34:33,789 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 20:34:34,741 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 20:34:34,754 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 20:34:34,858 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 20:34:35,030 INFO L204 MainTranslator]: Completed translation [2024-11-13 20:34:35,031 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:34:35 WrapperNode [2024-11-13 20:34:35,031 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 20:34:35,032 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 20:34:35,032 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 20:34:35,033 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 20:34:35,044 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:34:35" (1/1) ... [2024-11-13 20:34:35,083 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:34:35" (1/1) ... [2024-11-13 20:34:35,110 INFO L138 Inliner]: procedures = 502, calls = 28, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 63 [2024-11-13 20:34:35,113 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 20:34:35,114 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 20:34:35,115 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 20:34:35,115 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 20:34:35,122 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:34:35" (1/1) ... [2024-11-13 20:34:35,123 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:34:35" (1/1) ... [2024-11-13 20:34:35,126 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:34:35" (1/1) ... [2024-11-13 20:34:35,126 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:34:35" (1/1) ... [2024-11-13 20:34:35,134 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:34:35" (1/1) ... [2024-11-13 20:34:35,136 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:34:35" (1/1) ... [2024-11-13 20:34:35,139 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:34:35" (1/1) ... [2024-11-13 20:34:35,140 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:34:35" (1/1) ... [2024-11-13 20:34:35,143 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 20:34:35,144 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 20:34:35,144 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 20:34:35,144 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 20:34:35,145 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:34:35" (1/1) ... [2024-11-13 20:34:35,151 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 20:34:35,170 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a7d1e506-03ea-490d-8d8f-bfae995c9b8b/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 20:34:35,180 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a7d1e506-03ea-490d-8d8f-bfae995c9b8b/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:34:35,182 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a7d1e506-03ea-490d-8d8f-bfae995c9b8b/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:34:35,208 INFO L130 BoogieDeclarations]: Found specification of procedure printIntLine [2024-11-13 20:34:35,208 INFO L138 BoogieDeclarations]: Found implementation of procedure printIntLine [2024-11-13 20:34:35,208 INFO L130 BoogieDeclarations]: Found specification of procedure globalReturnsTrueOrFalse [2024-11-13 20:34:35,208 INFO L138 BoogieDeclarations]: Found implementation of procedure globalReturnsTrueOrFalse [2024-11-13 20:34:35,208 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2024-11-13 20:34:35,208 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2024-11-13 20:34:35,208 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 20:34:35,208 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 20:34:35,208 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 20:34:35,386 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 20:34:35,389 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 20:34:35,611 INFO L? ?]: Removed 20 outVars from TransFormulas that were not future-live. [2024-11-13 20:34:35,611 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 20:34:35,680 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 20:34:35,680 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-13 20:34:35,681 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 08:34:35 BoogieIcfgContainer [2024-11-13 20:34:35,681 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 20:34:35,682 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 20:34:35,682 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 20:34:35,693 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 20:34:35,693 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 08:34:35" (1/1) ... [2024-11-13 20:34:35,700 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 20:34:35,750 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 20:34:35,758 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 37 states to 32 states and 37 transitions. [2024-11-13 20:34:35,758 INFO L276 IsEmpty]: Start isEmpty. Operand 32 states and 37 transitions. [2024-11-13 20:34:35,763 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2024-11-13 20:34:35,763 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 20:34:35,764 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2024-11-13 20:34:35,764 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a7d1e506-03ea-490d-8d8f-bfae995c9b8b/bin/ukojak-verify-EEHR8qb7sm/cvc4 [2024-11-13 20:34:35,768 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a7d1e506-03ea-490d-8d8f-bfae995c9b8b/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2024-11-13 20:34:35,769 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a7d1e506-03ea-490d-8d8f-bfae995c9b8b/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2024-11-13 20:34:35,982 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:34:35,982 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 20:34:36,112 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:34:36,208 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:34:36,208 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 20:34:36,234 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:34:36,265 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a7d1e506-03ea-490d-8d8f-bfae995c9b8b/bin/ukojak-verify-EEHR8qb7sm/cvc4 --incremental --print-success --lang smt (2)] Ended with exit code 0 [2024-11-13 20:34:36,266 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 1 iterations. [2024-11-13 20:34:36,308 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 08:34:36 ImpRootNode [2024-11-13 20:34:36,308 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 20:34:36,310 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 20:34:36,311 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 20:34:36,311 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 20:34:36,312 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 08:34:35" (3/4) ... [2024-11-13 20:34:36,315 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-13 20:34:36,316 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 20:34:36,319 INFO L158 Benchmark]: Toolchain (without parser) took 2600.06ms. Allocated memory is still 117.4MB. Free memory was 89.7MB in the beginning and 80.5MB in the end (delta: 9.3MB). Peak memory consumption was 8.2MB. Max. memory is 16.1GB. [2024-11-13 20:34:36,320 INFO L158 Benchmark]: CDTParser took 0.33ms. Allocated memory is still 117.4MB. Free memory is still 84.0MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:34:36,320 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1312.83ms. Allocated memory is still 117.4MB. Free memory was 89.7MB in the beginning and 68.0MB in the end (delta: 21.7MB). Peak memory consumption was 58.6MB. Max. memory is 16.1GB. [2024-11-13 20:34:36,320 INFO L158 Benchmark]: Boogie Procedure Inliner took 81.83ms. Allocated memory is still 117.4MB. Free memory was 68.0MB in the beginning and 65.0MB in the end (delta: 3.0MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:34:36,321 INFO L158 Benchmark]: Boogie Preprocessor took 28.68ms. Allocated memory is still 117.4MB. Free memory was 65.0MB in the beginning and 63.5MB in the end (delta: 1.5MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:34:36,321 INFO L158 Benchmark]: RCFGBuilder took 537.41ms. Allocated memory is still 117.4MB. Free memory was 63.5MB in the beginning and 46.3MB in the end (delta: 17.2MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-13 20:34:36,321 INFO L158 Benchmark]: CodeCheck took 626.96ms. Allocated memory is still 117.4MB. Free memory was 45.9MB in the beginning and 80.5MB in the end (delta: -34.6MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:34:36,322 INFO L158 Benchmark]: Witness Printer took 6.04ms. Allocated memory is still 117.4MB. Free memory was 80.5MB in the beginning and 80.5MB in the end (delta: 42.6kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:34:36,328 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 4 procedures, 32 locations, 4 error locations. Started 1 CEGAR loops. OverallTime: 0.6s, OverallIterations: 1, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: , PredicateUnifierStatistics: 0 DeclaredPredicates, 0 GetRequests, 0 SyntacticMatches, 0 SemanticMatches, 0 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.0s InterpolantComputationTime, 14 NumberOfCodeBlocks, 14 NumberOfCodeBlocksAsserted, 1 NumberOfCheckSat, 0 ConstructedInterpolants, 0 QuantifiedInterpolants, 0 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 0 InterpolantComputations, 0 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: 1563]: 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 1585. 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); [L1585] CALL printLine("Calling bad()...") VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, \old(line)={2:0}, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1414] COND TRUE line != ((void *)0) [L1585] 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] [L1586] CALL CWE191_Integer_Underflow__int_fscanf_predec_12_bad() [L1550] int data; [L1551] data = 0 VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1552] CALL globalReturnsTrueOrFalse() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1520] return (rand() % 2); [L1552] RET globalReturnsTrueOrFalse() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1552] COND TRUE globalReturnsTrueOrFalse() [L1560] CALL globalReturnsTrueOrFalse() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1520] return (rand() % 2); [L1560] RET globalReturnsTrueOrFalse() VAL [GLOBAL_CONST_FALSE=0, GLOBAL_CONST_FIVE=5, GLOBAL_CONST_TRUE=1, data=-2147483648, globalArgc=0, globalArgv={0:0}, globalFalse=0, globalFive=5, globalTrue=1] [L1560] COND TRUE globalReturnsTrueOrFalse() [L1563] --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 117.4MB. Free memory is still 84.0MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1312.83ms. Allocated memory is still 117.4MB. Free memory was 89.7MB in the beginning and 68.0MB in the end (delta: 21.7MB). Peak memory consumption was 58.6MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 81.83ms. Allocated memory is still 117.4MB. Free memory was 68.0MB in the beginning and 65.0MB in the end (delta: 3.0MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 28.68ms. Allocated memory is still 117.4MB. Free memory was 65.0MB in the beginning and 63.5MB in the end (delta: 1.5MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 537.41ms. Allocated memory is still 117.4MB. Free memory was 63.5MB in the beginning and 46.3MB in the end (delta: 17.2MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 626.96ms. Allocated memory is still 117.4MB. Free memory was 45.9MB in the beginning and 80.5MB in the end (delta: -34.6MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 6.04ms. Allocated memory is still 117.4MB. Free memory was 80.5MB in the beginning and 80.5MB in the end (delta: 42.6kB). 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:34:36,364 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a7d1e506-03ea-490d-8d8f-bfae995c9b8b/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