./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/array-memsafety-realloc/array-realloc-2.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for overflows Using default analysis Version 826ab2ba Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_698c7fbb-fd50-404f-ac81-c99b212ef307/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_698c7fbb-fd50-404f-ac81-c99b212ef307/bin/ukojak-verify-EEHR8qb7sm/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_698c7fbb-fd50-404f-ac81-c99b212ef307/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_698c7fbb-fd50-404f-ac81-c99b212ef307/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/array-memsafety-realloc/array-realloc-2.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_698c7fbb-fd50-404f-ac81-c99b212ef307/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-32bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_698c7fbb-fd50-404f-ac81-c99b212ef307/bin/ukojak-verify-EEHR8qb7sm --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! overflow) ) --witnessprinter.graph.data.producer Kojak --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash a27e6fc2049c9dc12360bd8cd7682ef33f4a19a5a5a6c0e7a780c3703a0494b5 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 16:57:49,920 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 16:57:49,999 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_698c7fbb-fd50-404f-ac81-c99b212ef307/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-32bit-Kojak_Default.epf [2024-11-13 16:57:50,008 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-13 16:57:50,010 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-13 16:57:50,043 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 16:57:50,043 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 16:57:50,044 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 16:57:50,044 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 16:57:50,044 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 16:57:50,047 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 16:57:50,047 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 16:57:50,047 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-13 16:57:50,047 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-13 16:57:50,048 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-13 16:57:50,048 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 16:57:50,048 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 16:57:50,048 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 16:57:50,048 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 16:57:50,049 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 16:57:50,049 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 16:57:50,049 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 16:57:50,049 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-13 16:57:50,049 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 16:57:50,049 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 16:57:50,049 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 16:57:50,049 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 16:57:50,050 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 16:57:50,050 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 16:57:50,050 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 16:57:50,050 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 16:57:50,050 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 16:57:50,050 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 16:57:50,050 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-13 16:57:50,051 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-13 16:57:50,051 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_698c7fbb-fd50-404f-ac81-c99b212ef307/bin/ukojak-verify-EEHR8qb7sm Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G ! overflow) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Kojak Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> a27e6fc2049c9dc12360bd8cd7682ef33f4a19a5a5a6c0e7a780c3703a0494b5 [2024-11-13 16:57:50,394 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 16:57:50,405 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 16:57:50,411 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 16:57:50,412 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 16:57:50,413 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 16:57:50,415 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_698c7fbb-fd50-404f-ac81-c99b212ef307/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/array-memsafety-realloc/array-realloc-2.i Unable to find full path for "g++" [2024-11-13 16:57:52,361 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 16:57:52,634 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 16:57:52,635 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_698c7fbb-fd50-404f-ac81-c99b212ef307/sv-benchmarks/c/array-memsafety-realloc/array-realloc-2.i [2024-11-13 16:57:52,652 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_698c7fbb-fd50-404f-ac81-c99b212ef307/bin/ukojak-verify-EEHR8qb7sm/data/68595e4b5/521e44b77ee84d4395ada18b4f0b12f2/FLAG336e6e6e0 [2024-11-13 16:57:52,678 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_698c7fbb-fd50-404f-ac81-c99b212ef307/bin/ukojak-verify-EEHR8qb7sm/data/68595e4b5/521e44b77ee84d4395ada18b4f0b12f2 [2024-11-13 16:57:52,681 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 16:57:52,682 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 16:57:52,683 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 16:57:52,684 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 16:57:52,689 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 16:57:52,690 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 04:57:52" (1/1) ... [2024-11-13 16:57:52,691 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@719e1877 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:57:52, skipping insertion in model container [2024-11-13 16:57:52,694 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 04:57:52" (1/1) ... [2024-11-13 16:57:52,737 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 16:57:53,093 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 16:57:53,109 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 16:57:53,169 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 16:57:53,203 INFO L204 MainTranslator]: Completed translation [2024-11-13 16:57:53,204 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:57:53 WrapperNode [2024-11-13 16:57:53,204 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 16:57:53,207 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 16:57:53,207 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 16:57:53,207 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 16:57:53,218 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:57:53" (1/1) ... [2024-11-13 16:57:53,237 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:57:53" (1/1) ... [2024-11-13 16:57:53,258 INFO L138 Inliner]: procedures = 119, calls = 19, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 69 [2024-11-13 16:57:53,258 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 16:57:53,259 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 16:57:53,259 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 16:57:53,259 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 16:57:53,266 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:57:53" (1/1) ... [2024-11-13 16:57:53,266 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:57:53" (1/1) ... [2024-11-13 16:57:53,270 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:57:53" (1/1) ... [2024-11-13 16:57:53,270 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:57:53" (1/1) ... [2024-11-13 16:57:53,283 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:57:53" (1/1) ... [2024-11-13 16:57:53,291 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:57:53" (1/1) ... [2024-11-13 16:57:53,292 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:57:53" (1/1) ... [2024-11-13 16:57:53,296 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:57:53" (1/1) ... [2024-11-13 16:57:53,298 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 16:57:53,302 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 16:57:53,302 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 16:57:53,302 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 16:57:53,303 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 04:57:53" (1/1) ... [2024-11-13 16:57:53,313 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 16:57:53,336 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_698c7fbb-fd50-404f-ac81-c99b212ef307/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 16:57:53,350 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_698c7fbb-fd50-404f-ac81-c99b212ef307/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 16:57:53,353 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_698c7fbb-fd50-404f-ac81-c99b212ef307/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 16:57:53,385 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2024-11-13 16:57:53,386 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2024-11-13 16:57:53,386 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-11-13 16:57:53,386 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2024-11-13 16:57:53,386 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2024-11-13 16:57:53,386 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-11-13 16:57:53,386 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$ [2024-11-13 16:57:53,386 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 16:57:53,387 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 16:57:53,549 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 16:57:53,551 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 16:57:53,776 INFO L? ?]: Removed 29 outVars from TransFormulas that were not future-live. [2024-11-13 16:57:53,776 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 16:57:53,856 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 16:57:53,857 INFO L316 CfgBuilder]: Removed 1 assume(true) statements. [2024-11-13 16:57:53,857 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 04:57:53 BoogieIcfgContainer [2024-11-13 16:57:53,857 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 16:57:53,858 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 16:57:53,858 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 16:57:53,869 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 16:57:53,869 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 04:57:53" (1/1) ... [2024-11-13 16:57:53,877 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 16:57:53,913 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 16:57:53,920 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 19 states to 16 states and 19 transitions. [2024-11-13 16:57:53,920 INFO L276 IsEmpty]: Start isEmpty. Operand 16 states and 19 transitions. [2024-11-13 16:57:53,922 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 6 [2024-11-13 16:57:53,922 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 16:57:53,923 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 16:57:54,018 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 16:57:54,136 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 16:57:54,182 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 16:57:54,189 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 23 states to 18 states and 23 transitions. [2024-11-13 16:57:54,189 INFO L276 IsEmpty]: Start isEmpty. Operand 18 states and 23 transitions. [2024-11-13 16:57:54,189 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 7 [2024-11-13 16:57:54,190 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 16:57:54,190 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 16:57:54,207 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 16:57:54,256 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 16:57:54,275 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 16:57:54,275 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 24 states to 19 states and 24 transitions. [2024-11-13 16:57:54,276 INFO L276 IsEmpty]: Start isEmpty. Operand 19 states and 24 transitions. [2024-11-13 16:57:54,276 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2024-11-13 16:57:54,276 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 16:57:54,276 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 16:57:54,317 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 16:57:54,462 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 16:57:54,505 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 16:57:54,506 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 28 states to 21 states and 28 transitions. [2024-11-13 16:57:54,506 INFO L276 IsEmpty]: Start isEmpty. Operand 21 states and 28 transitions. [2024-11-13 16:57:54,506 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2024-11-13 16:57:54,506 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 16:57:54,506 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 16:57:54,531 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 16:57:54,628 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 16:57:54,700 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 16:57:54,700 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 32 states to 24 states and 32 transitions. [2024-11-13 16:57:54,700 INFO L276 IsEmpty]: Start isEmpty. Operand 24 states and 32 transitions. [2024-11-13 16:57:54,701 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2024-11-13 16:57:54,701 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 16:57:54,701 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 16:57:54,739 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 16:57:54,793 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 2 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 16:57:54,953 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 16:57:54,954 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 31 states to 23 states and 31 transitions. [2024-11-13 16:57:54,955 INFO L276 IsEmpty]: Start isEmpty. Operand 23 states and 31 transitions. [2024-11-13 16:57:54,956 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2024-11-13 16:57:54,956 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 16:57:54,956 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 16:57:54,995 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 16:57:55,095 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 0 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 16:57:55,222 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 16:57:55,224 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 35 states to 26 states and 35 transitions. [2024-11-13 16:57:55,224 INFO L276 IsEmpty]: Start isEmpty. Operand 26 states and 35 transitions. [2024-11-13 16:57:55,224 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2024-11-13 16:57:55,225 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 16:57:55,225 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 16:57:55,265 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 16:57:55,396 INFO L134 CoverageAnalysis]: Checked inductivity of 5 backedges. 5 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 16:57:55,486 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 16:57:55,487 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 34 states to 25 states and 34 transitions. [2024-11-13 16:57:55,487 INFO L276 IsEmpty]: Start isEmpty. Operand 25 states and 34 transitions. [2024-11-13 16:57:55,487 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 16 [2024-11-13 16:57:55,487 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 16:57:55,487 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 16:57:55,525 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 16:57:55,596 INFO L134 CoverageAnalysis]: Checked inductivity of 6 backedges. 3 proven. 0 refuted. 0 times theorem prover too weak. 3 trivial. 0 not checked. [2024-11-13 16:57:55,675 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 16:57:55,675 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 33 states to 24 states and 33 transitions. [2024-11-13 16:57:55,675 INFO L276 IsEmpty]: Start isEmpty. Operand 24 states and 33 transitions. [2024-11-13 16:57:55,678 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 19 [2024-11-13 16:57:55,678 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 16:57:55,678 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 16:57:55,715 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 16:57:55,825 INFO L134 CoverageAnalysis]: Checked inductivity of 12 backedges. 0 proven. 4 refuted. 0 times theorem prover too weak. 8 trivial. 0 not checked. [2024-11-13 16:57:56,589 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 16:57:56,590 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 57 states to 39 states and 57 transitions. [2024-11-13 16:57:56,590 INFO L276 IsEmpty]: Start isEmpty. Operand 39 states and 57 transitions. [2024-11-13 16:57:56,592 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 25 [2024-11-13 16:57:56,592 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 16:57:56,593 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 16:57:56,630 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 16:57:56,701 INFO L134 CoverageAnalysis]: Checked inductivity of 27 backedges. 0 proven. 6 refuted. 0 times theorem prover too weak. 21 trivial. 0 not checked. [2024-11-13 16:57:56,848 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 16:57:56,850 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 44 states to 30 states and 44 transitions. [2024-11-13 16:57:56,851 INFO L276 IsEmpty]: Start isEmpty. Operand 30 states and 44 transitions. [2024-11-13 16:57:56,851 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 25 [2024-11-13 16:57:56,852 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 16:57:56,852 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 16:57:56,889 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 16:57:56,995 INFO L134 CoverageAnalysis]: Checked inductivity of 27 backedges. 0 proven. 6 refuted. 0 times theorem prover too weak. 21 trivial. 0 not checked. [2024-11-13 16:57:57,144 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 16:57:57,145 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 32 states to 23 states and 32 transitions. [2024-11-13 16:57:57,145 INFO L276 IsEmpty]: Start isEmpty. Operand 23 states and 32 transitions. [2024-11-13 16:57:57,145 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2024-11-13 16:57:57,146 WARN L417 CodeCheckObserver]: This Program is SAFE, Check terminated with 12 iterations. [2024-11-13 16:57:57,162 INFO L729 CodeCheckObserver]: All specifications hold 4 specifications checked. All of them hold [2024-11-13 16:57:57,669 INFO L75 FloydHoareUtils]: For program point ULTIMATE.startErr1ASSERT_VIOLATIONINTEGER_OVERFLOW(line 559) no Hoare annotation was computed. [2024-11-13 16:57:57,669 INFO L77 FloydHoareUtils]: At program point ULTIMATE.startEXIT(line -1) the Hoare annotation is: true [2024-11-13 16:57:57,669 INFO L77 FloydHoareUtils]: At program point L576(lines 576 578) the Hoare annotation is: (<= ~num~0 99) [2024-11-13 16:57:57,670 INFO L75 FloydHoareUtils]: For program point ULTIMATE.startErr3ASSERT_VIOLATIONINTEGER_OVERFLOW(line 562) no Hoare annotation was computed. [2024-11-13 16:57:57,670 INFO L77 FloydHoareUtils]: At program point L572(lines 572 574) the Hoare annotation is: true [2024-11-13 16:57:57,674 INFO L77 FloydHoareUtils]: At program point L562(line 562) the Hoare annotation is: (let ((.cse0 (<= ~num~0 99))) (or (and .cse0 (<= 1 ~newsize~0) (<= ~newsize~0 1)) (and (<= 0 (+ ~newsize~0 2147483646)) .cse0 (< ~newsize~0 1)) (and (< 1 ~newsize~0) .cse0 (<= ~newsize~0 2147483647)))) [2024-11-13 16:57:57,674 INFO L77 FloydHoareUtils]: At program point L562-1(line 562) the Hoare annotation is: (let ((.cse0 (<= ~num~0 99))) (or (and (<= 0 (+ 2147483647 ~newsize~0)) .cse0 (<= ~newsize~0 1)) (and (< 1 ~newsize~0) .cse0 (<= ~newsize~0 2147483647)))) [2024-11-13 16:57:57,675 INFO L77 FloydHoareUtils]: At program point L558-2(lines 558 567) the Hoare annotation is: (and (<= 0 (+ 2147483647 ~newsize~0)) (<= ~num~0 99)) [2024-11-13 16:57:57,675 INFO L77 FloydHoareUtils]: At program point $Ultimate##0(line -1) the Hoare annotation is: true [2024-11-13 16:57:57,675 INFO L77 FloydHoareUtils]: At program point main_returnLabel#1(lines 570 583) the Hoare annotation is: true [2024-11-13 16:57:57,675 INFO L77 FloydHoareUtils]: At program point expandArray_returnLabel#1(lines 557 569) the Hoare annotation is: true [2024-11-13 16:57:57,675 INFO L75 FloydHoareUtils]: For program point ULTIMATE.startErr0ASSERT_VIOLATIONINTEGER_OVERFLOW(line 559) no Hoare annotation was computed. [2024-11-13 16:57:57,675 INFO L75 FloydHoareUtils]: For program point ULTIMATE.startErr2ASSERT_VIOLATIONINTEGER_OVERFLOW(line 562) no Hoare annotation was computed. [2024-11-13 16:57:57,675 INFO L77 FloydHoareUtils]: At program point L561(lines 561 566) the Hoare annotation is: (let ((.cse0 (<= ~num~0 99))) (or (and .cse0 (<= 1 ~newsize~0) (<= ~newsize~0 1)) (and (<= 0 (+ ~newsize~0 2147483646)) .cse0 (< ~newsize~0 1)) (and (< 1 ~newsize~0) .cse0 (<= ~newsize~0 2147483647)))) [2024-11-13 16:57:57,676 INFO L77 FloydHoareUtils]: At program point L559(line 559) the Hoare annotation is: (let ((.cse0 (<= ~num~0 99))) (or (and (<= 0 (+ 2147483647 ~newsize~0)) .cse0 (<= ~newsize~0 1)) (and (< 1 ~newsize~0) (<= ~newsize~0 98) .cse0))) [2024-11-13 16:57:57,676 INFO L77 FloydHoareUtils]: At program point L559-1(line 559) the Hoare annotation is: (let ((.cse0 (<= ~num~0 99))) (or (and (<= 0 (+ 2147483647 ~newsize~0)) .cse0 (<= ~newsize~0 1)) (and (< 1 ~newsize~0) (<= ~newsize~0 98) .cse0))) [2024-11-13 16:57:57,700 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 04:57:57 ImpRootNode [2024-11-13 16:57:57,702 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 16:57:57,703 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 16:57:57,703 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 16:57:57,703 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 16:57:57,704 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 04:57:53" (3/4) ... [2024-11-13 16:57:57,707 INFO L142 WitnessPrinter]: Generating witness for correct program [2024-11-13 16:57:57,718 INFO L925 BoogieBacktranslator]: Reduced CFG by removing 16 nodes and edges [2024-11-13 16:57:57,718 INFO L925 BoogieBacktranslator]: Reduced CFG by removing 7 nodes and edges [2024-11-13 16:57:57,719 INFO L925 BoogieBacktranslator]: Reduced CFG by removing 4 nodes and edges [2024-11-13 16:57:57,719 INFO L925 BoogieBacktranslator]: Reduced CFG by removing 1 nodes and edges [2024-11-13 16:57:57,832 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_698c7fbb-fd50-404f-ac81-c99b212ef307/bin/ukojak-verify-EEHR8qb7sm/witness.graphml [2024-11-13 16:57:57,833 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_698c7fbb-fd50-404f-ac81-c99b212ef307/bin/ukojak-verify-EEHR8qb7sm/witness.yml [2024-11-13 16:57:57,833 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 16:57:57,834 INFO L158 Benchmark]: Toolchain (without parser) took 5152.24ms. Allocated memory is still 117.4MB. Free memory was 91.6MB in the beginning and 50.9MB in the end (delta: 40.7MB). Peak memory consumption was 33.1MB. Max. memory is 16.1GB. [2024-11-13 16:57:57,835 INFO L158 Benchmark]: CDTParser took 1.04ms. Allocated memory is still 117.4MB. Free memory was 71.7MB in the beginning and 71.6MB in the end (delta: 86.6kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 16:57:57,835 INFO L158 Benchmark]: CACSL2BoogieTranslator took 521.26ms. Allocated memory is still 117.4MB. Free memory was 91.4MB in the beginning and 74.7MB in the end (delta: 16.8MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-13 16:57:57,836 INFO L158 Benchmark]: Boogie Procedure Inliner took 51.68ms. Allocated memory is still 117.4MB. Free memory was 74.7MB in the beginning and 73.2MB in the end (delta: 1.4MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 16:57:57,836 INFO L158 Benchmark]: Boogie Preprocessor took 42.07ms. Allocated memory is still 117.4MB. Free memory was 73.2MB in the beginning and 72.0MB in the end (delta: 1.2MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 16:57:57,837 INFO L158 Benchmark]: RCFGBuilder took 555.55ms. Allocated memory is still 117.4MB. Free memory was 72.0MB in the beginning and 56.3MB in the end (delta: 15.7MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-13 16:57:57,837 INFO L158 Benchmark]: CodeCheck took 3843.94ms. Allocated memory is still 117.4MB. Free memory was 56.3MB in the beginning and 55.3MB in the end (delta: 1.0MB). Peak memory consumption was 8.0MB. Max. memory is 16.1GB. [2024-11-13 16:57:57,838 INFO L158 Benchmark]: Witness Printer took 130.63ms. Allocated memory is still 117.4MB. Free memory was 55.3MB in the beginning and 50.9MB in the end (delta: 4.4MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 16:57:57,840 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck: - StatisticsResult: Ultimate CodeCheck benchmark data CFG has 1 procedures, 16 locations, 4 error locations. Started 1 CEGAR loops. OverallTime: 3.3s, OverallIterations: 12, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 437 SdHoareTripleChecker+Valid, 2.0s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 325 mSDsluCounter, 254 SdHoareTripleChecker+Invalid, 1.6s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 118 mSDsCounter, 165 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 889 IncrementalHoareTripleChecker+Invalid, 1054 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 165 mSolverCounterUnsat, 136 mSDtfsCounter, 889 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 1151 GetRequests, 1041 SyntacticMatches, 46 SemanticMatches, 64 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 1920 ImplicationChecksByTransitivity, 1.2s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.2s SatisfiabilityAnalysisTime, 1.0s InterpolantComputationTime, 146 NumberOfCodeBlocks, 146 NumberOfCodeBlocksAsserted, 11 NumberOfCheckSat, 135 ConstructedInterpolants, 0 QuantifiedInterpolants, 347 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 11 InterpolantComputations, 7 PerfectInterpolantSequences, 63/82 InterpolantCoveringCapability, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: No data available, ReuseStatistics: No data available - PositiveResult [Line: 559]: integer overflow can never occur For all program executions holds that integer overflow can never occur at this location - PositiveResult [Line: 559]: integer overflow can never occur For all program executions holds that integer overflow can never occur at this location - PositiveResult [Line: 562]: integer overflow can never occur For all program executions holds that integer overflow can never occur at this location - PositiveResult [Line: 562]: integer overflow can never occur For all program executions holds that integer overflow can never occur at this location - AllSpecificationsHoldResult: All specifications hold 4 specifications checked. All of them hold - InvariantResult [Line: 559]: Location Invariant Derived location invariant: ((((0 <= ((long long) 2147483647 + newsize)) && (num <= 99)) && (newsize <= 1)) || (((1 < newsize) && (newsize <= 98)) && (num <= 99))) - InvariantResult [Line: 558]: Loop Invariant Derived loop invariant: ((0 <= ((long long) 2147483647 + newsize)) && (num <= 99)) * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 1.04ms. Allocated memory is still 117.4MB. Free memory was 71.7MB in the beginning and 71.6MB in the end (delta: 86.6kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 521.26ms. Allocated memory is still 117.4MB. Free memory was 91.4MB in the beginning and 74.7MB in the end (delta: 16.8MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 51.68ms. Allocated memory is still 117.4MB. Free memory was 74.7MB in the beginning and 73.2MB in the end (delta: 1.4MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 42.07ms. Allocated memory is still 117.4MB. Free memory was 73.2MB in the beginning and 72.0MB in the end (delta: 1.2MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 555.55ms. Allocated memory is still 117.4MB. Free memory was 72.0MB in the beginning and 56.3MB in the end (delta: 15.7MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * CodeCheck took 3843.94ms. Allocated memory is still 117.4MB. Free memory was 56.3MB in the beginning and 55.3MB in the end (delta: 1.0MB). Peak memory consumption was 8.0MB. Max. memory is 16.1GB. * Witness Printer took 130.63ms. Allocated memory is still 117.4MB. Free memory was 55.3MB in the beginning and 50.9MB in the end (delta: 4.4MB). There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate proved your program to be correct! [2024-11-13 16:57:57,879 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_698c7fbb-fd50-404f-ac81-c99b212ef307/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: TRUE