./Ultimate.py --spec ../sv-benchmarks/c/properties/valid-memsafety.prp --file ../sv-benchmarks/c/array-memsafety/mult_array_unsafe.i --full-output -ea --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version 03d7b7b3 Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -ea -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/array-memsafety/mult_array_unsafe.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 d94197bb45011c55db64c4b2cad037cf69a2430f75ef8668b076bdef6ca69182 --- Real Ultimate output --- This is Ultimate 0.2.2-dev-03d7b7b [2022-02-20 23:40:26,466 INFO L177 SettingsManager]: Resetting all preferences to default values... [2022-02-20 23:40:26,469 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2022-02-20 23:40:26,497 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2022-02-20 23:40:26,500 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2022-02-20 23:40:26,503 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2022-02-20 23:40:26,505 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2022-02-20 23:40:26,508 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2022-02-20 23:40:26,512 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2022-02-20 23:40:26,516 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2022-02-20 23:40:26,517 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2022-02-20 23:40:26,518 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2022-02-20 23:40:26,518 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2022-02-20 23:40:26,520 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2022-02-20 23:40:26,521 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2022-02-20 23:40:26,523 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2022-02-20 23:40:26,523 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2022-02-20 23:40:26,524 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2022-02-20 23:40:26,528 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2022-02-20 23:40:26,529 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2022-02-20 23:40:26,533 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2022-02-20 23:40:26,534 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2022-02-20 23:40:26,535 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2022-02-20 23:40:26,537 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2022-02-20 23:40:26,539 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2022-02-20 23:40:26,540 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2022-02-20 23:40:26,540 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2022-02-20 23:40:26,542 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2022-02-20 23:40:26,542 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2022-02-20 23:40:26,543 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2022-02-20 23:40:26,543 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2022-02-20 23:40:26,544 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2022-02-20 23:40:26,545 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2022-02-20 23:40:26,546 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2022-02-20 23:40:26,546 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2022-02-20 23:40:26,547 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2022-02-20 23:40:26,547 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2022-02-20 23:40:26,547 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2022-02-20 23:40:26,547 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2022-02-20 23:40:26,548 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2022-02-20 23:40:26,548 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2022-02-20 23:40:26,549 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2022-02-20 23:40:26,570 INFO L113 SettingsManager]: Loading preferences was successful [2022-02-20 23:40:26,572 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2022-02-20 23:40:26,572 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2022-02-20 23:40:26,573 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2022-02-20 23:40:26,573 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2022-02-20 23:40:26,573 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2022-02-20 23:40:26,574 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2022-02-20 23:40:26,574 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2022-02-20 23:40:26,574 INFO L138 SettingsManager]: * Use SBE=true [2022-02-20 23:40:26,574 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2022-02-20 23:40:26,575 INFO L138 SettingsManager]: * sizeof long=4 [2022-02-20 23:40:26,575 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2022-02-20 23:40:26,575 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2022-02-20 23:40:26,576 INFO L138 SettingsManager]: * sizeof POINTER=4 [2022-02-20 23:40:26,576 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2022-02-20 23:40:26,576 INFO L138 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2022-02-20 23:40:26,576 INFO L138 SettingsManager]: * Bitprecise bitfields=true [2022-02-20 23:40:26,576 INFO L138 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2022-02-20 23:40:26,576 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2022-02-20 23:40:26,576 INFO L138 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2022-02-20 23:40:26,577 INFO L138 SettingsManager]: * sizeof long double=12 [2022-02-20 23:40:26,577 INFO L138 SettingsManager]: * Use constant arrays=true [2022-02-20 23:40:26,577 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2022-02-20 23:40:26,577 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2022-02-20 23:40:26,577 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2022-02-20 23:40:26,577 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2022-02-20 23:40:26,577 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2022-02-20 23:40:26,579 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2022-02-20 23:40:26,579 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2022-02-20 23:40:26,579 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2022-02-20 23:40:26,579 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 -> d94197bb45011c55db64c4b2cad037cf69a2430f75ef8668b076bdef6ca69182 [2022-02-20 23:40:26,814 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2022-02-20 23:40:26,837 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2022-02-20 23:40:26,840 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2022-02-20 23:40:26,841 INFO L271 PluginConnector]: Initializing CDTParser... [2022-02-20 23:40:26,842 INFO L275 PluginConnector]: CDTParser initialized [2022-02-20 23:40:26,842 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/array-memsafety/mult_array_unsafe.i [2022-02-20 23:40:26,882 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/a756156bb/8dcf06cc5021450e8c66d316fc20751c/FLAG0f0e469a2 [2022-02-20 23:40:27,296 INFO L306 CDTParser]: Found 1 translation units. [2022-02-20 23:40:27,297 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/array-memsafety/mult_array_unsafe.i [2022-02-20 23:40:27,305 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/a756156bb/8dcf06cc5021450e8c66d316fc20751c/FLAG0f0e469a2 [2022-02-20 23:40:27,313 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/a756156bb/8dcf06cc5021450e8c66d316fc20751c [2022-02-20 23:40:27,315 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2022-02-20 23:40:27,316 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2022-02-20 23:40:27,317 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2022-02-20 23:40:27,318 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2022-02-20 23:40:27,320 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2022-02-20 23:40:27,320 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 20.02 11:40:27" (1/1) ... [2022-02-20 23:40:27,324 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@1906bf37 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.02 11:40:27, skipping insertion in model container [2022-02-20 23:40:27,324 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 20.02 11:40:27" (1/1) ... [2022-02-20 23:40:27,328 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2022-02-20 23:40:27,357 INFO L178 MainTranslator]: Built tables and reachable declarations [2022-02-20 23:40:27,613 INFO L210 PostProcessor]: Analyzing one entry point: main [2022-02-20 23:40:27,618 INFO L203 MainTranslator]: Completed pre-run [2022-02-20 23:40:27,640 INFO L210 PostProcessor]: Analyzing one entry point: main [2022-02-20 23:40:27,656 INFO L208 MainTranslator]: Completed translation [2022-02-20 23:40:27,657 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.02 11:40:27 WrapperNode [2022-02-20 23:40:27,657 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2022-02-20 23:40:27,658 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2022-02-20 23:40:27,658 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2022-02-20 23:40:27,658 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2022-02-20 23:40:27,662 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.02 11:40:27" (1/1) ... [2022-02-20 23:40:27,670 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.02 11:40:27" (1/1) ... [2022-02-20 23:40:27,684 INFO L137 Inliner]: procedures = 115, calls = 13, calls flagged for inlining = 2, calls inlined = 2, statements flattened = 60 [2022-02-20 23:40:27,684 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2022-02-20 23:40:27,685 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2022-02-20 23:40:27,685 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2022-02-20 23:40:27,685 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2022-02-20 23:40:27,690 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.02 11:40:27" (1/1) ... [2022-02-20 23:40:27,690 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.02 11:40:27" (1/1) ... [2022-02-20 23:40:27,693 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.02 11:40:27" (1/1) ... [2022-02-20 23:40:27,693 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.02 11:40:27" (1/1) ... [2022-02-20 23:40:27,697 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.02 11:40:27" (1/1) ... [2022-02-20 23:40:27,699 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.02 11:40:27" (1/1) ... [2022-02-20 23:40:27,700 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.02 11:40:27" (1/1) ... [2022-02-20 23:40:27,701 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2022-02-20 23:40:27,702 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2022-02-20 23:40:27,702 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2022-02-20 23:40:27,702 INFO L275 PluginConnector]: RCFGBuilder initialized [2022-02-20 23:40:27,703 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.02 11:40:27" (1/1) ... [2022-02-20 23:40:27,707 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2022-02-20 23:40:27,721 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-02-20 23:40:27,735 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2022-02-20 23:40:27,748 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2022-02-20 23:40:27,785 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2022-02-20 23:40:27,785 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2022-02-20 23:40:27,785 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2022-02-20 23:40:27,787 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2022-02-20 23:40:27,787 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2022-02-20 23:40:27,788 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2022-02-20 23:40:27,845 INFO L234 CfgBuilder]: Building ICFG [2022-02-20 23:40:27,846 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2022-02-20 23:40:28,049 INFO L275 CfgBuilder]: Performing block encoding [2022-02-20 23:40:28,053 INFO L294 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2022-02-20 23:40:28,054 INFO L299 CfgBuilder]: Removed 2 assume(true) statements. [2022-02-20 23:40:28,055 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 20.02 11:40:28 BoogieIcfgContainer [2022-02-20 23:40:28,055 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2022-02-20 23:40:28,056 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2022-02-20 23:40:28,056 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2022-02-20 23:40:28,059 INFO L275 PluginConnector]: TraceAbstraction initialized [2022-02-20 23:40:28,059 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 20.02 11:40:27" (1/3) ... [2022-02-20 23:40:28,059 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@24f0dc96 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 20.02 11:40:28, skipping insertion in model container [2022-02-20 23:40:28,059 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.02 11:40:27" (2/3) ... [2022-02-20 23:40:28,060 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@24f0dc96 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 20.02 11:40:28, skipping insertion in model container [2022-02-20 23:40:28,060 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 20.02 11:40:28" (3/3) ... [2022-02-20 23:40:28,061 INFO L111 eAbstractionObserver]: Analyzing ICFG mult_array_unsafe.i [2022-02-20 23:40:28,064 INFO L205 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2022-02-20 23:40:28,064 INFO L164 ceAbstractionStarter]: Applying trace abstraction to program that has 7 error locations. [2022-02-20 23:40:28,102 INFO L338 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2022-02-20 23:40:28,107 INFO L339 AbstractCegarLoop]: Settings: SEPARATE_VIOLATION_CHECK=true, mInterprocedural=true, mMaxIterations=1000000, mWatchIteration=1000000, mArtifact=RCFG, mInterpolation=FPandBP, mInterpolantAutomaton=STRAIGHT_LINE, mDumpAutomata=false, mAutomataFormat=ATS_NUMERATE, mDumpPath=., mDeterminiation=PREDICATE_ABSTRACTION, mMinimize=MINIMIZE_SEVPA, mHoare=false, mAutomataTypeConcurrency=FINITE_AUTOMATA, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=All, mDumpOnlyReuseAutomata=false, mLimitTraceHistogram=0, mErrorLocTimeLimit=0, mLimitPathProgramCount=0, mCollectInterpolantStatistics=true, mHeuristicEmptinessCheck=false, mHeuristicEmptinessCheckAStarHeuristic=ZERO, mHeuristicEmptinessCheckAStarHeuristicRandomSeed=1337, mHeuristicEmptinessCheckSmtFeatureScoringMethod=DAGSIZE, mSMTFeatureExtraction=false, mSMTFeatureExtractionDumpPath=., mOverrideInterpolantAutomaton=false, mMcrInterpolantMethod=WP, mLoopAccelerationTechnique=FAST_UPR [2022-02-20 23:40:28,108 INFO L340 AbstractCegarLoop]: Starting to check reachability of 7 error locations. [2022-02-20 23:40:28,121 INFO L276 IsEmpty]: Start isEmpty. Operand has 28 states, 20 states have (on average 1.7) internal successors, (34), 27 states have internal predecessors, (34), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:40:28,124 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2022-02-20 23:40:28,124 INFO L506 BasicCegarLoop]: Found error trace [2022-02-20 23:40:28,125 INFO L514 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1] [2022-02-20 23:40:28,125 INFO L402 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr6ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr0REQUIRES_VIOLATION, ULTIMATE.startErr1REQUIRES_VIOLATION, ULTIMATE.startErr2REQUIRES_VIOLATION, ULTIMATE.startErr3REQUIRES_VIOLATION (and 3 more)] === [2022-02-20 23:40:28,129 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-02-20 23:40:28,130 INFO L85 PathProgramCache]: Analyzing trace with hash 119383862, now seen corresponding path program 1 times [2022-02-20 23:40:28,135 INFO L126 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-02-20 23:40:28,136 INFO L338 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1746981179] [2022-02-20 23:40:28,136 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-02-20 23:40:28,137 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-02-20 23:40:28,240 ERROR L252 FreeRefinementEngine]: Caught known exception: Unsupported non-linear arithmetic [2022-02-20 23:40:28,242 INFO L338 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [447454332] [2022-02-20 23:40:28,242 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-02-20 23:40:28,242 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2022-02-20 23:40:28,243 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-02-20 23:40:28,244 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2022-02-20 23:40:28,245 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Waiting until timeout for monitored process [2022-02-20 23:40:28,322 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:40:28,324 INFO L263 TraceCheckSpWp]: Trace formula consists of 63 conjuncts, 6 conjunts are in the unsatisfiable core [2022-02-20 23:40:28,335 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:40:28,337 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2022-02-20 23:40:28,514 INFO L290 TraceCheckUtils]: 0: Hoare triple {31#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {36#(< 0 |#StackHeapBarrier|)} is VALID [2022-02-20 23:40:28,515 INFO L290 TraceCheckUtils]: 1: Hoare triple {36#(< 0 |#StackHeapBarrier|)} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet2#1, main_#t~nondet3#1, main_#t~malloc4#1.base, main_#t~malloc4#1.offset, main_#t~malloc5#1.base, main_#t~malloc5#1.offset, main_#t~nondet7#1, main_#t~post6#1, main_#t~mem9#1, main_#t~post8#1, main_~i~0#1, main_~j~0#1, main_~length~0#1, main_~fac~0#1, main_~arr~0#1.base, main_~arr~0#1.offset, main_~arr2~0#1.base, main_~arr2~0#1.offset;havoc main_~i~0#1;havoc main_~j~0#1;assume -2147483648 <= main_#t~nondet2#1 && main_#t~nondet2#1 <= 2147483647;main_~length~0#1 := main_#t~nondet2#1;havoc main_#t~nondet2#1; {36#(< 0 |#StackHeapBarrier|)} is VALID [2022-02-20 23:40:28,515 INFO L290 TraceCheckUtils]: 2: Hoare triple {36#(< 0 |#StackHeapBarrier|)} assume main_~length~0#1 < 1 || main_~length~0#1 % 4294967296 >= 536870911;main_~length~0#1 := 1; {36#(< 0 |#StackHeapBarrier|)} is VALID [2022-02-20 23:40:28,516 INFO L290 TraceCheckUtils]: 3: Hoare triple {36#(< 0 |#StackHeapBarrier|)} assume -2147483648 <= main_#t~nondet3#1 && main_#t~nondet3#1 <= 2147483647;main_~fac~0#1 := main_#t~nondet3#1;havoc main_#t~nondet3#1; {36#(< 0 |#StackHeapBarrier|)} is VALID [2022-02-20 23:40:28,517 INFO L290 TraceCheckUtils]: 4: Hoare triple {36#(< 0 |#StackHeapBarrier|)} assume main_~fac~0#1 < 1 || main_~fac~0#1 % 4294967296 >= 2147483647 / (4 * main_~length~0#1 % 4294967296) % 4294967296;main_~fac~0#1 := 1; {36#(< 0 |#StackHeapBarrier|)} is VALID [2022-02-20 23:40:28,519 INFO L290 TraceCheckUtils]: 5: Hoare triple {36#(< 0 |#StackHeapBarrier|)} call main_#t~malloc4#1.base, main_#t~malloc4#1.offset := #Ultimate.allocOnStack(main_~length~0#1);main_~arr~0#1.base, main_~arr~0#1.offset := main_#t~malloc4#1.base, main_#t~malloc4#1.offset;call main_#t~malloc5#1.base, main_#t~malloc5#1.offset := #Ultimate.allocOnStack(main_~fac~0#1 * main_~length~0#1);main_~arr2~0#1.base, main_~arr2~0#1.offset := main_#t~malloc5#1.base, main_#t~malloc5#1.offset; {52#(and (< 1 |ULTIMATE.start_main_~arr~0#1.base|) (< 1 |ULTIMATE.start_main_~arr2~0#1.base|))} is VALID [2022-02-20 23:40:28,520 INFO L290 TraceCheckUtils]: 6: Hoare triple {52#(and (< 1 |ULTIMATE.start_main_~arr~0#1.base|) (< 1 |ULTIMATE.start_main_~arr2~0#1.base|))} assume (main_~arr~0#1.base == 0 && main_~arr~0#1.offset == 0) || (main_~arr2~0#1.base == 0 && main_~arr2~0#1.offset == 0);main_#res#1 := 0;call ULTIMATE.dealloc(main_#t~malloc4#1.base, main_#t~malloc4#1.offset);havoc main_#t~malloc4#1.base, main_#t~malloc4#1.offset;call ULTIMATE.dealloc(main_#t~malloc5#1.base, main_#t~malloc5#1.offset);havoc main_#t~malloc5#1.base, main_#t~malloc5#1.offset; {32#false} is VALID [2022-02-20 23:40:28,520 INFO L290 TraceCheckUtils]: 7: Hoare triple {32#false} assume !(#valid == main_old_#valid#1); {32#false} is VALID [2022-02-20 23:40:28,521 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-02-20 23:40:28,521 INFO L324 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2022-02-20 23:40:28,522 INFO L144 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-02-20 23:40:28,522 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1746981179] [2022-02-20 23:40:28,522 WARN L317 FreeRefinementEngine]: Interpolation failed due to KNOWN_IGNORE: SMT_SOLVER_CANNOT_INTERPOLATE_INPUT [2022-02-20 23:40:28,523 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [447454332] [2022-02-20 23:40:28,523 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleZ3 [447454332] provided 1 perfect and 0 imperfect interpolant sequences [2022-02-20 23:40:28,523 INFO L191 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-02-20 23:40:28,524 INFO L204 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2022-02-20 23:40:28,526 INFO L118 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2129130507] [2022-02-20 23:40:28,527 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-02-20 23:40:28,530 INFO L78 Accepts]: Start accepts. Automaton has has 4 states, 4 states have (on average 2.0) internal successors, (8), 3 states have internal predecessors, (8), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 8 [2022-02-20 23:40:28,531 INFO L84 Accepts]: Finished accepts. word is accepted. [2022-02-20 23:40:28,533 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with has 4 states, 4 states have (on average 2.0) internal successors, (8), 3 states have internal predecessors, (8), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:40:28,543 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 8 edges. 8 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:40:28,543 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2022-02-20 23:40:28,543 INFO L108 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-02-20 23:40:28,585 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2022-02-20 23:40:28,586 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2022-02-20 23:40:28,588 INFO L87 Difference]: Start difference. First operand has 28 states, 20 states have (on average 1.7) internal successors, (34), 27 states have internal predecessors, (34), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand has 4 states, 4 states have (on average 2.0) internal successors, (8), 3 states have internal predecessors, (8), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:40:28,670 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:40:28,671 INFO L93 Difference]: Finished difference Result 28 states and 31 transitions. [2022-02-20 23:40:28,671 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2022-02-20 23:40:28,671 INFO L78 Accepts]: Start accepts. Automaton has has 4 states, 4 states have (on average 2.0) internal successors, (8), 3 states have internal predecessors, (8), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 8 [2022-02-20 23:40:28,672 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2022-02-20 23:40:28,673 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 4 states, 4 states have (on average 2.0) internal successors, (8), 3 states have internal predecessors, (8), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:40:28,680 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 34 transitions. [2022-02-20 23:40:28,680 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 4 states, 4 states have (on average 2.0) internal successors, (8), 3 states have internal predecessors, (8), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:40:28,681 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 34 transitions. [2022-02-20 23:40:28,682 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 4 states and 34 transitions. [2022-02-20 23:40:28,712 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 34 edges. 34 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:40:28,720 INFO L225 Difference]: With dead ends: 28 [2022-02-20 23:40:28,720 INFO L226 Difference]: Without dead ends: 26 [2022-02-20 23:40:28,721 INFO L932 BasicCegarLoop]: 0 DeclaredPredicates, 8 GetRequests, 5 SyntacticMatches, 0 SemanticMatches, 3 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=9, Invalid=11, Unknown=0, NotChecked=0, Total=20 [2022-02-20 23:40:28,724 INFO L933 BasicCegarLoop]: 20 mSDtfsCounter, 49 mSDsluCounter, 6 mSDsCounter, 0 mSdLazyCounter, 12 mSolverCounterSat, 0 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.0s Time, 0 mProtectedPredicate, 0 mProtectedAction, 49 SdHoareTripleChecker+Valid, 26 SdHoareTripleChecker+Invalid, 12 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Valid, 12 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.0s IncrementalHoareTripleChecker+Time [2022-02-20 23:40:28,725 INFO L934 BasicCegarLoop]: SdHoareTripleChecker [49 Valid, 26 Invalid, 12 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [0 Valid, 12 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time] [2022-02-20 23:40:28,735 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 26 states. [2022-02-20 23:40:28,745 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 26 to 26. [2022-02-20 23:40:28,745 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2022-02-20 23:40:28,746 INFO L82 GeneralOperation]: Start isEquivalent. First operand 26 states. Second operand has 26 states, 19 states have (on average 1.5263157894736843) internal successors, (29), 25 states have internal predecessors, (29), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:40:28,747 INFO L74 IsIncluded]: Start isIncluded. First operand 26 states. Second operand has 26 states, 19 states have (on average 1.5263157894736843) internal successors, (29), 25 states have internal predecessors, (29), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:40:28,747 INFO L87 Difference]: Start difference. First operand 26 states. Second operand has 26 states, 19 states have (on average 1.5263157894736843) internal successors, (29), 25 states have internal predecessors, (29), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:40:28,753 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:40:28,753 INFO L93 Difference]: Finished difference Result 26 states and 29 transitions. [2022-02-20 23:40:28,754 INFO L276 IsEmpty]: Start isEmpty. Operand 26 states and 29 transitions. [2022-02-20 23:40:28,754 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:40:28,754 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:40:28,755 INFO L74 IsIncluded]: Start isIncluded. First operand has 26 states, 19 states have (on average 1.5263157894736843) internal successors, (29), 25 states have internal predecessors, (29), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 26 states. [2022-02-20 23:40:28,756 INFO L87 Difference]: Start difference. First operand has 26 states, 19 states have (on average 1.5263157894736843) internal successors, (29), 25 states have internal predecessors, (29), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 26 states. [2022-02-20 23:40:28,757 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:40:28,757 INFO L93 Difference]: Finished difference Result 26 states and 29 transitions. [2022-02-20 23:40:28,758 INFO L276 IsEmpty]: Start isEmpty. Operand 26 states and 29 transitions. [2022-02-20 23:40:28,758 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:40:28,758 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:40:28,758 INFO L88 GeneralOperation]: Finished isEquivalent. [2022-02-20 23:40:28,759 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2022-02-20 23:40:28,759 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 26 states, 19 states have (on average 1.5263157894736843) internal successors, (29), 25 states have internal predecessors, (29), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:40:28,760 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 26 states to 26 states and 29 transitions. [2022-02-20 23:40:28,761 INFO L78 Accepts]: Start accepts. Automaton has 26 states and 29 transitions. Word has length 8 [2022-02-20 23:40:28,761 INFO L84 Accepts]: Finished accepts. word is rejected. [2022-02-20 23:40:28,761 INFO L470 AbstractCegarLoop]: Abstraction has 26 states and 29 transitions. [2022-02-20 23:40:28,762 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 4 states have (on average 2.0) internal successors, (8), 3 states have internal predecessors, (8), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:40:28,762 INFO L276 IsEmpty]: Start isEmpty. Operand 26 states and 29 transitions. [2022-02-20 23:40:28,763 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2022-02-20 23:40:28,763 INFO L506 BasicCegarLoop]: Found error trace [2022-02-20 23:40:28,765 INFO L514 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-02-20 23:40:28,795 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Ended with exit code 0 [2022-02-20 23:40:28,996 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 2 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true,SelfDestructingSolverStorable0 [2022-02-20 23:40:28,997 INFO L402 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATION === [ULTIMATE.startErr0REQUIRES_VIOLATION, ULTIMATE.startErr1REQUIRES_VIOLATION, ULTIMATE.startErr2REQUIRES_VIOLATION, ULTIMATE.startErr3REQUIRES_VIOLATION (and 3 more)] === [2022-02-20 23:40:28,999 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-02-20 23:40:28,999 INFO L85 PathProgramCache]: Analyzing trace with hash -594066643, now seen corresponding path program 1 times [2022-02-20 23:40:28,999 INFO L126 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-02-20 23:40:29,000 INFO L338 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1399571998] [2022-02-20 23:40:29,000 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-02-20 23:40:29,015 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-02-20 23:40:29,040 ERROR L252 FreeRefinementEngine]: Caught known exception: Unsupported non-linear arithmetic [2022-02-20 23:40:29,040 INFO L338 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [1649629961] [2022-02-20 23:40:29,040 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-02-20 23:40:29,041 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2022-02-20 23:40:29,041 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-02-20 23:40:29,042 INFO L229 MonitoredProcess]: Starting monitored process 3 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2022-02-20 23:40:29,052 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Waiting until timeout for monitored process [2022-02-20 23:40:29,106 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-02-20 23:40:29,106 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-02-20 23:40:29,115 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-02-20 23:40:29,141 INFO L138 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2022-02-20 23:40:29,142 INFO L628 BasicCegarLoop]: Counterexample is feasible [2022-02-20 23:40:29,143 INFO L764 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr1REQUIRES_VIOLATION (6 of 7 remaining) [2022-02-20 23:40:29,144 INFO L764 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATION (5 of 7 remaining) [2022-02-20 23:40:29,145 INFO L764 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2REQUIRES_VIOLATION (4 of 7 remaining) [2022-02-20 23:40:29,145 INFO L764 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr3REQUIRES_VIOLATION (3 of 7 remaining) [2022-02-20 23:40:29,145 INFO L764 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr4REQUIRES_VIOLATION (2 of 7 remaining) [2022-02-20 23:40:29,145 INFO L764 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr5REQUIRES_VIOLATION (1 of 7 remaining) [2022-02-20 23:40:29,145 INFO L764 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr6ASSERT_VIOLATIONMEMORY_LEAK (0 of 7 remaining) [2022-02-20 23:40:29,175 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Ended with exit code 0 [2022-02-20 23:40:29,376 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 3 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true,SelfDestructingSolverStorable1 [2022-02-20 23:40:29,379 INFO L732 BasicCegarLoop]: Path program histogram: [1, 1] [2022-02-20 23:40:29,381 INFO L180 ceAbstractionStarter]: Computing trace abstraction results [2022-02-20 23:40:29,406 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 20.02 11:40:29 BoogieIcfgContainer [2022-02-20 23:40:29,406 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2022-02-20 23:40:29,407 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2022-02-20 23:40:29,407 INFO L271 PluginConnector]: Initializing Witness Printer... [2022-02-20 23:40:29,407 INFO L275 PluginConnector]: Witness Printer initialized [2022-02-20 23:40:29,407 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 20.02 11:40:28" (3/4) ... [2022-02-20 23:40:29,409 INFO L131 WitnessPrinter]: Generating witness for reachability counterexample [2022-02-20 23:40:29,455 INFO L141 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2022-02-20 23:40:29,455 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2022-02-20 23:40:29,456 INFO L158 Benchmark]: Toolchain (without parser) took 2140.18ms. Allocated memory was 111.1MB in the beginning and 153.1MB in the end (delta: 41.9MB). Free memory was 78.5MB in the beginning and 101.9MB in the end (delta: -23.4MB). Peak memory consumption was 18.8MB. Max. memory is 16.1GB. [2022-02-20 23:40:29,457 INFO L158 Benchmark]: CDTParser took 0.15ms. Allocated memory is still 111.1MB. Free memory was 67.9MB in the beginning and 67.8MB in the end (delta: 76.9kB). There was no memory consumed. Max. memory is 16.1GB. [2022-02-20 23:40:29,457 INFO L158 Benchmark]: CACSL2BoogieTranslator took 339.79ms. Allocated memory was 111.1MB in the beginning and 153.1MB in the end (delta: 41.9MB). Free memory was 78.2MB in the beginning and 119.8MB in the end (delta: -41.6MB). Peak memory consumption was 7.7MB. Max. memory is 16.1GB. [2022-02-20 23:40:29,457 INFO L158 Benchmark]: Boogie Procedure Inliner took 26.84ms. Allocated memory is still 153.1MB. Free memory was 119.8MB in the beginning and 117.7MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2022-02-20 23:40:29,457 INFO L158 Benchmark]: Boogie Preprocessor took 16.23ms. Allocated memory is still 153.1MB. Free memory was 117.7MB in the beginning and 116.3MB in the end (delta: 1.4MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2022-02-20 23:40:29,458 INFO L158 Benchmark]: RCFGBuilder took 353.45ms. Allocated memory is still 153.1MB. Free memory was 116.3MB in the beginning and 100.7MB in the end (delta: 15.6MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. [2022-02-20 23:40:29,458 INFO L158 Benchmark]: TraceAbstraction took 1349.96ms. Allocated memory is still 153.1MB. Free memory was 100.2MB in the beginning and 104.0MB in the end (delta: -3.8MB). There was no memory consumed. Max. memory is 16.1GB. [2022-02-20 23:40:29,458 INFO L158 Benchmark]: Witness Printer took 48.75ms. Allocated memory is still 153.1MB. Free memory was 104.0MB in the beginning and 101.9MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2022-02-20 23:40:29,459 INFO L339 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - AssertionsEnabledResult: Assertions are enabled Assertions are enabled - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.15ms. Allocated memory is still 111.1MB. Free memory was 67.9MB in the beginning and 67.8MB in the end (delta: 76.9kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 339.79ms. Allocated memory was 111.1MB in the beginning and 153.1MB in the end (delta: 41.9MB). Free memory was 78.2MB in the beginning and 119.8MB in the end (delta: -41.6MB). Peak memory consumption was 7.7MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 26.84ms. Allocated memory is still 153.1MB. Free memory was 119.8MB in the beginning and 117.7MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 16.23ms. Allocated memory is still 153.1MB. Free memory was 117.7MB in the beginning and 116.3MB in the end (delta: 1.4MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 353.45ms. Allocated memory is still 153.1MB. Free memory was 116.3MB in the beginning and 100.7MB in the end (delta: 15.6MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. * TraceAbstraction took 1349.96ms. Allocated memory is still 153.1MB. Free memory was 100.2MB in the beginning and 104.0MB in the end (delta: -3.8MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 48.75ms. Allocated memory is still 153.1MB. Free memory was 104.0MB in the beginning and 101.9MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: ErrorAutomatonStatistics NumberErrorTraces: 0, NumberStatementsAllTraces: 0, NumberRelevantStatements: 0, 0.0s ErrorAutomatonConstructionTimeTotal, 0.0s FaulLocalizationTime, NumberStatementsFirstTrace: -1, TraceLengthAvg: 0, 0.0s ErrorAutomatonConstructionTimeAvg, 0.0s ErrorAutomatonDifferenceTimeAvg, 0.0s ErrorAutomatonDifferenceTimeTotal, NumberOfNoEnhancement: 0, NumberOfFiniteEnhancement: 0, NumberOfInfiniteEnhancement: 0 - CounterExampleResult [Line: 522]: pointer dereference may fail pointer dereference may fail We found a FailurePath: [L513] int i, j; [L514] int length = __VERIFIER_nondet_int(); [L515] COND TRUE length < 1 || length >= 2147483647 / sizeof(int) [L515] length = 1 VAL [length=1] [L516] int fac = __VERIFIER_nondet_int(); [L517] COND TRUE fac < 1 || fac >= 2147483647 / (sizeof(int) * length) [L517] fac = 1 VAL [fac=1, length=1] [L518] int *arr = __builtin_alloca (length); [L519] int *arr2 = __builtin_alloca (fac*length); VAL [__builtin_alloca (fac*length)={2:0}, __builtin_alloca (length)={3:0}, arr={3:0}, arr2={2:0}, fac=1, length=1] [L520] COND FALSE !(!arr || !arr2) [L521] i=0 VAL [__builtin_alloca (fac*length)={2:0}, __builtin_alloca (length)={3:0}, arr={3:0}, arr2={2:0}, fac=1, i=0, length=1] [L521] COND TRUE i