./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_square_06_bad.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for overflows Using default analysis Version cf1a7837 Calling Ultimate with: /usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a75018a7-a918-4315-ab31-2d32ed5f7025/bin/ukojak-verify-0OAaufAVZV/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a75018a7-a918-4315-ab31-2d32ed5f7025/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_a75018a7-a918-4315-ab31-2d32ed5f7025/bin/ukojak-verify-0OAaufAVZV/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a75018a7-a918-4315-ab31-2d32ed5f7025/bin/ukojak-verify-0OAaufAVZV/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_square_06_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a75018a7-a918-4315-ab31-2d32ed5f7025/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_a75018a7-a918-4315-ab31-2d32ed5f7025/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 8f10b7bf48d9efa6d23cb3b3042d28c87b77bc3d4a7257dcc6d871490871823d --- Real Ultimate output --- This is Ultimate 0.2.3-dev-cf1a783 [2023-11-11 23:50:14,301 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-11 23:50:14,375 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a75018a7-a918-4315-ab31-2d32ed5f7025/bin/ukojak-verify-0OAaufAVZV/config/svcomp-Overflow-64bit-Kojak_Default.epf [2023-11-11 23:50:14,381 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-11 23:50:14,382 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2023-11-11 23:50:14,410 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-11 23:50:14,411 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-11 23:50:14,412 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2023-11-11 23:50:14,413 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-11 23:50:14,414 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-11 23:50:14,415 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-11 23:50:14,416 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-11 23:50:14,416 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-11 23:50:14,417 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-11 23:50:14,418 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-11 23:50:14,419 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-11 23:50:14,419 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-11 23:50:14,420 INFO L153 SettingsManager]: * Check absence of signed integer overflows=true [2023-11-11 23:50:14,420 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-11 23:50:14,421 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-11 23:50:14,422 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-11 23:50:14,423 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-11-11 23:50:14,423 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-11-11 23:50:14,424 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-11 23:50:14,425 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-11 23:50:14,425 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-11 23:50:14,426 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-11 23:50:14,426 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-11 23:50:14,427 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2023-11-11 23:50:14,427 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-11 23:50:14,429 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-11 23:50:14,429 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_a75018a7-a918-4315-ab31-2d32ed5f7025/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_a75018a7-a918-4315-ab31-2d32ed5f7025/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 -> 8f10b7bf48d9efa6d23cb3b3042d28c87b77bc3d4a7257dcc6d871490871823d [2023-11-11 23:50:14,732 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-11 23:50:14,755 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-11 23:50:14,758 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-11 23:50:14,759 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-11 23:50:14,760 INFO L274 PluginConnector]: CDTParser initialized [2023-11-11 23:50:14,761 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a75018a7-a918-4315-ab31-2d32ed5f7025/bin/ukojak-verify-0OAaufAVZV/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_square_06_bad.i [2023-11-11 23:50:17,826 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-11 23:50:18,316 INFO L384 CDTParser]: Found 1 translation units. [2023-11-11 23:50:18,317 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a75018a7-a918-4315-ab31-2d32ed5f7025/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_square_06_bad.i [2023-11-11 23:50:18,358 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a75018a7-a918-4315-ab31-2d32ed5f7025/bin/ukojak-verify-0OAaufAVZV/data/3a4eaa22b/09b143cf89464f74bf326398e67ec29d/FLAG0398f7ab9 [2023-11-11 23:50:18,375 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a75018a7-a918-4315-ab31-2d32ed5f7025/bin/ukojak-verify-0OAaufAVZV/data/3a4eaa22b/09b143cf89464f74bf326398e67ec29d [2023-11-11 23:50:18,381 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-11 23:50:18,385 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-11 23:50:18,389 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-11 23:50:18,389 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-11 23:50:18,396 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-11 23:50:18,399 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 11.11 11:50:18" (1/1) ... [2023-11-11 23:50:18,400 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@6cf128b0 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.11 11:50:18, skipping insertion in model container [2023-11-11 23:50:18,401 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 11.11 11:50:18" (1/1) ... [2023-11-11 23:50:18,505 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-11 23:50:19,003 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-11 23:50:20,500 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-11 23:50:20,522 INFO L202 MainTranslator]: Completed pre-run [2023-11-11 23:50:20,565 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-11 23:50:20,716 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-11 23:50:21,138 WARN L672 CHandler]: The function puts is called, but not defined or handled by StandardFunctionHandler. [2023-11-11 23:50:21,139 WARN L672 CHandler]: The function __ctype_b_loc is called, but not defined or handled by StandardFunctionHandler. [2023-11-11 23:50:21,139 WARN L672 CHandler]: The function iswxdigit is called, but not defined or handled by StandardFunctionHandler. [2023-11-11 23:50:21,139 WARN L672 CHandler]: The function __builtin_bswap16 is called, but not defined or handled by StandardFunctionHandler. [2023-11-11 23:50:21,140 WARN L672 CHandler]: The function time is called, but not defined or handled by StandardFunctionHandler. [2023-11-11 23:50:21,140 WARN L672 CHandler]: The function fgets is called, but not defined or handled by StandardFunctionHandler. [2023-11-11 23:50:21,148 INFO L206 MainTranslator]: Completed translation [2023-11-11 23:50:21,149 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.11 11:50:21 WrapperNode [2023-11-11 23:50:21,149 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-11 23:50:21,150 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-11 23:50:21,151 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-11 23:50:21,151 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-11 23:50:21,159 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:21" (1/1) ... [2023-11-11 23:50:21,201 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:21" (1/1) ... [2023-11-11 23:50:21,234 INFO L138 Inliner]: procedures = 938, calls = 64, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 55 [2023-11-11 23:50:21,234 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-11 23:50:21,235 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-11 23:50:21,235 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-11 23:50:21,236 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-11 23:50:21,246 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:21" (1/1) ... [2023-11-11 23:50:21,246 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:21" (1/1) ... [2023-11-11 23:50:21,249 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:21" (1/1) ... [2023-11-11 23:50:21,250 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:21" (1/1) ... [2023-11-11 23:50:21,257 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:21" (1/1) ... [2023-11-11 23:50:21,259 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:21" (1/1) ... [2023-11-11 23:50:21,261 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:21" (1/1) ... [2023-11-11 23:50:21,263 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:21" (1/1) ... [2023-11-11 23:50:21,266 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-11 23:50:21,267 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-11 23:50:21,268 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-11 23:50:21,268 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-11 23:50:21,279 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.11 11:50:21" (1/1) ... [2023-11-11 23:50:21,286 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-11 23:50:21,302 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a75018a7-a918-4315-ab31-2d32ed5f7025/bin/ukojak-verify-0OAaufAVZV/z3 [2023-11-11 23:50:21,316 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a75018a7-a918-4315-ab31-2d32ed5f7025/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:21,329 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a75018a7-a918-4315-ab31-2d32ed5f7025/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:21,358 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-11 23:50:21,358 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-11 23:50:21,359 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-11 23:50:21,359 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-11 23:50:21,359 INFO L130 BoogieDeclarations]: Found specification of procedure time [2023-11-11 23:50:21,359 INFO L130 BoogieDeclarations]: Found specification of procedure fgets [2023-11-11 23:50:21,359 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2023-11-11 23:50:21,360 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2023-11-11 23:50:21,360 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-11 23:50:21,360 INFO L130 BoogieDeclarations]: Found specification of procedure write~unchecked~int [2023-11-11 23:50:21,360 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-11-11 23:50:21,519 INFO L236 CfgBuilder]: Building ICFG [2023-11-11 23:50:21,521 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-11 23:50:21,653 INFO L277 CfgBuilder]: Performing block encoding [2023-11-11 23:50:21,688 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-11 23:50:21,688 INFO L302 CfgBuilder]: Removed 0 assume(true) statements. [2023-11-11 23:50:21,691 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 11.11 11:50:21 BoogieIcfgContainer [2023-11-11 23:50:21,691 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-11 23:50:21,692 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2023-11-11 23:50:21,692 INFO L270 PluginConnector]: Initializing CodeCheck... [2023-11-11 23:50:21,703 INFO L274 PluginConnector]: CodeCheck initialized [2023-11-11 23:50:21,703 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 11.11 11:50:21" (1/1) ... [2023-11-11 23:50:21,713 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-11 23:50:21,763 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-11 23:50:21,771 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 22 states to 18 states and 22 transitions. [2023-11-11 23:50:21,772 INFO L276 IsEmpty]: Start isEmpty. Operand 18 states and 22 transitions. [2023-11-11 23:50:21,776 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2023-11-11 23:50:21,777 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-11 23:50:21,777 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-11 23:50:21,826 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:21,831 INFO L158 Benchmark]: Toolchain (without parser) took 3444.74ms. Allocated memory was 155.2MB in the beginning and 192.9MB in the end (delta: 37.7MB). Free memory was 104.3MB in the beginning and 74.5MB in the end (delta: 29.9MB). Peak memory consumption was 69.0MB. Max. memory is 16.1GB. [2023-11-11 23:50:21,831 INFO L158 Benchmark]: CDTParser took 0.38ms. Allocated memory is still 155.2MB. Free memory is still 100.1MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-11 23:50:21,832 INFO L158 Benchmark]: CACSL2BoogieTranslator took 2760.71ms. Allocated memory was 155.2MB in the beginning and 192.9MB in the end (delta: 37.7MB). Free memory was 104.0MB in the beginning and 101.8MB in the end (delta: 2.2MB). Peak memory consumption was 59.6MB. Max. memory is 16.1GB. [2023-11-11 23:50:21,833 INFO L158 Benchmark]: Boogie Procedure Inliner took 84.34ms. Allocated memory is still 192.9MB. Free memory was 100.7MB in the beginning and 97.6MB in the end (delta: 3.1MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2023-11-11 23:50:21,834 INFO L158 Benchmark]: Boogie Preprocessor took 31.58ms. Allocated memory is still 192.9MB. Free memory was 97.6MB in the beginning and 95.5MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-11 23:50:21,836 INFO L158 Benchmark]: RCFGBuilder took 423.79ms. Allocated memory is still 192.9MB. Free memory was 95.5MB in the beginning and 80.8MB in the end (delta: 14.7MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. [2023-11-11 23:50:21,838 INFO L158 Benchmark]: CodeCheck took 137.07ms. Allocated memory is still 192.9MB. Free memory was 80.8MB in the beginning and 74.5MB in the end (delta: 6.3MB). Peak memory consumption was 6.3MB. Max. memory is 16.1GB. [2023-11-11 23:50:21,846 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.38ms. Allocated memory is still 155.2MB. Free memory is still 100.1MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 2760.71ms. Allocated memory was 155.2MB in the beginning and 192.9MB in the end (delta: 37.7MB). Free memory was 104.0MB in the beginning and 101.8MB in the end (delta: 2.2MB). Peak memory consumption was 59.6MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 84.34ms. Allocated memory is still 192.9MB. Free memory was 100.7MB in the beginning and 97.6MB in the end (delta: 3.1MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Boogie Preprocessor took 31.58ms. Allocated memory is still 192.9MB. Free memory was 97.6MB in the beginning and 95.5MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 423.79ms. Allocated memory is still 192.9MB. Free memory was 95.5MB in the beginning and 80.8MB in the end (delta: 14.7MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. * CodeCheck took 137.07ms. Allocated memory is still 192.9MB. Free memory was 80.8MB in the beginning and 74.5MB 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:21,876 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a75018a7-a918-4315-ab31-2d32ed5f7025/bin/ukojak-verify-0OAaufAVZV/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### Calling Ultimate with: /usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a75018a7-a918-4315-ab31-2d32ed5f7025/bin/ukojak-verify-0OAaufAVZV/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a75018a7-a918-4315-ab31-2d32ed5f7025/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_a75018a7-a918-4315-ab31-2d32ed5f7025/bin/ukojak-verify-0OAaufAVZV/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a75018a7-a918-4315-ab31-2d32ed5f7025/bin/ukojak-verify-0OAaufAVZV/config/KojakReach.xml -i ../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_square_06_bad.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a75018a7-a918-4315-ab31-2d32ed5f7025/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_a75018a7-a918-4315-ab31-2d32ed5f7025/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 8f10b7bf48d9efa6d23cb3b3042d28c87b77bc3d4a7257dcc6d871490871823d --- Real Ultimate output --- This is Ultimate 0.2.3-dev-cf1a783 [2023-11-11 23:50:24,611 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-11 23:50:24,746 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a75018a7-a918-4315-ab31-2d32ed5f7025/bin/ukojak-verify-0OAaufAVZV/config/svcomp-Overflow-64bit-Kojak_Bitvector.epf [2023-11-11 23:50:24,797 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-11 23:50:24,799 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-11 23:50:24,800 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2023-11-11 23:50:24,801 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-11 23:50:24,801 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-11 23:50:24,802 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-11 23:50:24,807 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-11 23:50:24,808 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-11 23:50:24,808 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-11 23:50:24,809 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-11 23:50:24,810 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-11 23:50:24,811 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-11-11 23:50:24,811 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2023-11-11 23:50:24,811 INFO L153 SettingsManager]: * Check absence of signed integer overflows=true [2023-11-11 23:50:24,812 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2023-11-11 23:50:24,812 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-11 23:50:24,813 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-11 23:50:24,813 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-11 23:50:24,814 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-11-11 23:50:24,814 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-11-11 23:50:24,815 INFO L153 SettingsManager]: * Theory for external solver=AUFBV [2023-11-11 23:50:24,815 INFO L153 SettingsManager]: * Command for calling external solver=cvc4 --incremental --print-success --lang smt [2023-11-11 23:50:24,816 INFO L153 SettingsManager]: * Choose which separate solver to use for tracechecks=External_ModelsAndUnsatCoreMode [2023-11-11 23:50:24,816 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-11 23:50:24,816 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-11 23:50:24,817 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-11 23:50:24,817 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-11 23:50:24,819 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-11 23:50:24,819 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2023-11-11 23:50:24,819 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2023-11-11 23:50:24,819 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-11 23:50:24,820 INFO L153 SettingsManager]: * Use separate solver for trace checks=false [2023-11-11 23:50:24,820 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-11 23:50:24,820 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_a75018a7-a918-4315-ab31-2d32ed5f7025/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_a75018a7-a918-4315-ab31-2d32ed5f7025/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 -> 8f10b7bf48d9efa6d23cb3b3042d28c87b77bc3d4a7257dcc6d871490871823d [2023-11-11 23:50:25,292 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-11 23:50:25,326 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-11 23:50:25,330 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-11 23:50:25,331 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-11 23:50:25,332 INFO L274 PluginConnector]: CDTParser initialized [2023-11-11 23:50:25,334 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a75018a7-a918-4315-ab31-2d32ed5f7025/bin/ukojak-verify-0OAaufAVZV/../../sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_square_06_bad.i [2023-11-11 23:50:28,614 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-11 23:50:29,106 INFO L384 CDTParser]: Found 1 translation units. [2023-11-11 23:50:29,106 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a75018a7-a918-4315-ab31-2d32ed5f7025/sv-benchmarks/c/Juliet_Test/CWE190_Integer_Overflow__int_fgets_square_06_bad.i [2023-11-11 23:50:29,146 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a75018a7-a918-4315-ab31-2d32ed5f7025/bin/ukojak-verify-0OAaufAVZV/data/499e6b9bb/56f057d539c949afa31e06615b2ee8c1/FLAGe8697e103 [2023-11-11 23:50:29,165 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a75018a7-a918-4315-ab31-2d32ed5f7025/bin/ukojak-verify-0OAaufAVZV/data/499e6b9bb/56f057d539c949afa31e06615b2ee8c1 [2023-11-11 23:50:29,171 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-11 23:50:29,172 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-11 23:50:29,173 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-11 23:50:29,174 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-11 23:50:29,178 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-11 23:50:29,179 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 11.11 11:50:29" (1/1) ... [2023-11-11 23:50:29,180 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@3cfa9cb4 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.11 11:50:29, skipping insertion in model container [2023-11-11 23:50:29,180 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 11.11 11:50:29" (1/1) ... [2023-11-11 23:50:29,265 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-11 23:50:29,770 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-11 23:50:31,125 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-11 23:50:31,144 INFO L202 MainTranslator]: Completed pre-run [2023-11-11 23:50:31,179 WARN L635 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-11-11 23:50:31,321 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-11 23:50:31,575 WARN L672 CHandler]: The function puts is called, but not defined or handled by StandardFunctionHandler. [2023-11-11 23:50:31,575 WARN L672 CHandler]: The function __ctype_b_loc is called, but not defined or handled by StandardFunctionHandler. [2023-11-11 23:50:31,575 WARN L672 CHandler]: The function iswxdigit is called, but not defined or handled by StandardFunctionHandler. [2023-11-11 23:50:31,575 WARN L672 CHandler]: The function __builtin_bswap16 is called, but not defined or handled by StandardFunctionHandler. [2023-11-11 23:50:31,575 WARN L672 CHandler]: The function time is called, but not defined or handled by StandardFunctionHandler. [2023-11-11 23:50:31,576 WARN L672 CHandler]: The function fgets is called, but not defined or handled by StandardFunctionHandler. [2023-11-11 23:50:31,582 INFO L206 MainTranslator]: Completed translation [2023-11-11 23:50:31,582 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.11 11:50:31 WrapperNode [2023-11-11 23:50:31,582 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-11 23:50:31,584 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-11 23:50:31,584 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-11 23:50:31,584 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-11 23:50:31,591 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:31" (1/1) ... [2023-11-11 23:50:31,662 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:31" (1/1) ... [2023-11-11 23:50:31,698 INFO L138 Inliner]: procedures = 943, calls = 64, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 54 [2023-11-11 23:50:31,699 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-11 23:50:31,700 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-11 23:50:31,700 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-11 23:50:31,700 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-11 23:50:31,707 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:31" (1/1) ... [2023-11-11 23:50:31,707 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:31" (1/1) ... [2023-11-11 23:50:31,713 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:31" (1/1) ... [2023-11-11 23:50:31,714 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:31" (1/1) ... [2023-11-11 23:50:31,725 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:31" (1/1) ... [2023-11-11 23:50:31,726 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:31" (1/1) ... [2023-11-11 23:50:31,730 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:31" (1/1) ... [2023-11-11 23:50:31,732 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:31" (1/1) ... [2023-11-11 23:50:31,741 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-11 23:50:31,742 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-11 23:50:31,742 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-11 23:50:31,742 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-11 23:50:31,743 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.11 11:50:31" (1/1) ... [2023-11-11 23:50:31,749 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-11 23:50:31,768 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a75018a7-a918-4315-ab31-2d32ed5f7025/bin/ukojak-verify-0OAaufAVZV/z3 [2023-11-11 23:50:31,780 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a75018a7-a918-4315-ab31-2d32ed5f7025/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:31,792 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a75018a7-a918-4315-ab31-2d32ed5f7025/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:31,822 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-11 23:50:31,822 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-11 23:50:31,823 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-11 23:50:31,823 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-11 23:50:31,823 INFO L130 BoogieDeclarations]: Found specification of procedure time [2023-11-11 23:50:31,823 INFO L130 BoogieDeclarations]: Found specification of procedure write~unchecked~intINTTYPE1 [2023-11-11 23:50:31,823 INFO L130 BoogieDeclarations]: Found specification of procedure fgets [2023-11-11 23:50:31,823 INFO L130 BoogieDeclarations]: Found specification of procedure printLine [2023-11-11 23:50:31,823 INFO L138 BoogieDeclarations]: Found implementation of procedure printLine [2023-11-11 23:50:31,823 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-11 23:50:31,824 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2023-11-11 23:50:31,998 INFO L236 CfgBuilder]: Building ICFG [2023-11-11 23:50:32,000 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-11 23:50:34,603 INFO L277 CfgBuilder]: Performing block encoding [2023-11-11 23:50:34,657 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-11 23:50:34,658 INFO L302 CfgBuilder]: Removed 0 assume(true) statements. [2023-11-11 23:50:34,660 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 11.11 11:50:34 BoogieIcfgContainer [2023-11-11 23:50:34,660 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-11 23:50:34,661 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2023-11-11 23:50:34,661 INFO L270 PluginConnector]: Initializing CodeCheck... [2023-11-11 23:50:34,671 INFO L274 PluginConnector]: CodeCheck initialized [2023-11-11 23:50:34,672 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 11.11 11:50:34" (1/1) ... [2023-11-11 23:50:34,680 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-11 23:50:34,726 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-11 23:50:34,733 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 22 states to 18 states and 22 transitions. [2023-11-11 23:50:34,734 INFO L276 IsEmpty]: Start isEmpty. Operand 18 states and 22 transitions. [2023-11-11 23:50:34,738 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2023-11-11 23:50:34,739 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-11 23:50:34,739 INFO L173 SolverBuilder]: Constructing external solver with command: cvc4 --incremental --print-success --lang smt [2023-11-11 23:50:34,739 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a75018a7-a918-4315-ab31-2d32ed5f7025/bin/ukojak-verify-0OAaufAVZV/cvc4 [2023-11-11 23:50:34,742 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a75018a7-a918-4315-ab31-2d32ed5f7025/bin/ukojak-verify-0OAaufAVZV/cvc4 --incremental --print-success --lang smt (exit command is (exit), workingDir is null) [2023-11-11 23:50:34,757 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a75018a7-a918-4315-ab31-2d32ed5f7025/bin/ukojak-verify-0OAaufAVZV/cvc4 --incremental --print-success --lang smt (2)] Waiting until timeout for monitored process [2023-11-11 23:50:34,808 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:34,812 INFO L158 Benchmark]: Toolchain (without parser) took 5638.67ms. Allocated memory was 88.1MB in the beginning and 107.0MB in the end (delta: 18.9MB). Free memory was 59.2MB in the beginning and 68.0MB in the end (delta: -8.8MB). Peak memory consumption was 12.9MB. Max. memory is 16.1GB. [2023-11-11 23:50:34,812 INFO L158 Benchmark]: CDTParser took 0.71ms. Allocated memory is still 65.0MB. Free memory was 40.9MB in the beginning and 40.8MB in the end (delta: 75.9kB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-11 23:50:34,813 INFO L158 Benchmark]: CACSL2BoogieTranslator took 2409.41ms. Allocated memory was 88.1MB in the beginning and 107.0MB in the end (delta: 18.9MB). Free memory was 59.0MB in the beginning and 59.1MB in the end (delta: -67.0kB). Peak memory consumption was 38.8MB. Max. memory is 16.1GB. [2023-11-11 23:50:34,814 INFO L158 Benchmark]: Boogie Procedure Inliner took 115.74ms. Allocated memory is still 107.0MB. Free memory was 59.1MB in the beginning and 54.9MB in the end (delta: 4.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2023-11-11 23:50:34,814 INFO L158 Benchmark]: Boogie Preprocessor took 41.17ms. Allocated memory is still 107.0MB. Free memory was 54.9MB in the beginning and 52.8MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-11 23:50:34,815 INFO L158 Benchmark]: RCFGBuilder took 2918.71ms. Allocated memory is still 107.0MB. Free memory was 52.8MB in the beginning and 74.3MB in the end (delta: -21.5MB). Peak memory consumption was 21.0MB. Max. memory is 16.1GB. [2023-11-11 23:50:34,816 INFO L158 Benchmark]: CodeCheck took 149.06ms. Allocated memory is still 107.0MB. Free memory was 74.3MB in the beginning and 68.0MB in the end (delta: 6.3MB). Peak memory consumption was 6.3MB. Max. memory is 16.1GB. [2023-11-11 23:50:34,822 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.71ms. Allocated memory is still 65.0MB. Free memory was 40.9MB in the beginning and 40.8MB in the end (delta: 75.9kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 2409.41ms. Allocated memory was 88.1MB in the beginning and 107.0MB in the end (delta: 18.9MB). Free memory was 59.0MB in the beginning and 59.1MB in the end (delta: -67.0kB). Peak memory consumption was 38.8MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 115.74ms. Allocated memory is still 107.0MB. Free memory was 59.1MB in the beginning and 54.9MB in the end (delta: 4.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Boogie Preprocessor took 41.17ms. Allocated memory is still 107.0MB. Free memory was 54.9MB in the beginning and 52.8MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 2918.71ms. Allocated memory is still 107.0MB. Free memory was 52.8MB in the beginning and 74.3MB in the end (delta: -21.5MB). Peak memory consumption was 21.0MB. Max. memory is 16.1GB. * CodeCheck took 149.06ms. Allocated memory is still 107.0MB. Free memory was 74.3MB in the beginning and 68.0MB 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:34,849 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a75018a7-a918-4315-ab31-2d32ed5f7025/bin/ukojak-verify-0OAaufAVZV/cvc4 --incremental --print-success --lang smt (2)] Forceful destruction successful, exit code 0 [2023-11-11 23:50:35,051 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a75018a7-a918-4315-ab31-2d32ed5f7025/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