./Ultimate.py --spec ../sv-benchmarks/c/properties/valid-memsafety.prp --file ../sv-benchmarks/c/memsafety-ext3/scopes4-1.c --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version 8be7027f Calling Ultimate with: /root/.sdkman/candidates/java/11.0.12-open/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-ext3/scopes4-1.c -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 --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 58596999bba5cc256a412be61e4f9e3e6d264c81e8972a76406a7a850d8c4606 --- Real Ultimate output --- This is Ultimate 0.2.5-wip.dk.perfect-tracechecks-8be7027-m [2024-11-12 13:25:36,259 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-12 13:25:36,318 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2024-11-12 13:25:36,333 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-12 13:25:36,334 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-11-12 13:25:36,382 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-12 13:25:36,383 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-11-12 13:25:36,383 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-11-12 13:25:36,384 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-11-12 13:25:36,388 INFO L153 SettingsManager]: * Use memory slicer=true [2024-11-12 13:25:36,388 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-12 13:25:36,388 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-11-12 13:25:36,389 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-12 13:25:36,389 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-12 13:25:36,389 INFO L153 SettingsManager]: * Use SBE=true [2024-11-12 13:25:36,389 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-12 13:25:36,390 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-12 13:25:36,390 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-12 13:25:36,390 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-12 13:25:36,390 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-12 13:25:36,391 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-11-12 13:25:36,391 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-11-12 13:25:36,391 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2024-11-12 13:25:36,392 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-12 13:25:36,392 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-12 13:25:36,392 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-12 13:25:36,393 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-12 13:25:36,393 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-12 13:25:36,393 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-12 13:25:36,393 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-12 13:25:36,394 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-11-12 13:25:36,394 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-11-12 13:25:36,394 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-11-12 13:25:36,394 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-12 13:25:36,395 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-12 13:25:36,395 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-12 13:25:36,395 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-11-12 13:25:36,396 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-12 13:25:36,397 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-11-12 13:25:36,397 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-11-12 13:25:36,397 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-11-12 13:25:36,398 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-11-12 13:25:36,398 INFO L153 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC 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 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 -> 58596999bba5cc256a412be61e4f9e3e6d264c81e8972a76406a7a850d8c4606 [2024-11-12 13:25:36,643 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-12 13:25:36,664 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-12 13:25:36,666 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-12 13:25:36,667 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-12 13:25:36,668 INFO L274 PluginConnector]: CDTParser initialized [2024-11-12 13:25:36,669 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/memsafety-ext3/scopes4-1.c [2024-11-12 13:25:38,122 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-12 13:25:38,274 INFO L384 CDTParser]: Found 1 translation units. [2024-11-12 13:25:38,275 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/memsafety-ext3/scopes4-1.c [2024-11-12 13:25:38,282 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/bcadcefe7/afa3dbe1d2e543cc882caeb2bf91c5e7/FLAG37b30aa63 [2024-11-12 13:25:38,689 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/bcadcefe7/afa3dbe1d2e543cc882caeb2bf91c5e7 [2024-11-12 13:25:38,692 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-12 13:25:38,693 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-12 13:25:38,695 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-12 13:25:38,695 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-12 13:25:38,700 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-12 13:25:38,700 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 12.11 01:25:38" (1/1) ... [2024-11-12 13:25:38,701 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@41530983 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 01:25:38, skipping insertion in model container [2024-11-12 13:25:38,701 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 12.11 01:25:38" (1/1) ... [2024-11-12 13:25:38,718 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-12 13:25:38,873 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-12 13:25:38,938 INFO L200 MainTranslator]: Completed pre-run [2024-11-12 13:25:38,951 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-12 13:25:38,971 INFO L204 MainTranslator]: Completed translation [2024-11-12 13:25:38,972 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 01:25:38 WrapperNode [2024-11-12 13:25:38,972 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-12 13:25:38,973 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-12 13:25:38,974 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-12 13:25:38,974 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-12 13:25:38,982 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 01:25:38" (1/1) ... [2024-11-12 13:25:38,990 ERROR L1136 TypeChecker]: C: arr [6]: Undeclared identifier ~#arr~0 in IdentifierExpression[~#arr~0,GLOBAL] [2024-11-12 13:25:38,993 ERROR L1136 TypeChecker]: C: arr[194] = 13 [6]: Wrong parameter type at index 1: CallStatement[null,false,[],write~int,[IntegerLiteral[13],StructConstructor[[base,offset],[StructAccessExpression[IdentifierExpression[~#arr~0,GLOBAL],base],BinaryExpression[ARITHPLUS,IntegerLiteral[776],StructAccessExpression[IdentifierExpression[~#arr~0,GLOBAL],offset]]]],IntegerLiteral[4]]] [2024-11-12 13:25:38,993 ERROR L1136 TypeChecker]: C: arr [7]: Undeclared identifier ~#arr~0 in IdentifierExpression[~#arr~0,GLOBAL] [2024-11-12 13:25:38,998 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 01:25:38" (1/1) ... [2024-11-12 13:25:38,999 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-12 13:25:38,999 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.preprocessor [2024-11-12 13:25:39,001 INFO L158 Benchmark]: Toolchain (without parser) took 306.43ms. Allocated memory is still 169.9MB. Free memory was 124.2MB in the beginning and 108.0MB in the end (delta: 16.2MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-12 13:25:39,001 INFO L158 Benchmark]: CDTParser took 0.21ms. Allocated memory is still 169.9MB. Free memory was 138.4MB in the beginning and 138.2MB in the end (delta: 160.8kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-12 13:25:39,002 INFO L158 Benchmark]: CACSL2BoogieTranslator took 277.37ms. Allocated memory is still 169.9MB. Free memory was 123.5MB in the beginning and 108.8MB in the end (delta: 14.7MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. [2024-11-12 13:25:39,003 INFO L158 Benchmark]: Boogie Procedure Inliner took 25.59ms. Allocated memory is still 169.9MB. Free memory was 108.8MB in the beginning and 108.0MB in the end (delta: 788.8kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-12 13:25:39,005 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.21ms. Allocated memory is still 169.9MB. Free memory was 138.4MB in the beginning and 138.2MB in the end (delta: 160.8kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 277.37ms. Allocated memory is still 169.9MB. Free memory was 123.5MB in the beginning and 108.8MB in the end (delta: 14.7MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 25.59ms. Allocated memory is still 169.9MB. Free memory was 108.8MB in the beginning and 108.0MB in the end (delta: 788.8kB). There was no memory consumed. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.boogie.preprocessor: - TypeErrorResult [Line: 6]: Type Error Undeclared identifier ~#arr~0 in IdentifierExpression[~#arr~0,GLOBAL] - TypeErrorResult [Line: 6]: Type Error Wrong parameter type at index 1: CallStatement[null,false,[],write~int,[IntegerLiteral[13],StructConstructor[[base,offset],[StructAccessExpression[IdentifierExpression[~#arr~0,GLOBAL],base],BinaryExpression[ARITHPLUS,IntegerLiteral[776],StructAccessExpression[IdentifierExpression[~#arr~0,GLOBAL],offset]]]],IntegerLiteral[4]]] - TypeErrorResult [Line: 7]: Type Error Undeclared identifier ~#arr~0 in IdentifierExpression[~#arr~0,GLOBAL] 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: /root/.sdkman/candidates/java/11.0.12-open/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-ext3/scopes4-1.c -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 --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 58596999bba5cc256a412be61e4f9e3e6d264c81e8972a76406a7a850d8c4606 --- Real Ultimate output --- This is Ultimate 0.2.5-wip.dk.perfect-tracechecks-8be7027-m [2024-11-12 13:25:40,965 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-12 13:25:41,044 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Bitvector.epf [2024-11-12 13:25:41,049 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-12 13:25:41,050 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-11-12 13:25:41,081 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-12 13:25:41,084 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-11-12 13:25:41,084 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-11-12 13:25:41,085 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-11-12 13:25:41,085 INFO L153 SettingsManager]: * Use memory slicer=true [2024-11-12 13:25:41,086 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-12 13:25:41,086 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-11-12 13:25:41,087 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-12 13:25:41,089 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-12 13:25:41,089 INFO L153 SettingsManager]: * Use SBE=true [2024-11-12 13:25:41,090 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-12 13:25:41,090 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-12 13:25:41,090 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-12 13:25:41,091 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-12 13:25:41,091 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-12 13:25:41,091 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-11-12 13:25:41,095 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-11-12 13:25:41,095 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2024-11-12 13:25:41,095 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-12 13:25:41,095 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-12 13:25:41,096 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-12 13:25:41,096 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-12 13:25:41,096 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-12 13:25:41,096 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-12 13:25:41,097 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-12 13:25:41,097 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-12 13:25:41,097 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-12 13:25:41,097 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-11-12 13:25:41,097 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-11-12 13:25:41,098 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-11-12 13:25:41,098 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-12 13:25:41,099 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-12 13:25:41,100 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-12 13:25:41,100 INFO L153 SettingsManager]: * Trace refinement strategy=WOLF [2024-11-12 13:25:41,101 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-12 13:25:41,101 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-11-12 13:25:41,101 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-11-12 13:25:41,101 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-11-12 13:25:41,102 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-11-12 13:25:41,102 INFO L153 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC 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 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 -> 58596999bba5cc256a412be61e4f9e3e6d264c81e8972a76406a7a850d8c4606 [2024-11-12 13:25:41,454 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-12 13:25:41,474 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-12 13:25:41,477 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-12 13:25:41,478 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-12 13:25:41,478 INFO L274 PluginConnector]: CDTParser initialized [2024-11-12 13:25:41,479 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/memsafety-ext3/scopes4-1.c [2024-11-12 13:25:43,033 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-12 13:25:43,246 INFO L384 CDTParser]: Found 1 translation units. [2024-11-12 13:25:43,246 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/memsafety-ext3/scopes4-1.c [2024-11-12 13:25:43,254 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/546e11425/39ddf20bdfdc4d0baa6351c64d28867f/FLAGb751499b1 [2024-11-12 13:25:43,623 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/546e11425/39ddf20bdfdc4d0baa6351c64d28867f [2024-11-12 13:25:43,625 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-12 13:25:43,626 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-12 13:25:43,627 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-12 13:25:43,627 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-12 13:25:43,633 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-12 13:25:43,633 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 12.11 01:25:43" (1/1) ... [2024-11-12 13:25:43,634 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@7397285 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 01:25:43, skipping insertion in model container [2024-11-12 13:25:43,634 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 12.11 01:25:43" (1/1) ... [2024-11-12 13:25:43,649 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-12 13:25:43,816 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-12 13:25:43,857 INFO L200 MainTranslator]: Completed pre-run [2024-11-12 13:25:43,870 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-12 13:25:43,901 INFO L204 MainTranslator]: Completed translation [2024-11-12 13:25:43,902 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 01:25:43 WrapperNode [2024-11-12 13:25:43,902 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-12 13:25:43,903 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-12 13:25:43,904 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-12 13:25:43,904 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-12 13:25:43,910 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 01:25:43" (1/1) ... [2024-11-12 13:25:43,928 ERROR L1136 TypeChecker]: C: arr [6]: Undeclared identifier ~#arr~0 in IdentifierExpression[~#arr~0,GLOBAL] [2024-11-12 13:25:43,930 ERROR L1136 TypeChecker]: C: arr[194] = 13 [6]: Wrong parameter type at index 1: CallStatement[null,false,[],write~intINTTYPE4,[BitvecLiteral[13,32],StructConstructor[[base,offset],[StructAccessExpression[IdentifierExpression[~#arr~0,GLOBAL],base],FunctionApplication[~bvadd~32,[BitvecLiteral[776,32],StructAccessExpression[IdentifierExpression[~#arr~0,GLOBAL],offset]]]]],BitvecLiteral[4,32]]] [2024-11-12 13:25:43,930 ERROR L1136 TypeChecker]: C: arr [7]: Undeclared identifier ~#arr~0 in IdentifierExpression[~#arr~0,GLOBAL] [2024-11-12 13:25:43,934 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.11 01:25:43" (1/1) ... [2024-11-12 13:25:43,934 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-12 13:25:43,935 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.preprocessor [2024-11-12 13:25:43,937 INFO L158 Benchmark]: Toolchain (without parser) took 309.84ms. Allocated memory was 65.0MB in the beginning and 90.2MB in the end (delta: 25.2MB). Free memory was 41.8MB in the beginning and 70.7MB in the end (delta: -28.9MB). Peak memory consumption was 15.7MB. Max. memory is 16.1GB. [2024-11-12 13:25:43,938 INFO L158 Benchmark]: CDTParser took 1.07ms. Allocated memory is still 65.0MB. Free memory was 41.5MB in the beginning and 41.4MB in the end (delta: 83.9kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-12 13:25:43,939 INFO L158 Benchmark]: CACSL2BoogieTranslator took 275.45ms. Allocated memory is still 65.0MB. Free memory was 41.6MB in the beginning and 28.6MB in the end (delta: 13.0MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. [2024-11-12 13:25:43,940 INFO L158 Benchmark]: Boogie Procedure Inliner took 31.08ms. Allocated memory was 65.0MB in the beginning and 90.2MB in the end (delta: 25.2MB). Free memory was 28.6MB in the beginning and 70.7MB in the end (delta: -42.0MB). Peak memory consumption was 3.1MB. Max. memory is 16.1GB. [2024-11-12 13:25:43,942 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 1.07ms. Allocated memory is still 65.0MB. Free memory was 41.5MB in the beginning and 41.4MB in the end (delta: 83.9kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 275.45ms. Allocated memory is still 65.0MB. Free memory was 41.6MB in the beginning and 28.6MB in the end (delta: 13.0MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 31.08ms. Allocated memory was 65.0MB in the beginning and 90.2MB in the end (delta: 25.2MB). Free memory was 28.6MB in the beginning and 70.7MB in the end (delta: -42.0MB). Peak memory consumption was 3.1MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.boogie.preprocessor: - TypeErrorResult [Line: 6]: Type Error Undeclared identifier ~#arr~0 in IdentifierExpression[~#arr~0,GLOBAL] - TypeErrorResult [Line: 6]: Type Error Wrong parameter type at index 1: CallStatement[null,false,[],write~intINTTYPE4,[BitvecLiteral[13,32],StructConstructor[[base,offset],[StructAccessExpression[IdentifierExpression[~#arr~0,GLOBAL],base],FunctionApplication[~bvadd~32,[BitvecLiteral[776,32],StructAccessExpression[IdentifierExpression[~#arr~0,GLOBAL],offset]]]]],BitvecLiteral[4,32]]] - TypeErrorResult [Line: 7]: Type Error Undeclared identifier ~#arr~0 in IdentifierExpression[~#arr~0,GLOBAL] 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: TYPE ERROR