./Ultimate.py --spec ../sv-benchmarks/c/properties/valid-memsafety.prp --file ../sv-benchmarks/c/memsafety/test-0237.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version c3fed411 Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerMemDerefMemtrack.xml -i ../sv-benchmarks/c/memsafety/test-0237.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 59c31190ccc8063bc9e40e87ef868627685497d396c28c826c00fa8abad7dfea --- Real Ultimate output --- This is Ultimate 0.2.2-tmp.no-commuhash-c3fed41 [2021-12-18 20:31:57,222 INFO L177 SettingsManager]: Resetting all preferences to default values... [2021-12-18 20:31:57,226 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2021-12-18 20:31:57,264 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2021-12-18 20:31:57,265 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2021-12-18 20:31:57,265 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2021-12-18 20:31:57,266 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2021-12-18 20:31:57,267 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2021-12-18 20:31:57,269 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2021-12-18 20:31:57,269 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2021-12-18 20:31:57,270 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2021-12-18 20:31:57,271 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2021-12-18 20:31:57,271 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2021-12-18 20:31:57,272 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2021-12-18 20:31:57,273 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2021-12-18 20:31:57,274 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2021-12-18 20:31:57,274 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2021-12-18 20:31:57,275 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2021-12-18 20:31:57,276 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2021-12-18 20:31:57,278 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2021-12-18 20:31:57,279 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2021-12-18 20:31:57,290 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2021-12-18 20:31:57,291 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2021-12-18 20:31:57,291 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2021-12-18 20:31:57,293 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2021-12-18 20:31:57,300 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2021-12-18 20:31:57,301 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2021-12-18 20:31:57,302 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2021-12-18 20:31:57,302 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2021-12-18 20:31:57,302 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2021-12-18 20:31:57,303 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2021-12-18 20:31:57,304 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2021-12-18 20:31:57,305 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2021-12-18 20:31:57,305 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2021-12-18 20:31:57,306 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2021-12-18 20:31:57,306 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2021-12-18 20:31:57,307 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2021-12-18 20:31:57,307 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2021-12-18 20:31:57,307 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2021-12-18 20:31:57,308 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2021-12-18 20:31:57,308 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2021-12-18 20:31:57,312 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2021-12-18 20:31:57,329 INFO L113 SettingsManager]: Loading preferences was successful [2021-12-18 20:31:57,330 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2021-12-18 20:31:57,330 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2021-12-18 20:31:57,330 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2021-12-18 20:31:57,330 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2021-12-18 20:31:57,331 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2021-12-18 20:31:57,331 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2021-12-18 20:31:57,331 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2021-12-18 20:31:57,331 INFO L138 SettingsManager]: * Use SBE=true [2021-12-18 20:31:57,332 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2021-12-18 20:31:57,332 INFO L138 SettingsManager]: * sizeof long=4 [2021-12-18 20:31:57,332 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2021-12-18 20:31:57,332 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2021-12-18 20:31:57,332 INFO L138 SettingsManager]: * sizeof POINTER=4 [2021-12-18 20:31:57,332 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2021-12-18 20:31:57,333 INFO L138 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2021-12-18 20:31:57,333 INFO L138 SettingsManager]: * Bitprecise bitfields=true [2021-12-18 20:31:57,333 INFO L138 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2021-12-18 20:31:57,333 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2021-12-18 20:31:57,333 INFO L138 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2021-12-18 20:31:57,333 INFO L138 SettingsManager]: * sizeof long double=12 [2021-12-18 20:31:57,333 INFO L138 SettingsManager]: * Use constant arrays=true [2021-12-18 20:31:57,334 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2021-12-18 20:31:57,334 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2021-12-18 20:31:57,334 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2021-12-18 20:31:57,334 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2021-12-18 20:31:57,334 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2021-12-18 20:31:57,335 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2021-12-18 20:31:57,335 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2021-12-18 20:31:57,335 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2021-12-18 20:31:57,335 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2021-12-18 20:31:57,335 INFO L138 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:/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/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 -> /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness.graphml 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 valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 59c31190ccc8063bc9e40e87ef868627685497d396c28c826c00fa8abad7dfea [2021-12-18 20:31:57,510 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2021-12-18 20:31:57,540 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2021-12-18 20:31:57,542 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2021-12-18 20:31:57,543 INFO L271 PluginConnector]: Initializing CDTParser... [2021-12-18 20:31:57,544 INFO L275 PluginConnector]: CDTParser initialized [2021-12-18 20:31:57,544 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/memsafety/test-0237.i [2021-12-18 20:31:57,599 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/db4b76aaf/fd818872b0954aeaae56159322d97260/FLAGd1dad5a0a [2021-12-18 20:31:58,030 INFO L306 CDTParser]: Found 1 translation units. [2021-12-18 20:31:58,030 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/memsafety/test-0237.i [2021-12-18 20:31:58,040 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/db4b76aaf/fd818872b0954aeaae56159322d97260/FLAGd1dad5a0a [2021-12-18 20:31:58,048 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/db4b76aaf/fd818872b0954aeaae56159322d97260 [2021-12-18 20:31:58,050 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2021-12-18 20:31:58,051 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2021-12-18 20:31:58,054 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2021-12-18 20:31:58,054 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2021-12-18 20:31:58,056 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2021-12-18 20:31:58,057 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 18.12 08:31:58" (1/1) ... [2021-12-18 20:31:58,057 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@2d69c82f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.12 08:31:58, skipping insertion in model container [2021-12-18 20:31:58,058 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 18.12 08:31:58" (1/1) ... [2021-12-18 20:31:58,063 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2021-12-18 20:31:58,092 INFO L178 MainTranslator]: Built tables and reachable declarations [2021-12-18 20:31:58,304 FATAL L? ?]: The Plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator has thrown an exception: java.lang.IllegalArgumentException: cannot determine size of incomplete type at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.chandler.TypeSizeAndOffsetComputer.constructSizeTValueAndOffsets_StructAndUnion(TypeSizeAndOffsetComputer.java:256) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.chandler.TypeSizeAndOffsetComputer.computeSize(TypeSizeAndOffsetComputer.java:203) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.chandler.TypeSizeAndOffsetComputer.constructBytesizeExpression(TypeSizeAndOffsetComputer.java:121) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.checkIfNecessaryMemoryModelAdaption(CHandler.java:996) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:963) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.PRDispatcher.dispatch(PRDispatcher.java:279) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:2392) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.PRDispatcher.dispatch(PRDispatcher.java:303) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:2392) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.PRDispatcher.dispatch(PRDispatcher.java:303) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:729) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.PRDispatcher.dispatch(PRDispatcher.java:282) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:1385) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.PRDispatcher.dispatch(PRDispatcher.java:220) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:1069) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.PRDispatcher.dispatch(PRDispatcher.java:232) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.chandler.FunctionHandler.handleFunctionDefinition(FunctionHandler.java:371) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:1456) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.PRDispatcher.dispatch(PRDispatcher.java:155) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.processTUchild(CHandler.java:3268) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:2342) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:595) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.PRDispatcher.dispatch(PRDispatcher.java:134) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.MainTranslator.translate(MainTranslator.java:192) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.MainTranslator.run(MainTranslator.java:115) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.MainTranslator.(MainTranslator.java:93) at de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver.finish(CACSL2BoogieTranslatorObserver.java:128) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runObserver(PluginConnector.java:168) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runTool(PluginConnector.java:151) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.run(PluginConnector.java:128) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.executePluginConnector(ToolchainWalker.java:232) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.processPlugin(ToolchainWalker.java:226) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walkUnprotected(ToolchainWalker.java:142) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walk(ToolchainWalker.java:104) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainManager$Toolchain.processToolchain(ToolchainManager.java:320) 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) [2021-12-18 20:31:58,307 INFO L158 Benchmark]: Toolchain (without parser) took 255.75ms. Allocated memory is still 83.9MB. Free memory was 49.8MB in the beginning and 60.8MB in the end (delta: -10.9MB). Peak memory consumption was 10.5MB. Max. memory is 16.1GB. [2021-12-18 20:31:58,308 INFO L158 Benchmark]: CDTParser took 0.14ms. Allocated memory is still 83.9MB. Free memory was 56.8MB in the beginning and 56.8MB in the end (delta: 21.2kB). There was no memory consumed. Max. memory is 16.1GB. [2021-12-18 20:31:58,309 INFO L158 Benchmark]: CACSL2BoogieTranslator took 251.68ms. Allocated memory is still 83.9MB. Free memory was 49.6MB in the beginning and 60.8MB in the end (delta: -11.2MB). Peak memory consumption was 10.5MB. Max. memory is 16.1GB. [2021-12-18 20:31:58,310 INFO L339 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.14ms. Allocated memory is still 83.9MB. Free memory was 56.8MB in the beginning and 56.8MB in the end (delta: 21.2kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 251.68ms. Allocated memory is still 83.9MB. Free memory was 49.6MB in the beginning and 60.8MB in the end (delta: -11.2MB). Peak memory consumption was 10.5MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - ExceptionOrErrorResult: IllegalArgumentException: cannot determine size of incomplete type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: IllegalArgumentException: cannot determine size of incomplete type: de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.chandler.TypeSizeAndOffsetComputer.constructSizeTValueAndOffsets_StructAndUnion(TypeSizeAndOffsetComputer.java:256) RESULT: Ultimate could not prove your program: Toolchain returned no result. Received shutdown request... --- End real Ultimate output --- Execution finished normally Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerMemDerefMemtrack.xml -i ../sv-benchmarks/c/memsafety/test-0237.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 59c31190ccc8063bc9e40e87ef868627685497d396c28c826c00fa8abad7dfea --- Real Ultimate output --- This is Ultimate 0.2.2-tmp.no-commuhash-c3fed41 [2021-12-18 20:31:59,683 INFO L177 SettingsManager]: Resetting all preferences to default values... [2021-12-18 20:31:59,685 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2021-12-18 20:31:59,713 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2021-12-18 20:31:59,713 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2021-12-18 20:31:59,716 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2021-12-18 20:31:59,717 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2021-12-18 20:31:59,721 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2021-12-18 20:31:59,723 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2021-12-18 20:31:59,732 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2021-12-18 20:31:59,733 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2021-12-18 20:31:59,736 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2021-12-18 20:31:59,737 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2021-12-18 20:31:59,738 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2021-12-18 20:31:59,739 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2021-12-18 20:31:59,741 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2021-12-18 20:31:59,744 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2021-12-18 20:31:59,744 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2021-12-18 20:31:59,745 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2021-12-18 20:31:59,747 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2021-12-18 20:31:59,750 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2021-12-18 20:31:59,751 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2021-12-18 20:31:59,751 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2021-12-18 20:31:59,752 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2021-12-18 20:31:59,753 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2021-12-18 20:31:59,753 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2021-12-18 20:31:59,754 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2021-12-18 20:31:59,754 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2021-12-18 20:31:59,754 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2021-12-18 20:31:59,755 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2021-12-18 20:31:59,755 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2021-12-18 20:31:59,756 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2021-12-18 20:31:59,756 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2021-12-18 20:31:59,757 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2021-12-18 20:31:59,757 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2021-12-18 20:31:59,757 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2021-12-18 20:31:59,758 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2021-12-18 20:31:59,758 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2021-12-18 20:31:59,758 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2021-12-18 20:31:59,759 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2021-12-18 20:31:59,759 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2021-12-18 20:31:59,760 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Bitvector.epf [2021-12-18 20:31:59,783 INFO L113 SettingsManager]: Loading preferences was successful [2021-12-18 20:31:59,784 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2021-12-18 20:31:59,784 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2021-12-18 20:31:59,784 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2021-12-18 20:31:59,785 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2021-12-18 20:31:59,785 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2021-12-18 20:31:59,786 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2021-12-18 20:31:59,786 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2021-12-18 20:31:59,786 INFO L138 SettingsManager]: * Use SBE=true [2021-12-18 20:31:59,787 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2021-12-18 20:31:59,787 INFO L138 SettingsManager]: * sizeof long=4 [2021-12-18 20:31:59,787 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2021-12-18 20:31:59,787 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2021-12-18 20:31:59,788 INFO L138 SettingsManager]: * sizeof POINTER=4 [2021-12-18 20:31:59,788 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2021-12-18 20:31:59,788 INFO L138 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2021-12-18 20:31:59,788 INFO L138 SettingsManager]: * Bitprecise bitfields=true [2021-12-18 20:31:59,788 INFO L138 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2021-12-18 20:31:59,788 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2021-12-18 20:31:59,788 INFO L138 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2021-12-18 20:31:59,788 INFO L138 SettingsManager]: * Use bitvectors instead of ints=true [2021-12-18 20:31:59,789 INFO L138 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2021-12-18 20:31:59,789 INFO L138 SettingsManager]: * sizeof long double=12 [2021-12-18 20:31:59,789 INFO L138 SettingsManager]: * Use constant arrays=true [2021-12-18 20:31:59,789 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2021-12-18 20:31:59,789 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2021-12-18 20:31:59,789 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2021-12-18 20:31:59,789 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2021-12-18 20:31:59,790 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2021-12-18 20:31:59,790 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2021-12-18 20:31:59,790 INFO L138 SettingsManager]: * Trace refinement strategy=WOLF [2021-12-18 20:31:59,790 INFO L138 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2021-12-18 20:31:59,790 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2021-12-18 20:31:59,790 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2021-12-18 20:31:59,791 INFO L138 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:/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/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 -> /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness.graphml 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 valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 59c31190ccc8063bc9e40e87ef868627685497d396c28c826c00fa8abad7dfea [2021-12-18 20:32:00,037 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2021-12-18 20:32:00,056 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2021-12-18 20:32:00,057 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2021-12-18 20:32:00,058 INFO L271 PluginConnector]: Initializing CDTParser... [2021-12-18 20:32:00,059 INFO L275 PluginConnector]: CDTParser initialized [2021-12-18 20:32:00,060 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/memsafety/test-0237.i [2021-12-18 20:32:00,107 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/dd88d818f/c9870a0bdf274019a0e25205d825d081/FLAGa29344e4b [2021-12-18 20:32:00,496 INFO L306 CDTParser]: Found 1 translation units. [2021-12-18 20:32:00,497 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/memsafety/test-0237.i [2021-12-18 20:32:00,506 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/dd88d818f/c9870a0bdf274019a0e25205d825d081/FLAGa29344e4b [2021-12-18 20:32:00,851 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/dd88d818f/c9870a0bdf274019a0e25205d825d081 [2021-12-18 20:32:00,853 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2021-12-18 20:32:00,854 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2021-12-18 20:32:00,854 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2021-12-18 20:32:00,854 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2021-12-18 20:32:00,857 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2021-12-18 20:32:00,858 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 18.12 08:32:00" (1/1) ... [2021-12-18 20:32:00,858 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@2c0a767e and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.12 08:32:00, skipping insertion in model container [2021-12-18 20:32:00,860 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 18.12 08:32:00" (1/1) ... [2021-12-18 20:32:00,864 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2021-12-18 20:32:00,893 INFO L178 MainTranslator]: Built tables and reachable declarations [2021-12-18 20:32:01,098 FATAL L? ?]: The Plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator has thrown an exception: java.lang.IllegalArgumentException: cannot determine size of incomplete type at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.chandler.TypeSizeAndOffsetComputer.constructSizeTValueAndOffsets_StructAndUnion(TypeSizeAndOffsetComputer.java:256) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.chandler.TypeSizeAndOffsetComputer.computeSize(TypeSizeAndOffsetComputer.java:203) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.chandler.TypeSizeAndOffsetComputer.constructBytesizeExpression(TypeSizeAndOffsetComputer.java:121) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.checkIfNecessaryMemoryModelAdaption(CHandler.java:996) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:963) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.PRDispatcher.dispatch(PRDispatcher.java:279) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:2392) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.PRDispatcher.dispatch(PRDispatcher.java:303) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:2392) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.PRDispatcher.dispatch(PRDispatcher.java:303) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:729) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.PRDispatcher.dispatch(PRDispatcher.java:282) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:1385) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.PRDispatcher.dispatch(PRDispatcher.java:220) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:1069) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.PRDispatcher.dispatch(PRDispatcher.java:232) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.chandler.FunctionHandler.handleFunctionDefinition(FunctionHandler.java:371) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:1456) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.PRDispatcher.dispatch(PRDispatcher.java:155) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.processTUchild(CHandler.java:3268) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:2342) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:595) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.PRDispatcher.dispatch(PRDispatcher.java:134) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.MainTranslator.translate(MainTranslator.java:192) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.MainTranslator.run(MainTranslator.java:115) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.MainTranslator.(MainTranslator.java:93) at de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver.finish(CACSL2BoogieTranslatorObserver.java:128) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runObserver(PluginConnector.java:168) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runTool(PluginConnector.java:151) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.run(PluginConnector.java:128) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.executePluginConnector(ToolchainWalker.java:232) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.processPlugin(ToolchainWalker.java:226) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walkUnprotected(ToolchainWalker.java:142) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walk(ToolchainWalker.java:104) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainManager$Toolchain.processToolchain(ToolchainManager.java:320) 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) [2021-12-18 20:32:01,104 INFO L158 Benchmark]: Toolchain (without parser) took 249.45ms. Allocated memory is still 56.6MB. Free memory was 33.4MB in the beginning and 37.9MB in the end (delta: -4.5MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. [2021-12-18 20:32:01,105 INFO L158 Benchmark]: CDTParser took 0.14ms. Allocated memory is still 56.6MB. Free memory was 38.4MB in the beginning and 38.3MB in the end (delta: 29.2kB). There was no memory consumed. Max. memory is 16.1GB. [2021-12-18 20:32:01,107 INFO L158 Benchmark]: CACSL2BoogieTranslator took 248.23ms. Allocated memory is still 56.6MB. Free memory was 33.2MB in the beginning and 37.9MB in the end (delta: -4.7MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. [2021-12-18 20:32:01,108 INFO L339 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.14ms. Allocated memory is still 56.6MB. Free memory was 38.4MB in the beginning and 38.3MB in the end (delta: 29.2kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 248.23ms. Allocated memory is still 56.6MB. Free memory was 33.2MB in the beginning and 37.9MB in the end (delta: -4.7MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - ExceptionOrErrorResult: IllegalArgumentException: cannot determine size of incomplete type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: IllegalArgumentException: cannot determine size of incomplete type: de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.chandler.TypeSizeAndOffsetComputer.constructSizeTValueAndOffsets_StructAndUnion(TypeSizeAndOffsetComputer.java:256) RESULT: Ultimate could not prove your program: Toolchain returned no result. Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: ERROR: ExceptionOrErrorResult: IllegalArgumentException: cannot determine size of incomplete type