./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_square_44_bad.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for overflows Using default analysis Version cf1a7837 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_96877508-0124-4183-acb0-7acb7c905bb0/bin/ukojak-verify-0OAaufAVZV/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_96877508-0124-4183-acb0-7acb7c905bb0/bin/ukojak-verify-0OAaufAVZV/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_96877508-0124-4183-acb0-7acb7c905bb0/bin/ukojak-verify-0OAaufAVZV/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_96877508-0124-4183-acb0-7acb7c905bb0/bin/ukojak-verify-0OAaufAVZV/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_square_44_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_96877508-0124-4183-acb0-7acb7c905bb0/bin/ukojak-verify-0OAaufAVZV/config/svcomp-Overflow-64bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_96877508-0124-4183-acb0-7acb7c905bb0/bin/ukojak-verify-0OAaufAVZV --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 3fc10838748dc3e62cae4b1741157f52b48b48e98955275eb5a68564e792252f --- Real Ultimate output --- This is Ultimate 0.2.3-dev-cf1a783 [2023-11-11 23:50:38,740 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-11 23:50:38,864 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_96877508-0124-4183-acb0-7acb7c905bb0/bin/ukojak-verify-0OAaufAVZV/config/svcomp-Overflow-64bit-Kojak_Default.epf [2023-11-11 23:50:38,872 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-11 23:50:38,873 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2023-11-11 23:50:38,907 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-11 23:50:38,908 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-11 23:50:38,909 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2023-11-11 23:50:38,910 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-11 23:50:38,917 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-11 23:50:38,918 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-11 23:50:38,918 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-11 23:50:38,919 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-11 23:50:38,921 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-11 23:50:38,921 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-11 23:50:38,922 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-11 23:50:38,922 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-11 23:50:38,922 INFO L153 SettingsManager]: * Check absence of signed integer overflows=true [2023-11-11 23:50:38,923 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-11 23:50:38,923 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-11 23:50:38,924 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-11 23:50:38,924 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-11-11 23:50:38,925 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-11-11 23:50:38,927 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-11 23:50:38,928 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-11 23:50:38,928 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-11 23:50:38,929 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-11 23:50:38,929 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-11 23:50:38,930 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2023-11-11 23:50:38,930 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-11 23:50:38,931 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-11 23:50:38,932 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_96877508-0124-4183-acb0-7acb7c905bb0/bin/ukojak-verify-0OAaufAVZV/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_96877508-0124-4183-acb0-7acb7c905bb0/bin/ukojak-verify-0OAaufAVZV 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 -> 3fc10838748dc3e62cae4b1741157f52b48b48e98955275eb5a68564e792252f [2023-11-11 23:50:39,269 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-11 23:50:39,304 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-11 23:50:39,307 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-11 23:50:39,309 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-11 23:50:39,309 INFO L274 PluginConnector]: CDTParser initialized [2023-11-11 23:50:39,311 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_96877508-0124-4183-acb0-7acb7c905bb0/bin/ukojak-verify-0OAaufAVZV/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_square_44_bad.i [2023-11-11 23:50:42,479 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-11 23:50:42,963 INFO L384 CDTParser]: Found 1 translation units. [2023-11-11 23:50:42,964 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_96877508-0124-4183-acb0-7acb7c905bb0/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_square_44_bad.i [2023-11-11 23:50:43,004 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_96877508-0124-4183-acb0-7acb7c905bb0/bin/ukojak-verify-0OAaufAVZV/data/054e22fd7/bfe8fc00c8b6419d868c59e528447fe2/FLAG85d960baf [2023-11-11 23:50:43,027 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_96877508-0124-4183-acb0-7acb7c905bb0/bin/ukojak-verify-0OAaufAVZV/data/054e22fd7/bfe8fc00c8b6419d868c59e528447fe2 [2023-11-11 23:50:43,033 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-11 23:50:43,035 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-11 23:50:43,037 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-11 23:50:43,037 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-11 23:50:43,043 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-11 23:50:43,045 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 11.11 11:50:43" (1/1) ... [2023-11-11 23:50:43,047 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@88d689f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.11 11:50:43, skipping insertion in model container [2023-11-11 23:50:43,047 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 11.11 11:50:43" (1/1) ... [2023-11-11 23:50:43,143 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-11 23:50:43,689 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-11 23:50:45,329 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-11 23:50:45,344 INFO L202 MainTranslator]: Completed pre-run [2023-11-11 23:50:45,369 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-11 23:50:45,508 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-11 23:50:45,978 WARN L672 CHandler]: The function puts is called, but not defined or handled by StandardFunctionHandler. [2023-11-11 23:50:45,978 WARN L672 CHandler]: The function __ctype_b_loc is called, but not defined or handled by StandardFunctionHandler. [2023-11-11 23:50:45,979 WARN L672 CHandler]: The function iswxdigit is called, but not defined or handled by StandardFunctionHandler. [2023-11-11 23:50:45,979 WARN L672 CHandler]: The function funcPtr is called, but not defined or handled by StandardFunctionHandler. [2023-11-11 23:50:45,979 WARN L672 CHandler]: The function __builtin_bswap16 is called, but not defined or handled by StandardFunctionHandler. [2023-11-11 23:50:45,979 WARN L672 CHandler]: The function time is called, but not defined or handled by StandardFunctionHandler. [2023-11-11 23:50:45,979 WARN L672 CHandler]: The function fgets is called, but not defined or handled by StandardFunctionHandler. [2023-11-11 23:50:45,988 INFO L206 MainTranslator]: Completed translation [2023-11-11 23:50:45,989 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.11 11:50:45 WrapperNode [2023-11-11 23:50:45,989 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-11 23:50:45,990 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-11 23:50:45,990 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-11 23:50:45,991 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-11 23:50:45,999 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.11 11:50:45" (1/1) ... [2023-11-11 23:50:46,055 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.11 11:50:45" (1/1) ... [2023-11-11 23:50:46,099 INFO L138 Inliner]: procedures = 940, calls = 66, calls flagged for inlining = 6, calls inlined = 6, statements flattened = 58 [2023-11-11 23:50:46,099 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-11 23:50:46,100 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-11 23:50:46,100 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-11 23:50:46,100 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-11 23:50:46,109 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.11 11:50:45" (1/1) ... [2023-11-11 23:50:46,109 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.11 11:50:45" (1/1) ... [2023-11-11 23:50:46,113 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.11 11:50:45" (1/1) ... [2023-11-11 23:50:46,113 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.11 11:50:45" (1/1) ... [2023-11-11 23:50:46,121 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.11 11:50:45" (1/1) ... [2023-11-11 23:50:46,123 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.11 11:50:45" (1/1) ... [2023-11-11 23:50:46,125 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.11 11:50:45" (1/1) ... [2023-11-11 23:50:46,127 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.11 11:50:45" (1/1) ... [2023-11-11 23:50:46,130 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-11 23:50:46,131 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-11 23:50:46,132 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-11 23:50:46,132 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-11 23:50:46,133 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.11 11:50:45" (1/1) ... [2023-11-11 23:50:46,139 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-11 23:50:46,156 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_96877508-0124-4183-acb0-7acb7c905bb0/bin/ukojak-verify-0OAaufAVZV/z3 [2023-11-11 23:50:46,185 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_96877508-0124-4183-acb0-7acb7c905bb0/bin/ukojak-verify-0OAaufAVZV/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2023-11-11 23:50:46,267 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_96877508-0124-4183-acb0-7acb7c905bb0/bin/ukojak-verify-0OAaufAVZV/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2023-11-11 23:50:46,282 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-11 23:50:46,282 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-11 23:50:46,282 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-11 23:50:46,282 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-11 23:50:46,283 INFO L130 BoogieDeclarations]: Found specification of procedure time [2023-11-11 23:50:46,283 INFO L130 BoogieDeclarations]: Found specification of procedure fgets [2023-11-11 23:50:46,283 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2023-11-11 23:50:46,284 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2023-11-11 23:50:46,284 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-11 23:50:46,284 INFO L130 BoogieDeclarations]: Found specification of procedure write~unchecked~int [2023-11-11 23:50:46,284 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-11-11 23:50:46,524 INFO L236 CfgBuilder]: Building ICFG [2023-11-11 23:50:46,526 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-11 23:50:46,663 INFO L277 CfgBuilder]: Performing block encoding [2023-11-11 23:50:46,700 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-11 23:50:46,701 INFO L302 CfgBuilder]: Removed 0 assume(true) statements. [2023-11-11 23:50:46,703 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 11.11 11:50:46 BoogieIcfgContainer [2023-11-11 23:50:46,704 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-11 23:50:46,704 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2023-11-11 23:50:46,705 INFO L270 PluginConnector]: Initializing CodeCheck... [2023-11-11 23:50:46,715 INFO L274 PluginConnector]: CodeCheck initialized [2023-11-11 23:50:46,715 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 11.11 11:50:46" (1/1) ... [2023-11-11 23:50:46,724 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-11 23:50:46,773 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-11 23:50:46,781 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 17 states to 15 states and 17 transitions. [2023-11-11 23:50:46,782 INFO L276 IsEmpty]: Start isEmpty. Operand 15 states and 17 transitions. [2023-11-11 23:50:46,787 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2023-11-11 23:50:46,787 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-11 23:50:46,788 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-11 23:50:46,829 FATAL L? ?]: An unrecoverable error occured during an interaction with an SMT solver: de.uni_freiburg.informatik.ultimate.logic.SMTLIBException: Sort Real not declared at de.uni_freiburg.informatik.ultimate.logic.NoopScript.sort(NoopScript.java:385) at de.uni_freiburg.informatik.ultimate.logic.WrapperScript.sort(WrapperScript.java:228) at de.uni_freiburg.informatik.ultimate.logic.WrapperScript.sort(WrapperScript.java:228) at de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.smt.scripttransfer.NonDeclaringTermTransferrer.transferSort(NonDeclaringTermTransferrer.java:111) at de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.smt.scripttransfer.DeclarableSortSymbol.defineOrDeclare(DeclarableSortSymbol.java:79) at de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.smt.scripttransfer.HistoryRecordingScript.transferHistoryFromRecord(HistoryRecordingScript.java:171) at de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.smt.scripttransfer.HistoryRecordingScript.transferHistoryFromRecord(HistoryRecordingScript.java:196) at de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.cfg.SmtFunctionsAndAxioms.transferAllSymbols(SmtFunctionsAndAxioms.java:156) at de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.cfg.CfgSmtToolkit.createFreshManagedScript(CfgSmtToolkit.java:106) at de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.CodeCheckObserver.process(CodeCheckObserver.java:440) at de.uni_freiburg.informatik.ultimate.core.coreplugin.modelwalker.CFGWalker.runObserver(CFGWalker.java:57) at de.uni_freiburg.informatik.ultimate.core.coreplugin.modelwalker.BaseWalker.runObserver(BaseWalker.java:93) at de.uni_freiburg.informatik.ultimate.core.coreplugin.modelwalker.BaseWalker.run(BaseWalker.java:86) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runObserver(PluginConnector.java:166) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runTool(PluginConnector.java:150) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.run(PluginConnector.java:127) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.executePluginConnector(ToolchainWalker.java:233) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.processPlugin(ToolchainWalker.java:227) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walkUnprotected(ToolchainWalker.java:144) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walk(ToolchainWalker.java:106) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainManager$Toolchain.processToolchain(ToolchainManager.java:319) at de.uni_freiburg.informatik.ultimate.core.coreplugin.toolchain.DefaultToolchainJob.run(DefaultToolchainJob.java:145) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63) [2023-11-11 23:50:46,833 INFO L158 Benchmark]: Toolchain (without parser) took 3796.82ms. Allocated memory was 172.0MB in the beginning and 245.4MB in the end (delta: 73.4MB). Free memory was 119.8MB in the beginning and 187.6MB in the end (delta: -67.8MB). Peak memory consumption was 8.0MB. Max. memory is 16.1GB. [2023-11-11 23:50:46,834 INFO L158 Benchmark]: CDTParser took 0.37ms. Allocated memory is still 172.0MB. Free memory is still 143.5MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-11 23:50:46,835 INFO L158 Benchmark]: CACSL2BoogieTranslator took 2952.57ms. Allocated memory was 172.0MB in the beginning and 245.4MB in the end (delta: 73.4MB). Free memory was 119.6MB in the beginning and 119.4MB in the end (delta: 235.6kB). Peak memory consumption was 84.7MB. Max. memory is 16.1GB. [2023-11-11 23:50:46,835 INFO L158 Benchmark]: Boogie Procedure Inliner took 109.38ms. Allocated memory is still 245.4MB. Free memory was 119.4MB in the beginning and 116.2MB in the end (delta: 3.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-11 23:50:46,836 INFO L158 Benchmark]: Boogie Preprocessor took 30.45ms. Allocated memory is still 245.4MB. Free memory was 116.2MB in the beginning and 114.1MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-11 23:50:46,837 INFO L158 Benchmark]: RCFGBuilder took 572.40ms. Allocated memory is still 245.4MB. Free memory was 114.1MB in the beginning and 193.9MB in the end (delta: -79.8MB). Peak memory consumption was 5.1MB. Max. memory is 16.1GB. [2023-11-11 23:50:46,838 INFO L158 Benchmark]: CodeCheck took 126.98ms. Allocated memory is still 245.4MB. Free memory was 193.9MB in the beginning and 187.6MB in the end (delta: 6.3MB). Peak memory consumption was 6.3MB. Max. memory is 16.1GB. [2023-11-11 23:50:46,841 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck: - ExceptionOrErrorResult: SMTLIBException: Sort Real not declared de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck: SMTLIBException: Sort Real not declared: de.uni_freiburg.informatik.ultimate.logic.NoopScript.sort(NoopScript.java:385) * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.37ms. Allocated memory is still 172.0MB. Free memory is still 143.5MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 2952.57ms. Allocated memory was 172.0MB in the beginning and 245.4MB in the end (delta: 73.4MB). Free memory was 119.6MB in the beginning and 119.4MB in the end (delta: 235.6kB). Peak memory consumption was 84.7MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 109.38ms. Allocated memory is still 245.4MB. Free memory was 119.4MB in the beginning and 116.2MB in the end (delta: 3.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 30.45ms. Allocated memory is still 245.4MB. Free memory was 116.2MB in the beginning and 114.1MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 572.40ms. Allocated memory is still 245.4MB. Free memory was 114.1MB in the beginning and 193.9MB in the end (delta: -79.8MB). Peak memory consumption was 5.1MB. Max. memory is 16.1GB. * CodeCheck took 126.98ms. Allocated memory is still 245.4MB. Free memory was 193.9MB in the beginning and 187.6MB in the end (delta: 6.3MB). Peak memory consumption was 6.3MB. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: Toolchain returned no result. [2023-11-11 23:50:46,867 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_96877508-0124-4183-acb0-7acb7c905bb0/bin/ukojak-verify-0OAaufAVZV/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 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_96877508-0124-4183-acb0-7acb7c905bb0/bin/ukojak-verify-0OAaufAVZV/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_96877508-0124-4183-acb0-7acb7c905bb0/bin/ukojak-verify-0OAaufAVZV/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_96877508-0124-4183-acb0-7acb7c905bb0/bin/ukojak-verify-0OAaufAVZV/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_96877508-0124-4183-acb0-7acb7c905bb0/bin/ukojak-verify-0OAaufAVZV/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_square_44_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_96877508-0124-4183-acb0-7acb7c905bb0/bin/ukojak-verify-0OAaufAVZV/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_96877508-0124-4183-acb0-7acb7c905bb0/bin/ukojak-verify-0OAaufAVZV --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 3fc10838748dc3e62cae4b1741157f52b48b48e98955275eb5a68564e792252f --- Real Ultimate output --- This is Ultimate 0.2.3-dev-cf1a783 [2023-11-11 23:50:49,588 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-11 23:50:49,710 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_96877508-0124-4183-acb0-7acb7c905bb0/bin/ukojak-verify-0OAaufAVZV/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2023-11-11 23:50:49,759 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-11 23:50:49,760 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-11 23:50:49,761 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2023-11-11 23:50:49,762 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-11 23:50:49,762 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-11 23:50:49,763 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-11 23:50:49,768 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-11 23:50:49,769 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-11 23:50:49,769 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-11 23:50:49,769 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-11 23:50:49,771 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-11 23:50:49,772 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-11-11 23:50:49,772 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2023-11-11 23:50:49,772 INFO L153 SettingsManager]: * Check absence of signed integer overflows=true [2023-11-11 23:50:49,773 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2023-11-11 23:50:49,773 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-11 23:50:49,773 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-11 23:50:49,774 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-11 23:50:49,775 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-11-11 23:50:49,775 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-11-11 23:50:49,776 INFO L153 SettingsManager]: * Theory for external solver=AUFBV [2023-11-11 23:50:49,776 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2023-11-11 23:50:49,777 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2023-11-11 23:50:49,777 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-11 23:50:49,777 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-11 23:50:49,778 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-11 23:50:49,778 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-11 23:50:49,780 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-11 23:50:49,780 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2023-11-11 23:50:49,780 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2023-11-11 23:50:49,781 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-11 23:50:49,781 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2023-11-11 23:50:49,781 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-11 23:50:49,781 INFO L153 SettingsManager]: * Logic for external solver=AUFBV 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_96877508-0124-4183-acb0-7acb7c905bb0/bin/ukojak-verify-0OAaufAVZV/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_96877508-0124-4183-acb0-7acb7c905bb0/bin/ukojak-verify-0OAaufAVZV 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 -> 3fc10838748dc3e62cae4b1741157f52b48b48e98955275eb5a68564e792252f [2023-11-11 23:50:50,208 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-11 23:50:50,242 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-11 23:50:50,244 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-11 23:50:50,246 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-11 23:50:50,247 INFO L274 PluginConnector]: CDTParser initialized [2023-11-11 23:50:50,248 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_96877508-0124-4183-acb0-7acb7c905bb0/bin/ukojak-verify-0OAaufAVZV/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_square_44_bad.i [2023-11-11 23:50:53,463 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-11 23:50:53,900 INFO L384 CDTParser]: Found 1 translation units. [2023-11-11 23:50:53,901 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_96877508-0124-4183-acb0-7acb7c905bb0/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_square_44_bad.i [2023-11-11 23:50:53,935 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_96877508-0124-4183-acb0-7acb7c905bb0/bin/ukojak-verify-0OAaufAVZV/data/a9d481713/21a075b55fda4f97ac5413d08775ae7a/FLAGd04f38e98 [2023-11-11 23:50:53,958 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_96877508-0124-4183-acb0-7acb7c905bb0/bin/ukojak-verify-0OAaufAVZV/data/a9d481713/21a075b55fda4f97ac5413d08775ae7a [2023-11-11 23:50:53,963 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-11 23:50:53,965 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-11 23:50:53,970 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-11 23:50:53,971 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-11 23:50:53,976 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-11 23:50:53,977 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 11.11 11:50:53" (1/1) ... [2023-11-11 23:50:53,978 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@12f15f3f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.11 11:50:53, skipping insertion in model container [2023-11-11 23:50:53,978 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 11.11 11:50:53" (1/1) ... [2023-11-11 23:50:54,087 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-11 23:50:54,659 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-11 23:50:56,095 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-11 23:50:56,112 INFO L202 MainTranslator]: Completed pre-run [2023-11-11 23:50:56,148 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-11 23:50:56,245 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-11 23:50:56,493 WARN L672 CHandler]: The function puts is called, but not defined or handled by StandardFunctionHandler. [2023-11-11 23:50:56,494 WARN L672 CHandler]: The function __ctype_b_loc is called, but not defined or handled by StandardFunctionHandler. [2023-11-11 23:50:56,494 WARN L672 CHandler]: The function iswxdigit is called, but not defined or handled by StandardFunctionHandler. [2023-11-11 23:50:56,494 WARN L672 CHandler]: The function funcPtr is called, but not defined or handled by StandardFunctionHandler. [2023-11-11 23:50:56,494 WARN L672 CHandler]: The function __builtin_bswap16 is called, but not defined or handled by StandardFunctionHandler. [2023-11-11 23:50:56,495 WARN L672 CHandler]: The function time is called, but not defined or handled by StandardFunctionHandler. [2023-11-11 23:50:56,495 WARN L672 CHandler]: The function fgets is called, but not defined or handled by StandardFunctionHandler. [2023-11-11 23:50:56,504 INFO L206 MainTranslator]: Completed translation [2023-11-11 23:50:56,504 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.11 11:50:56 WrapperNode [2023-11-11 23:50:56,505 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-11 23:50:56,506 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-11 23:50:56,506 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-11 23:50:56,506 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-11 23:50:56,514 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.11 11:50:56" (1/1) ... [2023-11-11 23:50:56,560 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.11 11:50:56" (1/1) ... [2023-11-11 23:50:56,600 INFO L138 Inliner]: procedures = 945, calls = 66, calls flagged for inlining = 6, calls inlined = 6, statements flattened = 57 [2023-11-11 23:50:56,601 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-11 23:50:56,602 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-11 23:50:56,602 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-11 23:50:56,602 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-11 23:50:56,617 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.11 11:50:56" (1/1) ... [2023-11-11 23:50:56,617 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.11 11:50:56" (1/1) ... [2023-11-11 23:50:56,622 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.11 11:50:56" (1/1) ... [2023-11-11 23:50:56,623 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.11 11:50:56" (1/1) ... [2023-11-11 23:50:56,633 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.11 11:50:56" (1/1) ... [2023-11-11 23:50:56,636 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.11 11:50:56" (1/1) ... [2023-11-11 23:50:56,639 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.11 11:50:56" (1/1) ... [2023-11-11 23:50:56,642 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.11 11:50:56" (1/1) ... [2023-11-11 23:50:56,647 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-11 23:50:56,648 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-11 23:50:56,648 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-11 23:50:56,648 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-11 23:50:56,649 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.11 11:50:56" (1/1) ... [2023-11-11 23:50:56,656 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-11 23:50:56,673 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_96877508-0124-4183-acb0-7acb7c905bb0/bin/ukojak-verify-0OAaufAVZV/z3 [2023-11-11 23:50:56,687 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_96877508-0124-4183-acb0-7acb7c905bb0/bin/ukojak-verify-0OAaufAVZV/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2023-11-11 23:50:56,713 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_96877508-0124-4183-acb0-7acb7c905bb0/bin/ukojak-verify-0OAaufAVZV/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2023-11-11 23:50:56,732 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-11 23:50:56,732 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-11 23:50:56,733 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-11 23:50:56,733 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-11 23:50:56,733 INFO L130 BoogieDeclarations]: Found specification of procedure time [2023-11-11 23:50:56,733 INFO L130 BoogieDeclarations]: Found specification of procedure write~unchecked~intINTTYPE1 [2023-11-11 23:50:56,733 INFO L130 BoogieDeclarations]: Found specification of procedure fgets [2023-11-11 23:50:56,733 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2023-11-11 23:50:56,734 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2023-11-11 23:50:56,734 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-11 23:50:56,734 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2023-11-11 23:50:56,944 INFO L236 CfgBuilder]: Building ICFG [2023-11-11 23:50:56,946 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-11 23:50:59,462 INFO L277 CfgBuilder]: Performing block encoding [2023-11-11 23:50:59,504 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-11 23:50:59,504 INFO L302 CfgBuilder]: Removed 0 assume(true) statements. [2023-11-11 23:50:59,507 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 11.11 11:50:59 BoogieIcfgContainer [2023-11-11 23:50:59,507 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-11 23:50:59,508 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2023-11-11 23:50:59,508 INFO L270 PluginConnector]: Initializing CodeCheck... [2023-11-11 23:50:59,518 INFO L274 PluginConnector]: CodeCheck initialized [2023-11-11 23:50:59,518 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 11.11 11:50:59" (1/1) ... [2023-11-11 23:50:59,527 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-11 23:50:59,581 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-11 23:50:59,588 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 17 states to 15 states and 17 transitions. [2023-11-11 23:50:59,588 INFO L276 IsEmpty]: Start isEmpty. Operand 15 states and 17 transitions. [2023-11-11 23:50:59,602 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2023-11-11 23:50:59,603 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-11 23:50:59,603 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-11 23:50:59,604 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_96877508-0124-4183-acb0-7acb7c905bb0/bin/ukojak-verify-0OAaufAVZV/cvc4 [2023-11-11 23:50:59,607 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_96877508-0124-4183-acb0-7acb7c905bb0/bin/ukojak-verify-0OAaufAVZV/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-11 23:50:59,631 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_96877508-0124-4183-acb0-7acb7c905bb0/bin/ukojak-verify-0OAaufAVZV/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2023-11-11 23:50:59,667 FATAL L? ?]: An unrecoverable error occured during an interaction with an SMT solver: de.uni_freiburg.informatik.ultimate.logic.SMTLIBException: Sort FloatingPoint not declared at de.uni_freiburg.informatik.ultimate.logic.NoopScript.sort(NoopScript.java:385) at de.uni_freiburg.informatik.ultimate.logic.WrapperScript.sort(WrapperScript.java:228) at de.uni_freiburg.informatik.ultimate.logic.WrapperScript.sort(WrapperScript.java:228) at de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.smt.scripttransfer.NonDeclaringTermTransferrer.transferSort(NonDeclaringTermTransferrer.java:111) at de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.smt.scripttransfer.DeclarableSortSymbol.defineOrDeclare(DeclarableSortSymbol.java:79) at de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.smt.scripttransfer.HistoryRecordingScript.transferHistoryFromRecord(HistoryRecordingScript.java:171) at de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.smt.scripttransfer.HistoryRecordingScript.transferHistoryFromRecord(HistoryRecordingScript.java:196) at de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.cfg.SmtFunctionsAndAxioms.transferAllSymbols(SmtFunctionsAndAxioms.java:156) at de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.cfg.CfgSmtToolkit.createFreshManagedScript(CfgSmtToolkit.java:106) at de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.CodeCheckObserver.process(CodeCheckObserver.java:440) at de.uni_freiburg.informatik.ultimate.core.coreplugin.modelwalker.CFGWalker.runObserver(CFGWalker.java:57) at de.uni_freiburg.informatik.ultimate.core.coreplugin.modelwalker.BaseWalker.runObserver(BaseWalker.java:93) at de.uni_freiburg.informatik.ultimate.core.coreplugin.modelwalker.BaseWalker.run(BaseWalker.java:86) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runObserver(PluginConnector.java:166) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runTool(PluginConnector.java:150) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.run(PluginConnector.java:127) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.executePluginConnector(ToolchainWalker.java:233) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.processPlugin(ToolchainWalker.java:227) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walkUnprotected(ToolchainWalker.java:144) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walk(ToolchainWalker.java:106) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainManager$Toolchain.processToolchain(ToolchainManager.java:319) at de.uni_freiburg.informatik.ultimate.core.coreplugin.toolchain.DefaultToolchainJob.run(DefaultToolchainJob.java:145) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63) [2023-11-11 23:50:59,671 INFO L158 Benchmark]: Toolchain (without parser) took 5705.00ms. Allocated memory was 71.3MB in the beginning and 92.3MB in the end (delta: 21.0MB). Free memory was 34.9MB in the beginning and 48.9MB in the end (delta: -14.0MB). Peak memory consumption was 6.9MB. Max. memory is 16.1GB. [2023-11-11 23:50:59,671 INFO L158 Benchmark]: CDTParser took 0.60ms. Allocated memory is still 71.3MB. Free memory is still 47.5MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-11 23:50:59,672 INFO L158 Benchmark]: CACSL2BoogieTranslator took 2535.11ms. Allocated memory was 71.3MB in the beginning and 92.3MB in the end (delta: 21.0MB). Free memory was 34.7MB in the beginning and 52.7MB in the end (delta: -18.0MB). Peak memory consumption was 24.5MB. Max. memory is 16.1GB. [2023-11-11 23:50:59,673 INFO L158 Benchmark]: Boogie Procedure Inliner took 95.52ms. Allocated memory is still 92.3MB. Free memory was 52.7MB in the beginning and 48.5MB in the end (delta: 4.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2023-11-11 23:50:59,673 INFO L158 Benchmark]: Boogie Preprocessor took 45.03ms. Allocated memory is still 92.3MB. Free memory was 48.5MB in the beginning and 46.4MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-11 23:50:59,674 INFO L158 Benchmark]: RCFGBuilder took 2859.00ms. Allocated memory is still 92.3MB. Free memory was 46.4MB in the beginning and 55.3MB in the end (delta: -8.9MB). Peak memory consumption was 16.7MB. Max. memory is 16.1GB. [2023-11-11 23:50:59,675 INFO L158 Benchmark]: CodeCheck took 161.53ms. Allocated memory is still 92.3MB. Free memory was 55.3MB in the beginning and 48.9MB in the end (delta: 6.3MB). Peak memory consumption was 6.3MB. Max. memory is 16.1GB. [2023-11-11 23:50:59,679 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck: - ExceptionOrErrorResult: SMTLIBException: Sort FloatingPoint not declared de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck: SMTLIBException: Sort FloatingPoint not declared: de.uni_freiburg.informatik.ultimate.logic.NoopScript.sort(NoopScript.java:385) * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.60ms. Allocated memory is still 71.3MB. Free memory is still 47.5MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 2535.11ms. Allocated memory was 71.3MB in the beginning and 92.3MB in the end (delta: 21.0MB). Free memory was 34.7MB in the beginning and 52.7MB in the end (delta: -18.0MB). Peak memory consumption was 24.5MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 95.52ms. Allocated memory is still 92.3MB. Free memory was 52.7MB in the beginning and 48.5MB in the end (delta: 4.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Boogie Preprocessor took 45.03ms. Allocated memory is still 92.3MB. Free memory was 48.5MB in the beginning and 46.4MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 2859.00ms. Allocated memory is still 92.3MB. Free memory was 46.4MB in the beginning and 55.3MB in the end (delta: -8.9MB). Peak memory consumption was 16.7MB. Max. memory is 16.1GB. * CodeCheck took 161.53ms. Allocated memory is still 92.3MB. Free memory was 55.3MB in the beginning and 48.9MB in the end (delta: 6.3MB). Peak memory consumption was 6.3MB. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: Toolchain returned no result. [2023-11-11 23:50:59,710 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_96877508-0124-4183-acb0-7acb7c905bb0/bin/ukojak-verify-0OAaufAVZV/cvc4 --incremental --print-success --lang smt (2)] Forceful destruction successful, exit code 0 [2023-11-11 23:50:59,914 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_96877508-0124-4183-acb0-7acb7c905bb0/bin/ukojak-verify-0OAaufAVZV/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: ERROR: ExceptionOrErrorResult: SMTLIBException: Sort FloatingPoint not declared