./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 35987657 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-?-3598765 [2022-07-21 17:09:47,898 INFO L177 SettingsManager]: Resetting all preferences to default values... [2022-07-21 17:09:47,900 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2022-07-21 17:09:47,937 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2022-07-21 17:09:47,937 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2022-07-21 17:09:47,938 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2022-07-21 17:09:47,941 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2022-07-21 17:09:47,943 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2022-07-21 17:09:47,945 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2022-07-21 17:09:47,948 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2022-07-21 17:09:47,949 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2022-07-21 17:09:47,950 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2022-07-21 17:09:47,950 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2022-07-21 17:09:47,952 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2022-07-21 17:09:47,953 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2022-07-21 17:09:47,957 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2022-07-21 17:09:47,957 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2022-07-21 17:09:47,958 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2022-07-21 17:09:47,959 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2022-07-21 17:09:47,964 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2022-07-21 17:09:47,964 INFO L181 SettingsManager]: Resetting HornVerifier preferences to default values [2022-07-21 17:09:47,965 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2022-07-21 17:09:47,966 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2022-07-21 17:09:47,967 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2022-07-21 17:09:47,968 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2022-07-21 17:09:47,973 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2022-07-21 17:09:47,974 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2022-07-21 17:09:47,974 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2022-07-21 17:09:47,974 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2022-07-21 17:09:47,975 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2022-07-21 17:09:47,975 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2022-07-21 17:09:47,975 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2022-07-21 17:09:47,977 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2022-07-21 17:09:47,977 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2022-07-21 17:09:47,978 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2022-07-21 17:09:47,979 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2022-07-21 17:09:47,979 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2022-07-21 17:09:47,980 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2022-07-21 17:09:47,980 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2022-07-21 17:09:47,980 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2022-07-21 17:09:47,980 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2022-07-21 17:09:47,981 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2022-07-21 17:09:47,985 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2022-07-21 17:09:48,009 INFO L113 SettingsManager]: Loading preferences was successful [2022-07-21 17:09:48,010 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2022-07-21 17:09:48,010 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2022-07-21 17:09:48,011 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2022-07-21 17:09:48,011 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2022-07-21 17:09:48,011 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2022-07-21 17:09:48,012 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2022-07-21 17:09:48,012 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2022-07-21 17:09:48,012 INFO L138 SettingsManager]: * Use SBE=true [2022-07-21 17:09:48,013 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2022-07-21 17:09:48,013 INFO L138 SettingsManager]: * sizeof long=4 [2022-07-21 17:09:48,013 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2022-07-21 17:09:48,014 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2022-07-21 17:09:48,014 INFO L138 SettingsManager]: * sizeof POINTER=4 [2022-07-21 17:09:48,014 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2022-07-21 17:09:48,014 INFO L138 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2022-07-21 17:09:48,015 INFO L138 SettingsManager]: * Bitprecise bitfields=true [2022-07-21 17:09:48,015 INFO L138 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2022-07-21 17:09:48,015 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2022-07-21 17:09:48,015 INFO L138 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2022-07-21 17:09:48,015 INFO L138 SettingsManager]: * sizeof long double=12 [2022-07-21 17:09:48,015 INFO L138 SettingsManager]: * Use constant arrays=true [2022-07-21 17:09:48,016 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2022-07-21 17:09:48,016 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2022-07-21 17:09:48,016 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2022-07-21 17:09:48,016 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2022-07-21 17:09:48,016 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2022-07-21 17:09:48,016 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2022-07-21 17:09:48,017 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2022-07-21 17:09:48,017 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2022-07-21 17:09:48,017 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 [2022-07-21 17:09:48,274 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2022-07-21 17:09:48,303 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2022-07-21 17:09:48,304 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2022-07-21 17:09:48,305 INFO L271 PluginConnector]: Initializing CDTParser... [2022-07-21 17:09:48,306 INFO L275 PluginConnector]: CDTParser initialized [2022-07-21 17:09:48,307 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/memsafety/test-0237.i [2022-07-21 17:09:48,354 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/369672704/4461e3ea222d4a7aa0cc0fc9757405ba/FLAGcce68a216 [2022-07-21 17:09:48,776 INFO L306 CDTParser]: Found 1 translation units. [2022-07-21 17:09:48,777 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/memsafety/test-0237.i [2022-07-21 17:09:48,786 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/369672704/4461e3ea222d4a7aa0cc0fc9757405ba/FLAGcce68a216 [2022-07-21 17:09:48,798 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/369672704/4461e3ea222d4a7aa0cc0fc9757405ba [2022-07-21 17:09:48,799 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2022-07-21 17:09:48,800 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2022-07-21 17:09:48,801 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2022-07-21 17:09:48,801 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2022-07-21 17:09:48,804 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2022-07-21 17:09:48,804 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.07 05:09:48" (1/1) ... [2022-07-21 17:09:48,805 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@26ee54e5 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.07 05:09:48, skipping insertion in model container [2022-07-21 17:09:48,805 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.07 05:09:48" (1/1) ... [2022-07-21 17:09:48,810 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2022-07-21 17:09:48,840 INFO L178 MainTranslator]: Built tables and reachable declarations [2022-07-21 17:09:49,039 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:1000) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:968) 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:2412) 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:2412) 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:728) 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:1397) 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:1081) 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:1470) 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:3276) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:2361) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:601) 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) [2022-07-21 17:09:49,042 INFO L158 Benchmark]: Toolchain (without parser) took 241.20ms. Allocated memory is still 58.7MB. Free memory was 43.1MB in the beginning and 40.0MB in the end (delta: 3.2MB). Peak memory consumption was 10.5MB. Max. memory is 16.1GB. [2022-07-21 17:09:49,044 INFO L158 Benchmark]: CDTParser took 0.16ms. Allocated memory is still 48.2MB. Free memory was 30.2MB in the beginning and 30.1MB in the end (delta: 52.5kB). There was no memory consumed. Max. memory is 16.1GB. [2022-07-21 17:09:49,045 INFO L158 Benchmark]: CACSL2BoogieTranslator took 239.70ms. Allocated memory is still 58.7MB. Free memory was 43.0MB in the beginning and 40.0MB in the end (delta: 3.0MB). Peak memory consumption was 10.5MB. Max. memory is 16.1GB. [2022-07-21 17:09:49,046 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.16ms. Allocated memory is still 48.2MB. Free memory was 30.2MB in the beginning and 30.1MB in the end (delta: 52.5kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 239.70ms. Allocated memory is still 58.7MB. Free memory was 43.0MB in the beginning and 40.0MB in the end (delta: 3.0MB). 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-?-3598765 [2022-07-21 17:09:50,438 INFO L177 SettingsManager]: Resetting all preferences to default values... [2022-07-21 17:09:50,441 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2022-07-21 17:09:50,474 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2022-07-21 17:09:50,476 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2022-07-21 17:09:50,477 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2022-07-21 17:09:50,483 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2022-07-21 17:09:50,486 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2022-07-21 17:09:50,487 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2022-07-21 17:09:50,492 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2022-07-21 17:09:50,493 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2022-07-21 17:09:50,495 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2022-07-21 17:09:50,496 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2022-07-21 17:09:50,497 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2022-07-21 17:09:50,499 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2022-07-21 17:09:50,503 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2022-07-21 17:09:50,503 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2022-07-21 17:09:50,504 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2022-07-21 17:09:50,506 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2022-07-21 17:09:50,509 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2022-07-21 17:09:50,512 INFO L181 SettingsManager]: Resetting HornVerifier preferences to default values [2022-07-21 17:09:50,513 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2022-07-21 17:09:50,514 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2022-07-21 17:09:50,515 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2022-07-21 17:09:50,516 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2022-07-21 17:09:50,518 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2022-07-21 17:09:50,519 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2022-07-21 17:09:50,519 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2022-07-21 17:09:50,520 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2022-07-21 17:09:50,520 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2022-07-21 17:09:50,521 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2022-07-21 17:09:50,521 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2022-07-21 17:09:50,522 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2022-07-21 17:09:50,522 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2022-07-21 17:09:50,523 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2022-07-21 17:09:50,524 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2022-07-21 17:09:50,524 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2022-07-21 17:09:50,525 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2022-07-21 17:09:50,525 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2022-07-21 17:09:50,525 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2022-07-21 17:09:50,525 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2022-07-21 17:09:50,527 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2022-07-21 17:09:50,527 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Bitvector.epf [2022-07-21 17:09:50,550 INFO L113 SettingsManager]: Loading preferences was successful [2022-07-21 17:09:50,550 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2022-07-21 17:09:50,550 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2022-07-21 17:09:50,551 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2022-07-21 17:09:50,551 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2022-07-21 17:09:50,551 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2022-07-21 17:09:50,552 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2022-07-21 17:09:50,552 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2022-07-21 17:09:50,552 INFO L138 SettingsManager]: * Use SBE=true [2022-07-21 17:09:50,553 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2022-07-21 17:09:50,553 INFO L138 SettingsManager]: * sizeof long=4 [2022-07-21 17:09:50,553 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2022-07-21 17:09:50,553 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2022-07-21 17:09:50,553 INFO L138 SettingsManager]: * sizeof POINTER=4 [2022-07-21 17:09:50,554 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2022-07-21 17:09:50,554 INFO L138 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2022-07-21 17:09:50,554 INFO L138 SettingsManager]: * Bitprecise bitfields=true [2022-07-21 17:09:50,554 INFO L138 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2022-07-21 17:09:50,554 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2022-07-21 17:09:50,554 INFO L138 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2022-07-21 17:09:50,554 INFO L138 SettingsManager]: * Use bitvectors instead of ints=true [2022-07-21 17:09:50,555 INFO L138 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2022-07-21 17:09:50,555 INFO L138 SettingsManager]: * sizeof long double=12 [2022-07-21 17:09:50,555 INFO L138 SettingsManager]: * Use constant arrays=true [2022-07-21 17:09:50,555 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2022-07-21 17:09:50,555 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2022-07-21 17:09:50,555 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2022-07-21 17:09:50,555 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2022-07-21 17:09:50,556 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2022-07-21 17:09:50,556 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2022-07-21 17:09:50,556 INFO L138 SettingsManager]: * Trace refinement strategy=WOLF [2022-07-21 17:09:50,556 INFO L138 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2022-07-21 17:09:50,556 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2022-07-21 17:09:50,556 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 [2022-07-21 17:09:50,822 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2022-07-21 17:09:50,837 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2022-07-21 17:09:50,838 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2022-07-21 17:09:50,839 INFO L271 PluginConnector]: Initializing CDTParser... [2022-07-21 17:09:50,839 INFO L275 PluginConnector]: CDTParser initialized [2022-07-21 17:09:50,840 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/memsafety/test-0237.i [2022-07-21 17:09:50,876 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/5cfd81997/32602f7ffdab4baba3887e42e077e9d1/FLAG43c512030 [2022-07-21 17:09:51,352 INFO L306 CDTParser]: Found 1 translation units. [2022-07-21 17:09:51,352 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/memsafety/test-0237.i [2022-07-21 17:09:51,362 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/5cfd81997/32602f7ffdab4baba3887e42e077e9d1/FLAG43c512030 [2022-07-21 17:09:51,692 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/5cfd81997/32602f7ffdab4baba3887e42e077e9d1 [2022-07-21 17:09:51,694 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2022-07-21 17:09:51,695 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2022-07-21 17:09:51,696 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2022-07-21 17:09:51,696 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2022-07-21 17:09:51,698 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2022-07-21 17:09:51,699 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.07 05:09:51" (1/1) ... [2022-07-21 17:09:51,700 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@14b746b6 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.07 05:09:51, skipping insertion in model container [2022-07-21 17:09:51,700 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.07 05:09:51" (1/1) ... [2022-07-21 17:09:51,704 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2022-07-21 17:09:51,725 INFO L178 MainTranslator]: Built tables and reachable declarations [2022-07-21 17:09:52,019 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:1000) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:968) 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:2412) 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:2412) 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:728) 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:1397) 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:1081) 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:1470) 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:3276) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:2361) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:601) 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) [2022-07-21 17:09:52,025 INFO L158 Benchmark]: Toolchain (without parser) took 328.37ms. Allocated memory is still 69.2MB. Free memory was 48.8MB in the beginning and 50.7MB in the end (delta: -1.9MB). Peak memory consumption was 10.5MB. Max. memory is 16.1GB. [2022-07-21 17:09:52,026 INFO L158 Benchmark]: CDTParser took 0.16ms. Allocated memory is still 69.2MB. Free memory was 51.9MB in the beginning and 51.8MB in the end (delta: 84.1kB). There was no memory consumed. Max. memory is 16.1GB. [2022-07-21 17:09:52,028 INFO L158 Benchmark]: CACSL2BoogieTranslator took 327.07ms. Allocated memory is still 69.2MB. Free memory was 48.6MB in the beginning and 50.7MB in the end (delta: -2.1MB). Peak memory consumption was 10.5MB. Max. memory is 16.1GB. [2022-07-21 17:09:52,029 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.16ms. Allocated memory is still 69.2MB. Free memory was 51.9MB in the beginning and 51.8MB in the end (delta: 84.1kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 327.07ms. Allocated memory is still 69.2MB. Free memory was 48.6MB in the beginning and 50.7MB in the end (delta: -2.1MB). 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 Writing output log to file Ultimate.log Result: ERROR: ExceptionOrErrorResult: IllegalArgumentException: cannot determine size of incomplete type